@font-face {
  font-family: "Mali";
  src: url("./brand/Mali-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mali";
  src: url("./brand/Mali-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --accent: #ff9800;
  --ink: #f5f1e9;
  --muted: #bcb7af;
  --line: rgba(255,255,255,.12);
  --paper: #171716;
  --font: "Mali", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,152,0,.09), transparent 35rem),
    radial-gradient(ellipse at 92% 58%, rgba(255,152,0,.035), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap, .header-inner, .footer-inner { width: min(calc(100% - 48px), 920px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 5; padding: 8px 12px; border: 1px solid var(--accent); border-radius: 6px; background: #10100f; color: white; }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(15,15,14,.58); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.brand img { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.site-nav, .footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; font-size: 14px; }
.site-nav a, .footer-inner nav a { color: var(--muted); transition: color .15s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"], .footer-inner nav a:hover, .footer-inner nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.intro { max-width: 660px; margin: 76px auto 58px; text-align: center; }
.home-wordmark { margin-bottom: 8px; color: var(--paper); -webkit-text-fill-color: var(--paper); font-size: 38px; line-height: 1.2; letter-spacing: 0; -webkit-text-stroke: 1px var(--accent); paint-order: stroke fill; }
.login-tagline { margin: 0 auto 22px; color: #bcb7af; font-size: 14px; line-height: 1.55; }
.app-icon { display: block; width: 116px; height: 116px; margin: 0 auto 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 25px; box-shadow: 0 12px 34px rgba(0,0,0,.38), 0 0 30px rgba(255,152,0,.1); }
h1, h2, p { margin-top: 0; }
h1, h2, h3 { color: var(--accent); }
.brand > span, .footer-brand > span { color: #fff; }
h1 { margin-bottom: 16px; font-size: clamp(30px, 5vw, 42px); line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }
.intro h1 span { display: block; }
.intro h1 .hero-line-secondary { color: #fff; }
.lede { max-width: 570px; margin: 0 auto; color: rgba(255,255,255,.86); font-size: 17px; }

.home-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); align-items: center; gap: clamp(36px, 8vw, 88px); padding: 76px 0 64px; border-bottom: 1px solid var(--line); }
.home-hero-copy { max-width: 600px; }
.home-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.home-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(255,152,0,.55); }
.home-hero h1 { margin-bottom: 20px; font-size: clamp(38px, 5.4vw, 56px); line-height: 1.16; letter-spacing: -.045em; }
.home-lede { max-width: 510px; margin-bottom: 27px; color: rgba(255,255,255,.82); font-size: 16px; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; border-radius: 7px; transition: transform .15s ease, filter .15s ease; }
.store-badge img { display: block; width: 170px; height: auto; }
.store-badge:hover { filter: brightness(1.08); transform: translateY(-1px); }
.home-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border: 1px solid rgba(255,152,0,.42); border-radius: 9px; color: var(--accent); font-size: 13px; font-weight: 700; transition: background-color .15s ease, color .15s ease; }
.home-cta:hover { background: var(--accent); color: #171716; }
.home-brand-card { display: flex; flex-direction: column; align-items: center; padding: 34px 20px 25px; border: 1px solid rgba(255,152,0,.4); border-radius: 18px; background: linear-gradient(145deg, rgba(255,152,0,.065), rgba(0,0,0,.5) 58%); box-shadow: 0 16px 45px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04); text-align: center; }
.home-brand-card .app-icon { width: 104px; height: 104px; margin: 0 0 17px; border: 1px solid rgba(255,255,255,.24); border-radius: 23px; box-shadow: 0 10px 28px rgba(0,0,0,.38); }
.home-wordmark { margin-bottom: 6px; color: var(--paper); -webkit-text-fill-color: var(--paper); font-size: 31px; line-height: 1.2; letter-spacing: 0; -webkit-text-stroke: 1px var(--accent); paint-order: stroke fill; }
.login-tagline { margin: 0; color: #bcb7af; font-size: 12px; line-height: 1.55; }
.home-workflow { padding: 50px 0 68px; }
.section-heading { margin-bottom: 22px; }
.section-heading .home-kicker { margin-bottom: 8px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(23px, 3.2vw, 29px); line-height: 1.35; letter-spacing: -.025em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.feature { min-height: 195px; padding: 23px; }
.feature img { display: block; width: 34px; height: 34px; object-fit: contain; margin-bottom: 16px; }
.feature h2 { margin-bottom: 7px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.home-features { margin-bottom: 0; }
.home-feature { min-height: 220px; padding: 23px; display: flex; flex-direction: column; align-items: center; border-color: rgba(255,152,0,.32); border-radius: 13px; background: rgba(0,0,0,.48); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); text-align: center; }
.home-feature img { width: 48px; height: 48px; margin: 0 0 18px; object-fit: contain; }
.home-feature h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; }
.home-feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.feature, .placeholder, .policy-card, .deletion-card, .sales-card {
  border: 1px solid rgba(255,152,0,.38);
  border-radius: 16px;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 12px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035);
  color: var(--ink);
}
.feature { transition: border-color .18s ease, transform .18s ease, background-color .18s ease; }
.feature:hover { transform: translateY(-3px); border-color: rgba(255,152,0,.66); background-color: rgba(0,0,0,.62); }
.email-link { color: var(--accent); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.email-link:hover { color: #ffc266; }

.document { min-height: calc(100vh - 166px); padding-top: 64px; padding-bottom: 76px; }
.back-link { display: inline-block; margin-bottom: 38px; color: var(--muted); font-size: 14px; text-decoration: underline; text-decoration-color: rgba(255,255,255,.32); text-underline-offset: 4px; }
.back-link:hover { color: var(--accent); }
.document h1 { margin-bottom: 34px; font-size: clamp(28px, 5vw, 36px); }
.placeholder { max-width: 680px; padding: 26px 28px; }
.placeholder .eyebrow { margin-bottom: 6px; }
.placeholder h2 { margin-bottom: 9px; font-size: 19px; line-height: 1.45; }
.placeholder p:not(.eyebrow) { max-width: 590px; margin-bottom: 17px; color: var(--muted); font-size: 14px; }

.policy-intro { max-width: 760px; margin-bottom: 25px; color: var(--muted); }
.draft-notice { max-width: 760px; margin-bottom: 22px; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 14px; }
.policy-card { max-width: 860px; padding: 28px; }
.policy-card > p, .policy-card li, .policy-card td { color: rgba(255,255,255,.84); font-size: 14px; }
.policy-card h2 { margin: 34px 0 10px; font-size: 22px; line-height: 1.4; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card h3 { margin: 22px 0 5px; font-size: 16px; }
.policy-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-card a:hover { color: #ffc266; }
.policy-card strong { color: #fff; }
.policy-table { width: 100%; margin: 16px 0 22px; border-collapse: collapse; table-layout: fixed; }
.policy-table th, .policy-table td { padding: 12px 10px; border: 1px solid rgba(255,255,255,.14); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.policy-table th { color: var(--accent); font-size: 14px; }
.policy-card ul { padding-left: 21px; }
.policy-card li { padding-left: 3px; margin-bottom: 8px; }

.deletion-card { max-width: 760px; padding: 26px 28px; }
.deletion-card + .deletion-card { margin-top: 20px; }
.deletion-card h2 { margin: 26px 0 8px; font-size: 20px; }
.deletion-card h2:first-child { margin-top: 0; }
.deletion-card p, .deletion-card li { color: rgba(255,255,255,.84); font-size: 14px; }
.deletion-card ol { padding-left: 22px; }
.deletion-card li { padding-left: 4px; margin-bottom: 10px; }
.deletion-warning { margin-top: 22px; padding: 15px 17px; border: 1px solid rgba(255,152,0,.35); border-radius: 10px; background: rgba(255,152,0,.07); color: rgba(255,255,255,.86); }
.deletion-warning strong { color: var(--accent); }
.deletion-card { max-width: 680px; }
.deletion-card h2 { margin: 0 0 8px; font-size: 22px; }
.deletion-card h3 { margin: 24px 0 7px; font-size: 16px; }
.deletion-card .local-data-list { margin: 0; padding-left: 22px; }
.deletion-card .local-data-list li { margin-bottom: 5px; }
.deletion-form { display: grid; gap: 20px; margin-top: 24px; }
.deletion-field { display: grid; gap: 8px; }
.deletion-field label { color: #fff; font-size: 14px; font-weight: 700; }
.deletion-field input { min-height: 46px; width: 100%; padding: 10px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(255,255,255,.045); color: #fff; font: inherit; }
.deletion-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.deletion-confirm { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.82); font-size: 13px; }
.deletion-confirm input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.deletion-submit { justify-self: start; min-height: 44px; padding: 9px 18px; border: 1px solid rgba(255,152,0,.7); border-radius: 8px; background: var(--accent); color: #171716; cursor: pointer; font: 700 14px var(--font); transition: filter .15s ease, transform .15s ease; }
.deletion-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.deletion-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: var(--muted); font-size: 13px; }

.sales-card { max-width: 680px; padding: 28px; }
.sales-card > img { display: block; width: 40px; height: 40px; margin-bottom: 16px; }
.sales-card h2 { margin-bottom: 9px; font-size: 22px; }
.sales-card p { max-width: 590px; color: rgba(255,255,255,.82); font-size: 15px; }
.sales-card p:last-child { margin-bottom: 0; }
.sales-card strong { color: #fff; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { gap: 7px; font-size: 15px; }
.footer-brand img { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; object-fit: cover; }
.footer-inner nav { gap: 20px; font-size: 12px; }
.copyright { color: #777; font-size: 12px; white-space: nowrap; }

@media (max-width: 680px) {
  .wrap, .header-inner, .footer-inner { width: min(calc(100% - 36px), 520px); }
  .header-inner { min-height: 0; padding-block: 15px 12px; align-items: flex-start; flex-direction: column; gap: 11px; }
  .brand { gap: 9px; font-size: 18px; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .site-nav { width: 100%; gap: 10px 22px; font-size: 13px; }
  .home-hero { grid-template-columns: 1fr; gap: 31px; padding: 46px 0 38px; }
  .home-hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .home-lede { font-size: 15px; }
  .home-brand-card { width: min(100%, 360px); justify-self: center; padding: 25px 18px 21px; }
  .home-brand-card .app-icon { width: 88px; height: 88px; border-radius: 20px; }
  .home-workflow { padding: 36px 0 46px; }
  .section-heading { margin-bottom: 17px; }
  .features { grid-template-columns: 1fr; gap: 11px; margin-bottom: 0; }
  .home-feature { min-height: 0; padding: 19px; }
  .home-feature img { width: 46px; height: 46px; margin-bottom: 14px; }
  .document { min-height: calc(100vh - 220px); padding-top: 40px; }
  .back-link { margin-bottom: 26px; }
  .placeholder { padding: 21px 18px; }
  .policy-card { padding: 20px 16px; }
  .deletion-card { padding: 22px 19px; }
  .sales-card { padding: 22px 19px; }
  .policy-card h2 { margin-top: 28px; font-size: 19px; }
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; width: 100%; }
  .policy-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.policy-table tr { margin-bottom: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; }
  .policy-table td { border: 0; padding: 9px 11px; }
  .policy-table td + td { border-top: 1px solid rgba(255,255,255,.14); }
  .policy-table td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--accent); font-weight: 700; }
  .footer-inner { padding-block: 15px; flex-wrap: wrap; justify-content: flex-start; }
  .footer-inner nav { width: 100%; order: 3; gap: 10px 20px; }
  .copyright { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; transform: none !important; }
}
