/* The Atlena site (D176): one static page, no script. Same tokens as the product (docs/ux/tokens.json), fonts served from here. */

@font-face { font-family: Outfit; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Outfit; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Outfit; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/outfit-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #ecede8;
  --border: #dcddd7;
  --ink: #16181a;
  --ink-2: #5b6068;
  --accent: #1f5c45;
  --accent-hover: #174a37;
  --accent-subtle: #e4efe9;
  --mint: #4cc38a;
  --display: Outfit, Inter, system-ui, sans-serif;
  --text: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
  --shadow-card: 0 0 0 1px rgb(16 18 20 / 0.07), 0 1px 2px rgb(16 18 20 / 0.04), 0 8px 24px rgb(16 18 20 / 0.06);
  --shadow-lift: 0 0 0 1px rgb(16 18 20 / 0.08), 0 2px 4px rgb(16 18 20 / 0.05), 0 24px 60px rgb(16 18 20 / 0.16);
  --gutter: 20px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color 160ms, border-color 160ms, transform 160ms, box-shadow 160ms; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgb(31 92 69 / 0.28); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-subtle); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(246 246 243 / 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; }
.brand__logo { display: block; width: auto; height: 30px; }
.nav { display: none; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.top__cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.top__login { font-weight: 500; font-size: 15px; text-decoration: none; }
.top__login:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; background: radial-gradient(900px 520px at 88% 0%, var(--accent-subtle), transparent 70%), radial-gradient(600px 400px at 0% 30%, #f0efe6, transparent 70%); }
.hero__in { display: grid; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-subtle); color: var(--accent); font: 600 13px/1.2 var(--text); letter-spacing: 0.02em; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h1 { font: 700 clamp(40px, 7.4vw, 76px)/1.02 var(--display); letter-spacing: -0.025em; margin-top: 22px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--ink-2); max-width: 36em; }
.hero__visual { position: relative; padding-bottom: 0; }

.hero__phone { width: min(72%, 290px); margin: 8px auto 0; border-radius: 38px 38px 0 0; padding-bottom: 0; }
.hero__phone img { border-radius: 30px 30px 0 0; }
.browser { display: none; background: var(--surface); border-radius: 14px 14px 0 0; box-shadow: var(--shadow-lift); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c6c8c1; }
.browser__bar span { margin-left: 12px; flex: 1; max-width: 260px; height: 20px; padding: 0 12px; border-radius: 999px; background: #f6f6f3; font: 500 12px/20px var(--text); color: var(--ink-2); overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; height: auto; }

.phone { background: var(--ink); border-radius: 38px; padding: 9px; box-shadow: var(--shadow-lift); }
.phone img { width: 100%; height: auto; border-radius: 30px; }

/* Strip: what it replaces */
.strip { padding: 44px 0 40px; }
.strip__in { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.strip p { font: 500 17px/1.5 var(--text); color: var(--ink-2); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgb(91 96 104 / 0.5); }

/* Sections */
.section { padding: 72px 0; }
.kicker { font: 600 13px/1.2 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h2 { margin-top: 12px; font: 600 clamp(30px, 4.6vw, 48px)/1.08 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.sub { margin-top: 16px; max-width: 38em; color: var(--ink-2); font-size: 18px; }
.head { max-width: 720px; }
.head--center { margin: 0 auto; text-align: center; }
.head--center .sub { margin-left: auto; margin-right: auto; }

/* Feature rows */
.row { display: grid; gap: 28px; align-items: center; margin-top: 64px; }
.row:first-of-type { margin-top: 48px; }
.row h3 { font: 600 clamp(24px, 3.2vw, 32px)/1.15 var(--display); letter-spacing: -0.015em; }
.row p { margin-top: 14px; color: var(--ink-2); }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%231f5c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.shot { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.shot img { width: 100%; height: auto; }
.shot--stack { display: grid; gap: 0; }
.shot--stack img + img { border-top: 1px solid var(--border); }

/* Small features */
.cards { display: grid; gap: 14px; margin-top: 56px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.card svg { width: 26px; height: 26px; color: var(--accent); }
.card h3 { margin-top: 16px; font: 600 19px/1.25 var(--display); }
.card p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* Client app: dark band */
.dark { background: var(--ink); color: #fff; }
.dark .kicker { color: var(--mint); }
.dark .sub, .dark .ticks li { color: #c9ccd0; }
.dark .ticks li::before { background-color: rgb(76 195 138 / 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%234cc38a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dark__in { display: grid; gap: 48px; align-items: center; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.phones .phone { width: min(44%, 250px); box-shadow: 0 24px 60px rgb(0 0 0 / 0.5); }
.phones .phone + .phone { margin-top: 56px; }
.dark .note { margin-top: 22px; font-size: 14px; color: #a3a9b0; }

/* Trust */
.trust { display: grid; gap: 14px; margin-top: 48px; }
.trust li { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.trust svg { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--accent); }
.trust strong { display: block; font: 600 17px/1.3 var(--display); }
.trust span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* Prices */
.prices { background: var(--surface-2); }
.plans { display: grid; gap: 16px; margin-top: 48px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-card); }
.plan--lead { box-shadow: 0 0 0 2px var(--accent), 0 16px 40px rgb(31 92 69 / 0.16); }
.plan__tag { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 12px/1.4 var(--text); letter-spacing: 0.03em; }
.plan h3 { font: 600 22px/1.2 var(--display); }
.plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 700 46px/1 var(--display); letter-spacing: -0.02em; }
.plan__price span { color: var(--ink-2); font-size: 15px; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%231f5c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan li.off { color: var(--ink-2); }
.plan li.off::before { background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9h7' fill='none' stroke='%238a9097' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { margin-top: auto; }
.included { margin-top: 36px; padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.included h3 { font: 600 19px/1.3 var(--display); }
.included ul { margin-top: 16px; display: grid; gap: 8px 28px; font-size: 15.5px; }
.included li { position: relative; padding-left: 24px; color: var(--ink-2); }
.included li::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.money { margin-top: 22px; font-size: 14px; color: var(--ink-2); text-align: center; }
.money a { color: var(--accent); font-weight: 600; }

/* FAQ */
.faq { max-width: 780px; margin: 44px auto 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 4v14M4 11h14' stroke='%231f5c45' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 24px; max-width: 40em; color: var(--ink-2); }
.faq a { color: var(--accent); font-weight: 600; }

/* Final call */
.final { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.final img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 18 20 / 0.9) 10%, rgb(16 18 20 / 0.55) 60%, rgb(16 18 20 / 0.35)); }
.final .section { padding-top: 96px; padding-bottom: 96px; }
.final h2 { max-width: 14em; }
.final p { margin-top: 16px; max-width: 30em; color: #d7dade; font-size: 18px; }
.final .btn { margin-top: 30px; }

/* Footer */
.foot { padding: 40px 0 48px; background: var(--ink); color: #a3a9b0; font-size: 14px; border-top: 1px solid #2c3135; }
.foot__in { display: flex; flex-direction: column; gap: 22px; }
.foot .brand { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

/* Quiet entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero__visual { animation: rise 700ms cubic-bezier(0.2, 0, 0, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: 60ms; }
  .hero__copy > :nth-child(3) { animation-delay: 120ms; }
  .hero__copy > :nth-child(4) { animation-delay: 180ms; }
  .hero__copy > :nth-child(5) { animation-delay: 220ms; }
  .hero__visual { animation-delay: 200ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .included ul { grid-template-columns: repeat(2, 1fr); }
  .foot__in { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .browser { display: block; }
  .hero__phone { display: none; }
  .section { padding: 104px 0; }
  .hero { padding-top: 72px; }
  .hero__in { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { max-width: 900px; }
  .row { grid-template-columns: 1fr 1.15fr; gap: 64px; }
  .row--flip { grid-template-columns: 1.15fr 1fr; }
  .row--flip .row__text { order: 2; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .dark__in { grid-template-columns: 1fr 1fr; gap: 80px; }
  .plans { grid-template-columns: repeat(4, 1fr); }
  .plan { padding: 26px 24px; }
  .included ul { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .strip__in { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .strip .chips { justify-content: flex-end; max-width: 520px; }
}

@media (min-width: 1100px) {
  .hero { padding-top: 0; }
  .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: end; }
  .hero__copy { padding: 96px 0 88px; }
  .hero__copy h1 { font-size: clamp(52px, 4.9vw, 68px); }
  .hero__visual { width: 128%; }
}

.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Legal pages (privacy, account deletion) */
.legal { padding: 56px 0 72px; }
.legal__in { max-width: 720px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-top: 0; }
.legal h2 { font: 700 22px/1.25 var(--display); margin-top: 40px; }
.legal p, .legal ul, .legal ol { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .meta { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid #e4e4df; }
