@font-face { font-family: 'Cairo'; src: url('/assets/fonts/Cairo.ttf') format('truetype'); font-weight: 200 1000; font-display: swap; }

:root {
  --brand: #1E5B4B; --brand-2: #24695A; --brand-ink: #FFFFFF; --brand-soft: #E3EFEA; --brand-line: #CFE3DB;
  --sun: #C9852E; --sun-soft: #F6E6C8; --sun-ink: #7A4E12;
  --bg: #FBF7F0; --card: #FFFFFF; --text: #1D2A26; --muted: #5B6661; --body: #3E4A45; --line: #E7DED1; --field: #D9CEBE;
  --bad: #B42318; --bad-bg: #FDE8E7; --ok: #1E5B4B;
  --radius: 18px;
  --font: 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); }
img { max-width: 100%; }
.boot { text-align: center; padding: 70px 20px; color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }

.page { max-width: 560px; margin: 0 auto; padding: 0 16px 48px; display: flex; flex-direction: column; gap: 16px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 560px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.logo-name { font-size: 24px; font-weight: 900; color: var(--brand); line-height: 1; }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.bar-acts { display: flex; align-items: center; gap: 8px; }
.pill-btn { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--field); background: var(--card); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text); }
.pill-btn.brand { border: 1.5px solid var(--brand); color: var(--brand); }

/* buttons */
.btn { min-height: 54px; border-radius: 14px; border: 0; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; text-decoration: none; width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.sun { background: var(--sun); color: #1D2A26; }
.btn.line { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.plain { background: transparent; color: var(--text); border: 1.5px solid var(--field); font-weight: 700; font-size: 16px; min-height: 48px; }
.btn.small { min-height: 44px; font-size: 15px; width: auto; }
.link-btn { background: none; border: 0; color: var(--brand); font-weight: 700; min-height: 44px; padding: 0 4px; }
.danger { color: var(--bad); }

/* hero */
.hero { padding: 26px 0 6px; display: flex; flex-direction: column; gap: 14px; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--sun-ink); background: var(--sun-soft); padding: 5px 12px; border-radius: 99px; }
.hero h1 { font-size: 34px; line-height: 1.25; font-weight: 900; }
.hero p { font-size: 17px; color: var(--body); }
.hero-acts { display: flex; gap: 10px; }
.hero-acts .btn { flex: 1; }
.hero-acts .btn.line { flex: none; width: auto; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h2 { font-size: 19px; font-weight: 900; }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.num { width: 28px; height: 28px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.green { background: var(--brand); color: #fff; border: 0; }
.green .muted { color: var(--brand-line); }
.sunny { background: var(--sun-soft); border: 0; color: #4A3209; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--brand-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.tile .k { font-size: 13px; color: var(--brand-line); }
.tile .v { font-size: 17px; font-weight: 800; }
h2.section { font-size: 23px; font-weight: 900; margin-top: 8px; }

.step { display: flex; gap: 14px; }
.step .dot { flex: none; width: 36px; height: 36px; border-radius: 18px; background: var(--sun-soft); color: var(--sun-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step strong { display: block; font-size: 17px; }
.step span { color: var(--body); font-size: 15px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check svg { flex: none; margin-top: 3px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
summary { font-weight: 800; cursor: pointer; min-height: 32px; }
details p { margin-top: 8px; color: var(--body); }

/* forms */
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.in, select.in, textarea.in { min-height: 50px; border: 1.5px solid var(--field); border-radius: 12px; padding: 10px 14px; background: var(--bg); font-size: 16px; width: 100%; }
textarea.in { resize: vertical; min-height: 84px; }
.in:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.in.code { text-align: center; font-size: 28px; font-weight: 800; letter-spacing: 12px; }
.err { color: var(--bad); font-size: 14px; font-weight: 700; }
.tick { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; min-height: 44px; }
.tick input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; margin-top: 3px; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg button { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--card); font-weight: 700; font-size: 16px; }
.seg button[aria-pressed="true"] { border: 2px solid var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 6px 14px; border-radius: 22px; border: 1.5px solid var(--field); background: var(--card); font-weight: 700; font-size: 15px; }
.chip[aria-pressed="true"] { border: 2px solid var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.chip.add { border-style: dashed; color: var(--brand); background: transparent; }
.link-row { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; flex: none; }

/* quote */
div.line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F0E9DD; }
div.line:last-child { border-bottom: 0; }
.thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--brand-soft); object-fit: cover; flex: none; }
.line .name { font-weight: 700; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line .opt { font-size: 13px; color: var(--muted); }
.money { font-weight: 800; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.total { font-size: 32px; font-weight: 900; color: var(--brand); }
.sumrow { display: flex; justify-content: space-between; font-size: 16px; }
.hr { height: 1px; background: var(--line); margin: 4px 0; }

/* timeline */
.tl { display: flex; flex-direction: column; }
.tl-step { display: flex; gap: 14px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; width: 30px; flex: none; }
.tl-dot { width: 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex: none; }
.tl-dot.done { background: var(--brand); }
.tl-dot.now { border: 3px solid var(--sun); background: #FFF6E6; }
.tl-dot.now::after { content: ''; width: 10px; height: 10px; border-radius: 5px; background: var(--sun); }
.tl-dot.todo { border: 2px solid var(--field); background: var(--card); }
.tl-line { width: 2px; flex: 1; min-height: 24px; background: var(--line); }
.tl-line.done { background: var(--brand); }
.tl-text { padding-bottom: 16px; }
.tl-text strong { display: block; font-size: 16px; }
.tl-text.todo strong { color: #8A8F86; }
.photo { width: 100%; border-radius: 14px; display: block; }

.badge { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--sun-soft); color: var(--sun-ink); white-space: nowrap; }
.badge.ok { background: var(--brand-soft); color: var(--brand); }
.badge.off { background: #EEE; color: #555; }
.list-item { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: start; width: 100%; }
.points { font-size: 30px; font-weight: 900; }

.toast { position: fixed; inset-inline: 16px; bottom: 20px; max-width: 520px; margin: 0 auto; background: #1D2A26; color: #fff; padding: 14px 16px; border-radius: 14px; font-weight: 700; z-index: 20; }
.foot { border-top: 1px solid var(--line); margin-top: 18px; padding: 20px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.foot .logo-name { font-size: 20px; }
.notice { padding: 14px 16px; border-radius: 14px; background: var(--sun-soft); color: #4A3209; font-weight: 700; }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.notice.ok { background: var(--brand-soft); color: var(--brand); }
.center { text-align: center; }
@media (min-width: 760px) { .hero h1 { font-size: 42px; } }

/* parts that exist only for a wide screen (the phone keeps the one column above) */
.bar-nav, .bar-cta, .hero-art { display: none; }
.block, .steps, .acct { display: flex; flex-direction: column; gap: 16px; }
.block { scroll-margin-top: 84px; }

/* a computer: a real website, wide sections side by side */
@media (min-width: 900px) {
  .bar-in { max-width: 1160px; padding: 14px 32px; }
  .bar-nav { display: flex; gap: 30px; }
  .bar-nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px; }
  .bar-nav a:hover { color: var(--brand); }
  .bar-cta { display: inline-flex; padding: 0 20px; }

  .page.home { max-width: 1160px; padding: 0 32px 64px; gap: 28px; }
  .page.wide { max-width: 980px; padding: 0 32px 64px; }
  .page.mid { max-width: 760px; padding: 0 32px 64px; }

  .hero-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 44px 0 8px; }
  .home .hero { padding: 0; gap: 20px; }
  .home .hero h1 { font-size: 58px; line-height: 1.15; }
  .home .hero p { font-size: 20px; max-width: 30em; }
  .home .hero-acts .btn { flex: none; width: auto; min-height: 58px; padding: 0 34px; }
  .hero-art { display: block; position: relative; aspect-ratio: 400 / 340; padding: 56px 28px 40px; border-radius: 32px; background: radial-gradient(circle at 30% 25%, #FFFFFF 0, var(--brand-soft) 72%); }
  .art-chip, .art-note { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; font-weight: 800; font-size: 15px; color: var(--brand); box-shadow: 0 8px 22px rgba(30, 91, 75, .12); white-space: nowrap; }
  .art-chip.from { top: 18px; left: 22px; }
  .art-chip.to { bottom: 16px; right: 22px; }
  .art-note { top: 18px; right: 22px; color: var(--text); }
  .art-note svg { width: 18px; height: 18px; }

  .home .prices { padding: 26px 28px; }
  .home .prices .grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .home .tile { padding: 18px; }
  .home .tile .v { font-size: 19px; }

  .home h2.section { font-size: 32px; margin-top: 28px; }
  .home .block { gap: 20px; }
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .steps .step { flex-direction: column; gap: 14px; padding: 26px; }
  .steps .step .dot { width: 48px; height: 48px; border-radius: 24px; font-size: 20px; }
  .steps .step strong { font-size: 19px; margin-bottom: 4px; }
  .whys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .whys .check { flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--body); }
  .whys .check svg { width: 46px; height: 46px; padding: 11px; border-radius: 23px; background: var(--brand-soft); margin: 0; }
  .whys .check strong { display: block; font-size: 18px; color: var(--text); margin-bottom: 4px; }
  .whys .dash { display: none; }
  .faq-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .faq-wrap .ask { flex-direction: column; align-items: stretch; gap: 14px; padding: 26px; margin-top: 92px; }
  .faq-wrap .ask .btn { width: 100%; }
  .foot { margin-top: 36px; flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; }

  .order-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .order-form > * { grid-column: 1 / -1; }
  .order-form > .half { grid-column: auto; align-self: stretch; }
  .order-form > .btn { justify-self: center; width: auto; min-width: 340px; padding: 0 40px; }
  .acct { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
}
