/* The interim page on gostomat.ba until the app's own landing page takes the domain (docs/operations.md). Brand colors
   from docs/brand/README.md; fonts served from our own host, as on the guest pages. */

@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --page: #F6F2EB;
  --alt: #EFEAE3;
  --surface: #FFFDFA;
  --line: #E2DACF;
  --ink: #231D17;
  --ink-2: #5A5047;
  --teal: #12677A;
  --teal-hi: #6CCBDC;
  --deep: #12282D;
  --gold: #E3A83B;
  --bad: #B3261E;
  --good: #2C7A4B;
  --font-display: "Poppins", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 17px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 28px; }
h3 { font-size: 19px; }
p { margin: 0; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--gold); color: var(--deep); font: 600 16px/1 var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .16s cubic-bezier(.23, 1, .32, 1), background-color .16s;
}
.btn:hover { background: #EDB650; }
.btn:active { transform: scale(.97); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal-hi); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

.top { background: var(--deep); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo img { width: 140px; }

.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: 72px 0 96px; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { color: var(--teal-hi); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(38px, 7vw, 68px); max-width: 12ch; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: #D7E6EA; max-width: 36em; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-mark { position: absolute; right: -90px; bottom: -110px; width: 420px; opacity: .14; pointer-events: none; }

.section { padding: 80px 0; scroll-margin-top: 68px; }
.section-alt { background: var(--alt); }

.problems { list-style: none; counter-reset: problem; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.problems li { counter-increment: problem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 26px; }
.problems li::before { content: counter(problem, decimal-leading-zero); display: block; font: 700 14px var(--font-display); color: var(--teal); margin-bottom: 12px; }
.problems h3 { margin-bottom: 8px; }
.problems p, .gains p { color: var(--ink-2); }
.answer { margin-top: 36px; font: 700 clamp(22px, 3vw, 28px)/1.25 var(--font-display); color: var(--teal); }

.gains { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gains li { border-top: 3px solid var(--teal); padding-top: 18px; }
.gains h3 { margin-bottom: 8px; }

.partner { padding: 64px 0 0; }
.partner-box { background: var(--teal); color: #fff; border-radius: 24px; padding: 40px clamp(24px, 5vw, 56px); }
.partner-box h2 { margin-bottom: 14px; }
.partner-box h2 { font-size: clamp(24px, 3.4vw, 34px); max-width: 24em; }
.partner-box p { color: #CFE8EE; font-size: 18px; max-width: 40em; }
.partner-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 44em; }
.partner-list li { position: relative; padding-left: 30px; color: #fff; font-size: 17px; }
.partner-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg);
}

.closing h2 { margin-bottom: 14px; }
.closing p { color: var(--ink-2); font-size: 18px; max-width: 36em; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; }

html:has(.dialog[open]) { overflow: hidden; }
.dialog {
  width: min(520px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px;
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(8, 20, 28, .45);
  opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .22s cubic-bezier(.23, 1, .32, 1), transform .22s cubic-bezier(.23, 1, .32, 1), overlay .22s allow-discrete, display .22s allow-discrete;
}
.dialog[open] { opacity: 1; transform: none; }
@starting-style { .dialog[open] { opacity: 0; transform: translateY(12px) scale(.98); } }
.dialog::backdrop { background: rgba(12, 24, 28, 0); transition: background-color .22s, overlay .22s allow-discrete, display .22s allow-discrete; }
.dialog[open]::backdrop { background: rgba(12, 24, 28, .55); }
@starting-style { .dialog[open]::backdrop { background: rgba(12, 24, 28, 0); } }
@media (prefers-reduced-motion: reduce) { .dialog { transform: none; } }
.dialog-box { padding: 26px 26px 24px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog-head h2 { font-size: 26px; margin: 0; }
.dialog-close {
  display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.dialog-close:hover { background: var(--alt); }
.dialog-close:focus-visible { outline: 3px solid var(--teal-hi); outline-offset: 2px; }
.dialog-intro { color: var(--ink-2); margin: 6px 0 20px; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--ink-2); }
.form input, .form textarea {
  font: 400 16px/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: var(--bad); }
.note { font-size: 14px; color: var(--ink-2); }
.form .btn { justify-self: start; }
.status:empty { display: none; }
.status { font-weight: 600; }
.status.error { color: var(--bad); }
.status.ok { color: var(--good); }

.foot { background: var(--deep); color: #CFE8EE; margin-top: 80px; padding: 32px 0; }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 24px; }
.foot a { color: #CFE8EE; }

.prose { padding: 56px 0 0; max-width: 720px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 24px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
