/* Home page, from the "Landing Page" design. privacy and terms keep style.css. */
:root {
    --linen: #F4EFEA;
    --paper: #FBF9F6;
    --seam: #E7DFD8;
    --line: #D9CFC6;
    --chip: #EDE6DF;
    --stone: #E5DBD2;
    --espresso: #33241F;
    --ink: #1F1815;
    --ink-soft: #3A2E29;
    --muted: #6F645E;
    --blush: #F0C9C9;
    --rose: #D98E98;
    --rose-deep: #B4505E;
    --sage: #4F7A55;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --serif: "Cormorant Garamond", Georgia, serif;
    --script: "Parisienne", "Great Vibes", cursive;
    --mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--linen);
    color: var(--ink);
    font: 16px/1.5 "DM Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--rose-deep); }
img { display: block; }
h1, h2, p { margin: 0; }

.page { overflow-x: clip; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { display: flex; justify-content: center; }
.muted { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.eyebrow { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow-light { color: var(--stone); }
.mono { font: 500 11px var(--mono); letter-spacing: .12em; color: var(--muted); }
.lead { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 460px; text-wrap: pretty; }
.lead-light { color: var(--stone); }
.title-pair { display: flex; flex-direction: column; }
.serif { font-family: var(--serif); font-weight: 300; }
.script { font-family: var(--script); font-weight: 400; line-height: 1.3; padding: 0 8px 0 4px; }
/* Parisienne has no Cyrillic, so Ukrainian falls back to Great Vibes, drawn a little larger to match. */
[data-lang="uk"] .script, [data-lang="uk"] .loved { font-size-adjust: .42; }
.h2 { font: 300 clamp(44px, 5vw, 68px)/1.02 var(--serif); }
.h2 em { font-style: italic; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 56px; padding: 0 24px; border-radius: 999px;
    text-decoration: none; font-size: 15px; font-weight: 500;
    transition: background .2s, color .2s;
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { height: 52px; width: 100%; }
.btn-dark, .btn-dark:hover { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-rose, .btn-rose:hover { background: var(--blush); color: var(--ink); }
.btn-rose:hover { background: #EBBDBD; }
.btn-light, .btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--blush); }
.btn-store { gap: 12px; padding: 0 26px; }
.btn-store .apple { width: 20px; height: 22px; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-text small { font-size: 11px; opacity: .8; }
.store-text b { font-size: 17px; font-weight: 600; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(244, 239, 234, .88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--seam);
}
.nav-bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; }
.langs { font: 500 11px var(--mono); letter-spacing: .1em; text-decoration: none; color: var(--muted); margin-left: -18px; }
.langs[hreflang="uk"] { margin-left: 0; }
[data-lang="uk"] .langs[hreflang="uk"], [data-lang="en"] .langs[hreflang="en"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.logo { display: flex; align-items: baseline; gap: 4px; text-decoration: none; color: var(--ink); }
.logo span { font: 300 34px/1 var(--serif); }
.logo i { font-size: 14px; color: var(--rose); }
.logo-sm span { font-size: 26px; }
.logo-sm i { font-size: 12px; }

/* Hero */
.hero {
    padding-top: 72px; padding-bottom: 96px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 56px; align-items: center;
}
.hero .lead { font-size: 18px; }
.hero-serif { font-size: clamp(56px, 7.4vw, 104px); line-height: .98; letter-spacing: -.015em; }
.hero-script { font-size: clamp(60px, 7.8vw, 112px); color: var(--rose); margin-top: -6px; }
.checks { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted); }
.checks > span { display: flex; align-items: center; gap: 6px; }
.checks i { font-size: 15px; color: var(--sage); }
.hero-art { position: relative; height: 720px; display: flex; justify-content: center; align-items: center; }

.phone { position: relative; width: 328px; height: 691px; flex: none; filter: drop-shadow(0 30px 60px rgba(51, 36, 31, .28)); }
.phone-dark { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .4)); }
/* Clip to the frame's outer corner (58px on a 410×864 screen) so nothing outside it can show. */
.phone img, .step-phone img { width: 100%; height: 100%; object-fit: contain; border-radius: 14.15% / 6.71%; }

.float-card {
    position: absolute; width: 250px; height: 380px; border-radius: 28px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(51, 36, 31, .18);
    animation: obzBob 7s ease-in-out infinite;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-left { left: 2%; top: 90px; rotate: -8deg; }
.float-right { right: 2%; top: 250px; rotate: 7deg; animation-duration: 8s; animation-delay: -3s; }
.float-share { left: 0; top: 60px; width: 200px; height: 300px; border-radius: 24px; rotate: -6deg; box-shadow: 0 20px 50px rgba(51, 36, 31, .16); }
.weather {
    position: absolute; top: 16px; left: 16px; height: 34px; padding: 0 12px; border-radius: 999px;
    background: rgba(251, 249, 246, .94); display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
}
.weather i { font-size: 15px; }
.weather-right { left: auto; right: 16px; }
.toast {
    position: absolute; left: 0; bottom: 70px; z-index: 2;
    background: var(--paper); border-radius: 16px; padding: 10px 14px 10px 10px;
    display: flex; align-items: center; gap: 10px; box-shadow: 0 12px 32px rgba(51, 36, 31, .14);
    animation: obzBob 6s ease-in-out -1s infinite;
}
.toast-icon {
    width: 36px; height: 36px; border-radius: 50%; background: var(--blush);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
    animation: obzPulse 2.4s ease-in-out infinite;
}
.toast-text { display: flex; flex-direction: column; gap: 2px; }
.toast-text b { font-size: 13px; font-weight: 600; }
.toast-text small { font-size: 12px; color: var(--muted); }

/* Marquee */
.marquee { border-top: 1px solid var(--seam); border-bottom: 1px solid var(--seam); background: var(--paper); overflow: hidden; }
.marquee-track {
    display: flex; width: max-content; padding: 22px 0;
    font: italic 300 26px/1.2 var(--serif); color: var(--ink-soft); white-space: nowrap;
    animation: obzMarquee 40s linear infinite;
}
.marquee-set { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-set i { font-size: 13px; color: var(--rose); }

/* How it works */
.how { padding-top: 120px; padding-bottom: 100px; display: flex; flex-direction: column; gap: 64px; }
.how-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.how-head .h2 { max-width: 640px; }
.how-head .muted { max-width: 360px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 32px; }
.step { display: flex; flex-direction: column; gap: 28px; }
.step-stage { width: 100%; height: 520px; border-radius: 32px; padding-top: 36px; display: flex; justify-content: center; overflow: hidden; }
.step-phone { width: 295px; height: 622px; flex: none; transition: transform .6s var(--ease); }
.step-phone:hover { transform: translateY(-24px); }
.step-text { display: flex; flex-direction: column; gap: 8px; }
.step-text .muted { font-size: 15px; line-height: 1.5; }
.step-title { font: 400 30px/1.1 var(--serif); }

/* Split sections */
.dark { background: var(--espresso); color: var(--paper); }
.split {
    padding-top: 120px; padding-bottom: 120px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 64px; align-items: center;
}
.ins-serif { font-size: clamp(48px, 5.4vw, 76px); line-height: 1; }
.ins-script { font-size: clamp(52px, 5.8vw, 84px); color: var(--blush); }
.facts { display: flex; flex-direction: column; border-top: 1px solid rgba(251, 249, 246, .18); }
.facts > div { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(251, 249, 246, .18); font-size: 15px; }
.facts i { font-size: 20px; color: var(--blush); }
.share-art { position: relative; }
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.style-card {
    background: var(--paper); border-radius: 18px; padding: 16px;
    display: flex; flex-direction: column; gap: 6px;
    transition: transform .4s var(--ease), box-shadow .4s;
}
.style-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(51, 36, 31, .1); }
.style-card i { font-size: 20px; }
.style-card b { font-size: 14px; font-weight: 600; }
.style-card small { font-size: 12px; color: var(--muted); }
.style-card small.free { color: var(--sage); }

/* Pricing */
.pricing { background: var(--paper); border-top: 1px solid var(--seam); }
.pricing-inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 48px; }
.pricing-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.pricing-head .muted { max-width: 520px; }
.toggle { display: flex; padding: 4px; border-radius: 999px; background: var(--chip); margin-top: 8px; }
.toggle button {
    height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
    background: transparent; color: var(--ink); font: 500 14px "DM Sans", sans-serif; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: background .25s, color .25s;
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.save { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--blush); color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.plan {
    position: relative; border: 1px solid var(--seam); border-radius: 28px; padding: 32px; background: var(--linen);
    display: flex; flex-direction: column; gap: 24px;
    transition: transform .5s var(--ease), box-shadow .5s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(51, 36, 31, .1); }
.plan-dark { border: 0; background: var(--ink); color: var(--paper); }
.plan-dark:hover { box-shadow: 0 30px 60px rgba(31, 24, 21, .25); }
.plan-head { display: flex; flex-direction: column; gap: 8px; }
.plan-name { font: 500 24px var(--serif); display: flex; align-items: center; gap: 8px; }
.plan-name i { font-size: 16px; color: var(--rose); }
.plan-price { display: flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--muted); }
.plan-price b { font: 600 40px "DM Sans", sans-serif; letter-spacing: -.02em; color: var(--ink); display: inline-block; }
.plan-head small { font-size: 13px; color: var(--muted); min-height: 18px; }
.plan-dark .plan-price, .plan-dark .plan-head small { color: var(--stone); }
.plan-dark .plan-price b { color: var(--paper); }
.plan-list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; flex: 1; }
.plan-list > span { display: flex; gap: 10px; }
.plan-list i { font-size: 16px; color: var(--sage); }
.plan-dark .plan-list i { color: var(--blush); }
.loved { position: absolute; top: 24px; right: 24px; font: 400 26px/1.3 var(--script); color: var(--blush); padding: 0 6px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 40px; }
.faq .h2 { text-align: center; font-size: clamp(44px, 5vw, 64px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    min-height: 72px; padding: 16px 0; list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font: 400 24px/1.25 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\e141"; font-family: "lucide"; font-size: 20px; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "\e120"; }
.faq details p { padding: 0 40px 24px 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; animation: obzDrop .35s ease-out; }

/* Get the app */
.get { padding: 0 20px 20px; }
.get-card {
    max-width: 1400px; margin: 0 auto; background: var(--espresso); color: var(--paper);
    border-radius: 40px; overflow: hidden;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.get-text { padding: clamp(48px, 7vw, 96px); display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.get-text .lead { max-width: 420px; }
.get-text .btn-store { align-self: flex-start; }
.get-text .store-text small { color: var(--muted); opacity: 1; }
.get-serif { font-size: clamp(48px, 5.6vw, 80px); line-height: 1; }
.get-script { font-size: clamp(52px, 6vw, 88px); color: var(--blush); }
.get-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 24px; min-height: 440px; }
.get-looks img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

/* Footer */
.foot { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { color: var(--muted); }

/* Narrow screens: the design drops the nav links under 720px and the floating looks under 600px. */
@media (max-width: 719px) {
    .nav-links { display: none; }
    .nav-right { gap: 20px; }
}
@media (max-width: 599px) {
    .wrap { padding-left: 16px; padding-right: 16px; }
    .roomy { display: none; }
    .hero-art { height: auto; }
    .toast { bottom: 40px; }
    .faq { padding-left: 16px; padding-right: 16px; }
    .get { padding: 0 8px 8px; }
    .get-card { border-radius: 28px; }
    .get-looks { min-height: 300px; }
    .btn-sm span { display: none; }
}

/* Scroll reveal: landing.js adds .js-reveal to <html> and .in to each element once it's on screen. */
.js-reveal [data-reveal] {
    opacity: 0; translate: 0 36px; scale: .98;
    transition: opacity 1s ease, translate 1.1s var(--ease), scale 1.1s var(--ease);
}
.js-reveal [data-reveal].in { opacity: 1; translate: 0 0; scale: 1; }
.js-reveal .float-card[data-reveal], .js-reveal .phone[data-reveal] { transition-property: opacity, translate, scale, transform; }

@keyframes obzBob { 50% { transform: translateY(-12px); } }
@keyframes obzMarquee { to { transform: translateX(-50%); } }
@keyframes obzPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 142, 152, .5); } 50% { box-shadow: 0 0 0 10px rgba(217, 142, 152, 0); } }
@keyframes obzDrop { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-play-state: paused !important; }
}
