:root {
  --orange: #f97316;
  --orange-dark: #c2410c;
  --ink: #1c1917;
  --muted: #6b7280;
  --line: #e7e5e4;
  --cream: #fff7ed;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(124, 45, 18, .10);
  --radius: 20px;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; }
img, svg { max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; text-decoration: none; font-size: .95rem; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 900; letter-spacing: 0; box-shadow: 0 6px 16px rgba(249,115,22,.3); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: .95rem; font-weight: 600; }
.nav-links a { text-decoration: none; color: #44403c; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--orange-dark); }
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 10%, #ffedd5 0, transparent 45%), linear-gradient(180deg, #fff 0, #fff7ed 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 80px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 88px 0 96px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .74rem; color: var(--orange-dark); margin: 0 0 12px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 16px; }
h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); font-weight: 850; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.lede { font-size: 1.14rem; color: #57534e; max-width: 58ch; }
.muted { color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 750; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(249,115,22,.28); }
.btn.primary:hover { background: var(--orange-dark); }
.btn.ghost { background: #fff; border-color: var(--line); }
.btn:disabled { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }
.trust-note { margin-top: 20px; font-size: .86rem; color: var(--muted); }
.link { color: var(--orange-dark); font-weight: 700; }

.hero-art { display: grid; place-items: center; min-height: 400px; }
.phone-stack { position: relative; width: 320px; height: 380px; animation: float 7s ease-in-out infinite; }
.phone { position: absolute; width: 190px; height: 340px; border: 8px solid #1c1917; border-radius: 30px; background: #fff; box-shadow: var(--shadow); padding: 16px; }
.phone-a { left: 0; top: 20px; transform: rotate(-7deg); }
.phone-b { right: 0; top: 0; transform: rotate(7deg); }
.phone-notch { display: block; width: 54px; height: 10px; border-radius: 999px; background: #1c1917; margin: 0 auto 18px; }
.phone-screen .brand-mark { width: 42px; height: 42px; margin-bottom: 18px; }
.line { height: 9px; border-radius: 999px; background: #fed7aa; margin: 10px 0; }
.line.w70 { width: 70%; }.line.w60 { width: 60%; }.line.w80 { width: 80%; }.line.w45 { width: 45%; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.tile-grid i { display: block; height: 50px; border-radius: 12px; background: linear-gradient(135deg, #ffedd5, #fdba74); }

.section { padding: 86px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; animation: rise .6s ease both; }
.app-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(124,45,18,.16); border-color: #fdba74; }
.app-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--orange-dark); font-size: 1.6rem; font-weight: 900; }
.app-card h3 { margin: 0; font-size: 1.3rem; }
.app-card p { margin: 0; color: var(--muted); min-height: 4.8em; }
.app-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .88rem; }
.app-meta li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.app-meta strong { color: #44403c; font-weight: 700; text-align: right; }
.badge { align-self: flex-start; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: #f5f5f4; color: #57534e; }
.badge.available { background: #dcfce7; color: #166534; }
.app-card .btn { margin-top: auto; width: 100%; }
.app-card.focused { outline: 3px solid var(--orange); outline-offset: 4px; }
.nav-download { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.status-message { text-align: center; color: var(--muted); margin-top: 22px; }
.status-message.error { color: #b91c1c; }
.skeleton-card { height: 380px; border-radius: var(--radius); background: linear-gradient(100deg, #f5f5f4 30%, #fff7ed 50%, #f5f5f4 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.download-result { margin-top: 28px; padding: 22px; border-radius: 16px; background: var(--cream); border: 1px solid #fed7aa; }
.download-result code { word-break: break-all; }
.progress-track { height: 8px; background: #ffedd5; border-radius: 999px; overflow: hidden; margin: 12px 0; }
.progress-bar { height: 100%; width: 0; background: var(--orange); transition: width .2s; }

.benefits { background: #fafaf9; border-block: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-grid article { padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.benefit-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 900; margin-bottom: 16px; }
.install-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.install-strip { background: #1c1917; color: #fff; }
.install-strip .muted { color: #d6d3d1; }
.install-strip .eyebrow { color: #fdba74; }
.faq-mini { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: #fff; }
summary { cursor: pointer; font-weight: 750; }
details p { margin: 12px 0 0; color: var(--muted); }
.page-hero { padding: 72px 0 30px; background: linear-gradient(180deg, #fff7ed, #fff); }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.steps article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 12px; }
.notice { background: var(--cream); }
.contact-card, .faq-page { max-width: 760px; }
.notice-inline { display: inline-block; padding: 12px 16px; background: #fff7ed; border-left: 4px solid var(--orange); border-radius: 8px; }

.site-footer { background: #1c1917; color: #e7e5e4; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.footer-grid a { display: block; color: #d6d3d1; text-decoration: none; margin: 8px 0; }
.footer-grid h4 { color: #fff; font-size: 1rem; }
.site-footer .muted { color: #a8a29e; }
.footer-bottom { border-top: 1px solid #44403c; margin-top: 36px; padding-top: 20px; font-size: .86rem; color: #a8a29e; }
.footer-bottom a { color: #fdba74; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-art { min-height: 320px; }
  .app-grid, .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .install-grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .nav-download { display: none; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 72px 0 auto 0; background: #fff; padding: 20px; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 62px 0; }
  .phone-stack { transform: scale(.86); }
  .app-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
