/*
 * outfitarhitect.com — landing page (RO /ro/, EN /en/).
 * Palette and fonts mirror packages/shared/src/brand.config.ts
 * (BRAND_COLORS_LIGHT, BRAND_FONTS) — keep them in sync with the app.
 */
:root {
  --cream: #f4ede4;
  --cream-2: #ebe1d3;
  --paper: #fbf8f3;
  --ink: #1a1612;
  --ink-2: #26201a;
  --ink-soft: #3d352c;
  --muted: #8b7e6e;
  --line: #d4c5b0;
  --line-dark: #3a322a;
  --rust: #b04a2a;
  --rust-deep: #8a3a20;
  --sage: #6b7a5a;
  --gold: #c9a961;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
em, .it { font-style: italic; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--rust); }
.dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-soft); max-width: 620px; }
.dark .lead { color: #d8cdbd; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(244, 237, 228, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: rgba(212, 197, 176, .6); }
.site-header.on-dark:not(.scrolled) { color: var(--cream); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.on-dark:not(.scrolled) .wordmark { color: var(--cream); }
.wordmark .top { font: 300 23px/1 var(--serif); letter-spacing: .16em; }
.wordmark .bottom { font: 500 8px/1 var(--sans); letter-spacing: .62em; margin-top: 5px; padding-left: .62em; color: var(--gold); }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .85; }
.lang a { text-decoration: none; font: 600 12px/1 var(--sans); letter-spacing: .08em; padding: 7px 10px; border-radius: 999px; }
.lang a[aria-current='true'] { background: var(--ink); color: var(--cream); }
.on-dark:not(.scrolled) .lang a[aria-current='true'] { background: var(--cream); color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 15px 26px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 10px 30px -12px rgba(176, 74, 42, .7); }
.btn-primary:hover { background: var(--rust-deep); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- hero */
.dark { background: var(--ink); color: #d8cdbd; }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.hero { position: relative; margin-top: -72px; padding: 150px 0 110px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; background: radial-gradient(closest-side, rgba(201, 169, 97, .20), transparent 70%); z-index: -1; }
.hero::after { content: ''; position: absolute; left: -15%; bottom: -35%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, rgba(176, 74, 42, .22), transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.2vw, 96px); line-height: .98; margin: 22px 0 26px; font-weight: 300; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero .lead { margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--cream); color: var(--ink); border-radius: 16px; padding: 11px 20px 11px 16px; text-decoration: none; min-width: 190px; transition: transform .25s var(--ease), box-shadow .25s; position: relative; }
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font: 500 11px/1.1 var(--sans); opacity: .7; letter-spacing: .02em; }
.store strong { display: block; font: 600 17px/1.15 var(--sans); }
.light-section .store { background: var(--ink); color: var(--cream); }
.price-note { margin-top: 22px; font-size: 14.5px; opacity: .8; display: flex; gap: 18px; flex-wrap: wrap; }
.price-note span { display: inline-flex; align-items: center; gap: 7px; }
.price-note span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------------------------------------------------------------- phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 300px; aspect-ratio: 300 / 620; border-radius: 46px; background: #0e0c0a; padding: 11px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1.5px #3a322a inset, 0 0 0 1px #000; flex: none; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0e0c0a; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--cream); color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.screen.ink { background: var(--ink); color: #d8cdbd; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px 0; font: 600 11.5px/1 var(--sans); color: var(--ink); height: 40px; }
.screen.ink .sb { color: var(--cream); }
.sb i { display: inline-block; width: 22px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.sb i::after { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.sc { padding: 12px 16px 0; }
.s-eyebrow { font: 600 8px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.s-title { font: italic 400 25px/1.05 var(--serif); color: var(--ink); margin: 6px 0 4px; }
.screen.ink .s-title { color: var(--cream); }
.s-sub { font-size: 10.5px; color: var(--muted); }
.weather { margin-top: 12px; background: var(--ink); color: var(--cream); border-radius: 18px; padding: 14px; }
.weather .row { display: flex; justify-content: space-between; align-items: flex-start; }
.weather .temp { font: 300 40px/1 var(--serif); }
.weather .cond { font-size: 10.5px; margin-top: 4px; opacity: .85; }
.weather .city { font-size: 9.5px; opacity: .65; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-dark); }
.weather .event { display: flex; align-items: center; gap: 7px; font-size: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-dark); }
.weather .event b { color: var(--gold); font-weight: 600; }
.weather svg { width: 34px; height: 34px; color: var(--gold); }
.s-h { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 8px; }
.s-h strong { font: italic 400 16px/1 var(--serif); color: var(--ink); }
.s-h span { font: 600 7.5px/1 var(--sans); letter-spacing: .18em; color: var(--muted); }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ocard { background: var(--paper); border: 1px solid #e4d9ca; border-radius: 14px; padding: 5px; }
.ocard p { padding: 6px 3px 2px; font-size: 8.5px; line-height: 1.3; color: var(--muted); }
.ocard p b { display: block; font-size: 9.5px; font-weight: 600; color: var(--ink); }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.collage span { background: var(--cream-2); display: grid; place-items: center; overflow: hidden; }
.collage img { width: 88%; height: 88%; object-fit: contain; }
.why { margin-top: 9px; background: var(--paper); border: 1px solid #e4d9ca; border-radius: 12px; padding: 8px 10px; font-size: 9px; line-height: 1.4; color: var(--ink-soft); }
.why b { color: var(--gold); font-weight: 400; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: rgba(251, 248, 243, .96); border-top: 1px solid #e4d9ca; display: flex; justify-content: space-around; align-items: flex-start; padding: 8px 6px 0; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; font: 500 7.5px/1 var(--sans); color: var(--muted); width: 20%; }
.tabbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar span.on { color: var(--rust); }
.tabbar span.on svg { fill: rgba(176, 74, 42, .14); }

/* floating chips around the hero phone */
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(251, 248, 243, .96); color: var(--ink); border-radius: 16px; padding: 11px 14px; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .65); font-size: 13px; line-height: 1.3; max-width: 240px; }
.chip b { display: block; font-weight: 600; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--cream-2); color: var(--rust); }
.chip .ic svg { width: 18px; height: 18px; }
.chip-1 { top: 1%; left: -18%; }
.chip-2 { top: 44%; right: -10%; }
.chip-3 { bottom: 8%; left: -12%; }
.swatches { display: flex; gap: 4px; margin-top: 5px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06) inset; }
.float { animation: float 7s ease-in-out infinite; }
.float.d2 { animation-delay: -2.4s; }
.float.d3 { animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------------------------------------------------------------- generic sections */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { font-size: clamp(36px, 5vw, 62px); line-height: 1.04; margin: 18px 0 20px; font-weight: 300; }
.section-head h2 em { color: var(--rust); }
.dark .section-head h2 em { color: var(--gold); }

/* marquee of benefits */
.ticker { background: var(--ink-2); color: var(--cream); border-block: 1px solid var(--line-dark); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font: italic 400 22px/1 var(--serif); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.ticker span::after { content: '✦'; font-style: normal; font-size: 13px; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* problem / promise */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise article { background: var(--paper); border: 1px solid #e6dccd; border-radius: var(--radius); padding: 30px; }
.promise .num { font: italic 300 54px/1 var(--serif); color: var(--rust); }
.promise h3 { font-size: 23px; margin: 16px 0 10px; }
.promise p { font-size: 15.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: -13px; left: 0; background: var(--cream); padding-right: 14px; font: 600 12px/26px var(--sans); letter-spacing: .2em; color: var(--rust); }
.step h3 { font-size: 27px; line-height: 1.15; margin-bottom: 12px; }
.step p { font-size: 15.5px; }
.step ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.step li { display: flex; gap: 9px; align-items: baseline; }
.step li::before { content: '—'; color: var(--gold); }

/* color analysis */
.color { overflow: hidden; }
.color-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.season-card { background: var(--paper); border: 1px solid #e6dccd; border-radius: 28px; padding: 30px; box-shadow: 0 40px 80px -50px rgba(26, 22, 18, .45); }
.season-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.season-head h3 { font: italic 400 34px/1.05 var(--serif); }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: var(--cream); padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 24px; }
.trait { background: var(--cream); border-radius: 14px; padding: 12px; font-size: 12.5px; }
.trait small { display: block; font: 600 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.trait i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 6px; }
.palette-label { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; }
.palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.palette i { aspect-ratio: 1; border-radius: 12px; display: block; transition: transform .6s var(--ease), opacity .6s; }
.js [data-palette]:not(.revealed) .palette i { transform: scale(.4); opacity: 0; }
.avoid { display: flex; gap: 8px; margin-top: 10px; }
.avoid i { width: 30px; height: 30px; border-radius: 10px; display: block; position: relative; }
.avoid i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 46%, rgba(26, 22, 18, .7) 47%, rgba(26, 22, 18, .7) 53%, transparent 54%); border-radius: 10px; }
.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

/* styles strip */
.styles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.style-card { position: relative; border-radius: 18px; overflow: hidden; background: #e8dfd3; aspect-ratio: 3 / 4.2; }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.style-card:hover img { transform: scale(1.05); }
.style-card span { position: absolute; left: 10px; bottom: 10px; background: rgba(251, 248, 243, .92); color: var(--ink); font: 600 12px/1 var(--sans); padding: 7px 10px; border-radius: 999px; }

/* features bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; min-height: 250px; display: flex; flex-direction: column; }
.tile h3 { font-size: 26px; line-height: 1.12; margin: 18px 0 10px; }
.tile p { font-size: 15px; color: #bfb3a2; max-width: 440px; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(201, 169, 97, .12); color: var(--gold); }
.tile .ico svg { width: 22px; height: 22px; }
.t-a { grid-column: span 4; }
.t-b { grid-column: span 2; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.t-f { grid-column: span 3; }
.t-g { grid-column: span 3; }
.tile.accent { background: linear-gradient(150deg, var(--rust) 0%, var(--rust-deep) 100%); border-color: transparent; }
.tile.accent p { color: #f1dccf; }
.tile.accent .ico { background: rgba(255, 255, 255, .16); color: #fff; }
.week { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { background: rgba(244, 237, 228, .06); border: 1px solid var(--line-dark); border-radius: 14px; padding: 10px 6px; text-align: center; font-size: 11.5px; }
.day b { display: block; color: var(--cream); font-weight: 600; margin-bottom: 6px; }
.day .dot { width: 22px; height: 22px; border-radius: 50%; margin: 6px auto 0; }
.chat { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; font-size: 13.5px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; }
.tile .bubble.me { justify-self: end; background: var(--cream); color: var(--ink); border-bottom-right-radius: 5px; }
.tile .bubble.ai { background: rgba(244, 237, 228, .08); border: 1px solid var(--line-dark); color: #e3d8c8; border-bottom-left-radius: 5px; }
.notif { margin-top: auto; padding-top: 18px; }
.notif .card { background: rgba(244, 237, 228, .94); color: var(--ink); border-radius: 18px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.35; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); }
.notif .app { width: 34px; height: 34px; border-radius: 9px; background: var(--rust); flex: none; display: grid; place-items: center; color: #fff; font: italic 400 15px/1 var(--serif); }
.notif small { color: var(--muted); }
.mini-wardrobe { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-wardrobe figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--cream-2); overflow: hidden; display: grid; place-items: center; }
.mini-wardrobe img { width: 84%; height: 84%; object-fit: contain; }
.mini-wardrobe figcaption { position: absolute; left: 5px; bottom: 5px; font: 600 8.5px/1 var(--sans); color: var(--cream); background: rgba(26, 22, 18, .72); padding: 3px 5px; border-radius: 5px; }

/* outfit trio, silhouettes */
.looks-row { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.looks-row figure { margin: 0; background: rgba(244, 237, 228, .05); border: 1px solid var(--line-dark); border-radius: 18px; padding: 8px; }
.looks-row .collage { border-radius: 12px; border-color: transparent; }
.looks-row figcaption { padding: 10px 4px 2px; font-size: 12.5px; line-height: 1.35; color: #bfb3a2; }
.looks-row figcaption b { display: block; color: var(--cream); font-weight: 600; font-size: 13.5px; }
.shapes { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.shapes span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 13px; color: #e3d8c8; background: rgba(244, 237, 228, .04); }
.shapes svg { width: 18px; height: 18px; fill: rgba(201, 169, 97, .25); stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; }

/* morning timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line); }
.tl { padding-right: 24px; }
.tl .t { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); letter-spacing: .08em; color: var(--rust); background: var(--cream); padding-right: 12px; position: relative; }
.tl .t::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--cream); background: var(--rust); box-shadow: 0 0 0 1px var(--rust); }
.tl h3 { font-size: 22px; margin: 18px 0 8px; }
.tl p { font-size: 15px; }

/* privacy */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust article { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid #e6dccd; }
.trust h3 { font-size: 20px; margin: 14px 0 8px; }
.trust p { font-size: 14.5px; }
.trust .ico { color: var(--sage); }
.trust .ico svg { width: 26px; height: 26px; }

/* pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.plan { background: var(--ink); color: #d8cdbd; border-radius: 30px; padding: 40px; position: relative; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(26, 22, 18, .8); }
.plan::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 169, 97, .35), transparent); }
.plan .eyebrow { color: var(--gold); }
.plan h3 { color: var(--cream); font: italic 400 32px/1.1 var(--serif); margin: 14px 0 22px; }
.amount { display: flex; align-items: baseline; gap: 10px; color: var(--cream); }
.amount strong { font: 300 76px/1 var(--serif); letter-spacing: -0.03em; }
.amount span { font-size: 16px; opacity: .75; }
.plan .vat { font-size: 13px; opacity: .65; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-size: 15.5px; color: #e3d8c8; }
.plan li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1612' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { width: 100%; }
.plan .fine { font-size: 12.5px; opacity: .6; margin-top: 14px; text-align: center; }
.invite { margin-top: 26px; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px dashed var(--gold); border-radius: 18px; background: rgba(201, 169, 97, .08); }
.invite svg { width: 26px; height: 26px; color: var(--rust); flex: none; }
.invite b { color: var(--ink); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 400 22px/1.3 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 300 22px/1 var(--sans); color: var(--rust); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--cream); border-color: var(--ink); }
.faq .answer { padding: 0 60px 26px 0; font-size: 16px; }

/* final cta */
.final { text-align: center; padding: 130px 0; overflow: hidden; isolation: isolate; }
.final::before { content: ''; position: absolute; inset: auto 50% -60% auto; transform: translateX(50%); width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(201, 169, 97, .18), transparent 70%); z-index: -1; }
.final h2 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; font-weight: 300; margin: 20px auto 24px; max-width: 900px; }
.final h2 em { color: var(--gold); }
.final .lead { margin: 0 auto 40px; }
.final .cta-row { justify-content: center; }

/* footer */
.site-footer { background: var(--ink); color: #9b8e7e; border-top: 1px solid var(--line-dark); padding: 56px 0 40px; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .wordmark { color: var(--cream); align-items: flex-start; }
.site-footer .wordmark .bottom { padding-left: 0; }
.site-footer p { max-width: 340px; margin-top: 16px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; color: #d8cdbd; }
.foot a:hover { color: var(--cream); }
.copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* invite page (/r/<code>) */
.invite-hero h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.02; }
.invite-hero h1 em { color: var(--gold); }
.invite-card { margin-top: 4px; max-width: 520px; background: var(--cream); color: var(--ink); border-radius: 24px; padding: 20px 22px 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.invite-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.invite-label { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.invite-perk { font: 700 13px/1 var(--sans); color: #fff; background: var(--rust); padding: 8px 12px; border-radius: 999px; }
.invite-code { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 16px 18px; border: 1.5px dashed var(--gold); border-radius: 16px; background: var(--paper); color: var(--ink); cursor: pointer; font: 400 clamp(30px, 4.6vw, 44px)/1 var(--serif); letter-spacing: .12em; text-align: left; transition: background .2s, transform .2s var(--ease); }
.invite-code:hover { background: #fff; transform: translateY(-1px); }
.invite-code svg { width: 24px; height: 24px; color: var(--rust); flex: none; }
.invite-hint { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.invite-hint.ok { color: var(--sage); font-weight: 600; }
.invite-invalid { max-width: 520px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-dark); background: rgba(244, 237, 228, .06); color: #e3d8c8; }
.invite-steps { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 12px; max-width: 540px; }
.invite-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: #d8cdbd; }
.invite-steps span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(201, 169, 97, .16); color: var(--gold); font: 600 12px/1 var(--sans); }
.invite-open { margin-top: 18px; font-size: 14.5px; color: #bfb3a2; }
.invite-open a { color: var(--gold); font-weight: 600; text-decoration: none; }
.invite-open a:hover { text-decoration: underline; }
.invite-more { margin-top: 44px; }
.invite-more .btn { color: var(--ink); }

/* legal pages (/policy, /terms, /ro/policy, /ro/terms) */
.legal-page { padding: 40px 0 110px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); max-width: 780px; margin: 0 auto 36px; }
.crumbs a { text-decoration: none; color: var(--rust); }
.crumbs a:hover { text-decoration: underline; }
article.legal { max-width: 780px; margin: 0 auto; background: var(--paper); border: 1px solid #e6dccd; border-radius: 28px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 40px 80px -60px rgba(26, 22, 18, .45); }
article.legal h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.05; font-weight: 300; margin: 0 0 14px; }
article.legal .updated { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rust); margin: 0 0 32px; }
article.legal .updated::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
article.legal p, article.legal li { font-size: 16.5px; line-height: 1.7; }
article.legal p + p { margin-top: 14px; }
article.legal h2 { font: 400 26px/1.25 var(--serif); color: var(--ink); margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid #e6dccd; }
article.legal h3 { font: 600 16px/1.4 var(--sans); color: var(--ink); margin: 24px 0 6px; }
article.legal ul { padding-left: 0; list-style: none; margin: 10px 0 0; display: grid; gap: 10px; }
article.legal ul li { position: relative; padding-left: 22px; }
article.legal ul li::before { content: ''; position: absolute; left: 2px; top: .8em; width: 8px; height: 1.5px; background: var(--gold); }
article.legal a { color: var(--rust); text-underline-offset: 3px; }
article.legal strong { color: var(--ink); font-weight: 600; }
article.legal code { font: 500 .88em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--cream); border: 1px solid #e6dccd; border-radius: 6px; padding: 2px 6px; color: var(--ink); white-space: nowrap; }
article.legal .note { margin: 26px 0 8px; padding: 20px 22px; border-radius: 18px; background: var(--cream); border: 1px solid #e6dccd; font-size: 16px; line-height: 1.65; }
article.legal .lang-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid #e6dccd; font-size: 14.5px; color: var(--muted); }
.legal-body .site-header { background: rgba(244, 237, 228, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
@media (max-width: 720px) { .legal-page { padding: 24px 0 72px; } article.legal { border-radius: 22px; } article.legal h2 { font-size: 23px; margin-top: 36px; } }

/* hero entrance (CSS only) and reveal on scroll (only when JS runs) */
.rise { animation: rise .9s var(--ease) both; }
.rise.r1 { animation-delay: .08s; }
.rise.r2 { animation-delay: .16s; }
.rise.r3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .palette i, .rise { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .float, .ticker-track { animation: none !important; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .color-grid, .pricing { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-copy { text-align: left; }
  .phone-stage { margin-top: 20px; }
  .chip-1 { left: 2%; }
  .chip-2 { right: 0; }
  .chip-3 { left: 0; }
  .styles { grid-template-columns: repeat(4, 1fr); }
  .styles .style-card:nth-child(n + 5) { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g { grid-column: span 2; }
  .t-c, .t-d { grid-column: span 1; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { gap: 12px; height: 64px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13px; }
  .wordmark .top { font-size: 20px; }
  .wordmark .bottom { font-size: 7px; }
  .hero { padding: 112px 0 80px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .promise, .steps, .trust { grid-template-columns: 1fr; }
  .steps { gap: 44px; }
  .cta-row .store { flex: 1 1 180px; }
  .chip { font-size: 12px; padding: 9px 11px; max-width: 190px; }
  .chip .ic { width: 28px; height: 28px; }
  .chip-1 { top: -3%; left: -3%; }
  .chip-2, .chip-3, .why { display: none; }
  .phone { width: 280px; }
  .looks-row { grid-template-columns: repeat(2, 1fr); }
  .looks-row figure:nth-child(3) { display: none; }
  .palette { grid-template-columns: repeat(6, 1fr); }
  .palette i:nth-child(n + 19) { display: none; }
  .traits { grid-template-columns: 1fr 1fr; }
  .styles { grid-template-columns: repeat(2, 1fr); }
  .styles .style-card:nth-child(n + 5) { display: none; }
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g { grid-column: span 1; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .week .day:nth-child(n + 5) { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .plan { padding: 30px 24px; }
  .amount strong { font-size: 64px; }
  .faq summary { font-size: 19px; }
  .faq .answer { padding-right: 0; }
  .final { padding: 96px 0; }
}
/* touch targets and legibility on phones and tablets */
@media (max-width: 1080px) {
  .wordmark { padding: 6px 0; }
  .lang a { padding: 12px 13px; font-size: 12.5px; }
  .nav-cta .btn { min-height: 42px; }
  .foot nav { gap: 4px 22px; }
  .foot nav a { display: inline-block; padding: 10px 0; }
  .crumbs a { display: inline-block; padding: 9px 0; }
  .crumbs { align-items: center; margin-bottom: 20px; }
  .crumbs { gap: 8px; }
  .wordmark .bottom { font-size: 8px; }
  .s-eyebrow[style], .season-card .s-eyebrow { font-size: 11px !important; }
  .badge { font-size: 11px; }
  .trait { font-size: 13.5px; }
  .trait small, .palette-label { font-size: 11px; }
  .notif .card { font-size: 14px; }
  .notif small { font-size: 12.5px; }
  article.legal .updated, .invite-label { font-size: 12px; }
  article.legal .updated { line-height: 1.5; letter-spacing: .12em; align-items: baseline; }
}
@media (max-width: 720px) {
  .foot nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}

@media (max-width: 359px) {
  .nav-cta .btn { display: none; }
}

/* Admin switches (landing.js reads /api/config): paid content only while payments are on,
   invite-code content only while an invite program is on. Without the config the page
   shows the free version. */
html:not(.oa-paid) [data-when="paid"],
html.oa-paid [data-when="free"],
html:not(.oa-invite) [data-when="invite"] { display: none !important; }
