/* Tulip website stylesheet, shared by index.html and privacy.html.
   Colors and fonts follow the Tulip app (Theme.swift): the Crystal Tulip palette,
   Playfair Display for headings, Montserrat for text and Allura for the wordmark. */
:root{
  --bg:#F7F5F1;           /* Cream */
  --surface:#FFFFFF;      /* White */
  --text:#5B2E4A;         /* Plum */
  --text2:#724C63;        /* Muted Plum */
  --accent:#5B2E4A;       /* Plum */
  --on-accent:#FFFFFF;
  --rose:#C97A8F;         /* Rose: wordmark and large decorative uses only */
  --rose-icon:#BE7186;    /* Accessible Rose */
  --blush:#F3D1D9;        /* Blush */
  --pale:#FBE9EC;         /* Pale */
  --sage:#A7B89A;         /* Sage: decorative, never text */
  --border:#D9C9B8;       /* Taupe divider */
  --border-strong:#9B8675;/* Accessible Taupe */
  --header-bg:rgba(247,245,241,.9);
  --shot-shadow:rgba(91,46,74,.28);
  --focus:#BE7186;
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"Montserrat",Helvetica,"Helvetica Neue",Arial,sans-serif;
  --script:"Allura","Snell Roundhand",cursive;
  color-scheme:light dark;
}
/* Dark mode follows the device's appearance setting, with the app's dark palette. */
@media (prefers-color-scheme:dark){
  :root{
    --bg:#21171E;         /* Deep Plum */
    --surface:#30232C;    /* Plum Surface */
    --text:#F7F1F2;       /* Soft Cream */
    --text2:#D8C4CC;      /* Dusty Rose */
    --accent:#DCAFC2;     /* Light Plum */
    --on-accent:#21171E;
    --rose:#E5A0B1;       /* Light Rose */
    --rose-icon:#E5A0B1;
    --blush:#68404F;      /* Dark Blush */
    --pale:#49313D;       /* Muted Pale */
    --sage:#B9C9AA;       /* Light Sage */
    --border:#4A3843;
    --border-strong:#9A858E;
    --header-bg:rgba(33,23,30,.88);
    --shot-shadow:rgba(0,0,0,.6);
    --focus:#E5A0B1;
  }
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased;line-height:1.5}
img{max-width:100%;display:block}
a{color:var(--accent)}a:hover{color:var(--rose-icon)}
a:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;z-index:10;background:var(--bg);padding:8px 12px}

.wrap{max-width:1160px;margin:0 auto;padding:0 40px}
.h1{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(40px,6vw,68px);line-height:1.1;letter-spacing:-.015em}
.h2{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(32px,4vw,44px);line-height:1.15;letter-spacing:-.01em}
.lead{margin:24px 0 0;font-size:18px;line-height:1.7;color:var(--text2)}
.narrow{max-width:640px}
.fine{font-size:14px;color:var(--text2)}
.nw{white-space:nowrap}

/* header */
.site-header{position:sticky;top:0;z-index:5;background:var(--header-bg);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--border)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--rose)}
.brand:hover{color:var(--rose)}
.brand .wordmark{font-family:var(--script);font-size:42px;line-height:1;padding-top:4px}
.nav{display:flex;align-items:center;gap:32px;font-size:15px;font-weight:500}
.nav a{text-decoration:none;color:var(--text)}
.nav a:hover{color:var(--rose-icon)}

/* logo: assets/logo.png is shown when present; the outlined square stands in until then */
.logo{position:relative;flex:none;width:40px;height:40px;border-radius:9px;overflow:hidden;border:1.5px dashed var(--border-strong);background:var(--pale)}
.logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.logo.loaded{border:0;background:none}
.logo.lg{width:112px;height:112px;border-radius:25px}
.logo.sm{width:26px;height:26px;border-radius:6px;border-width:1px}

/* hero */
.hero{padding-top:112px;position:relative;overflow-x:clip}
.hero-inner{display:flex;flex-direction:column;align-items:center;text-align:center}
.hero .h1{max-width:900px}
.kicker{margin:0 0 28px;font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--rose-icon)}
.hero-sub{margin:32px 0 0;max-width:620px;font-size:20px;line-height:1.65;color:var(--text2)}
.cta{margin-top:44px;display:flex;flex-direction:column;align-items:center;gap:14px}
.hero-stage{position:relative;margin-top:88px;display:flex;justify-content:center}
.hero-stage::before{content:"";position:absolute;left:50%;top:12%;width:min(720px,110%);aspect-ratio:1;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,var(--blush),transparent);opacity:.75;z-index:-1}

/* App Store badge: Apple's artwork, unaltered. Apple requires at least 40px onscreen and clear space
   of one-quarter the badge height (12.5px at this size) free of other text and graphics. */
.store-badge{display:inline-block;padding:13px;margin:-13px;border-radius:9px}
.store-badge img{height:50px;width:auto}

figure{margin:0}
/* iPhone screenshots: framed PNG/WebP with transparent corners, 960 × 1955. */
.phone{width:100%;max-width:300px;filter:drop-shadow(0 30px 40px var(--shot-shadow))}
.phone img{display:block;width:100%;height:auto}
.hero .phone{max-width:320px}

/* sections */
.section{padding-top:176px}
.features{display:flex;flex-direction:column;gap:176px}
.feature{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:96px;align-items:center}
.feature.flip .feature-text{order:2}
.feature-text{display:flex;flex-direction:column;gap:20px}
.feature-text .lead{margin:0}
.feature-num{font-family:var(--serif);font-size:15px;color:var(--rose-icon);letter-spacing:.06em}
.feature-num::after{content:"";display:inline-block;vertical-align:middle;width:40px;height:1px;margin-left:14px;background:var(--sage)}
.feature-shots{display:flex;justify-content:center;gap:28px}

.private{margin-top:176px;background:var(--pale);padding:136px 0}
.private-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:96px;align-items:end}
.private h2{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(40px,5vw,58px);line-height:1.1;letter-spacing:-.015em;color:var(--accent)}
.private-lead{margin:0 0 20px;font-size:20px;line-height:1.6}
.private-note{margin:0;font-size:16px;line-height:1.65;color:var(--text2)}
.private-note a{color:var(--accent);font-weight:600}

.closing{padding:176px 40px}
.closing-inner{max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:28px}
.closing h2{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(34px,4.5vw,50px);line-height:1.15;letter-spacing:-.015em}
.closing .lead{margin:0;max-width:540px}

/* legal */
.legal{padding:112px 40px 176px}
.legal article{max-width:680px;margin:0 auto}
.legal .fine{margin:20px 0 0;font-size:15px}
.summary{margin:48px 0 0;padding:28px 32px;background:var(--pale);border-radius:14px;font-size:18px;line-height:1.7;color:var(--text)}
.legal h2{margin:64px 0 0;font-family:var(--serif);font-weight:500;font-size:28px;line-height:1.25}
.legal p{font-size:17px;line-height:1.8;color:var(--text);margin:16px 0 0}
.legal .back{margin-top:72px;font-size:16px}

/* footer */
.site-footer{border-top:1px solid var(--border);background:var(--surface)}
.site-footer .wrap{padding-top:44px;padding-bottom:44px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.foot-brand{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text2)}
.foot-links{display:flex;gap:28px;font-size:14px;font-weight:500}
.foot-links a{text-decoration:none}
.foot-links a:hover{text-decoration:underline}
.trademark{margin:0;width:100%;font-size:12px;color:var(--text2)}

/* responsive */
@media (max-width:960px){
  .feature,.private-inner{grid-template-columns:1fr;gap:56px}
  .feature.flip .feature-text{order:0}
  .features{gap:128px}
  .section{padding-top:128px}
  .private{margin-top:128px;padding:96px 0}
}
@media (max-width:720px){
  .wrap{padding:0 20px}
  .brand .wordmark{font-size:36px}
  .nav{gap:20px;font-size:14px}
  .hero{padding-top:72px}
  .hero-sub{font-size:18px}
  .hero-stage{margin-top:64px}
  .hero .phone{max-width:280px}
  .feature-shots{gap:16px}
  .closing{padding:120px 20px}
  .legal{padding:72px 20px 120px}
  .summary{padding:22px 22px}
  .foot-links{flex-wrap:wrap;gap:12px 24px}
}
@media (max-width:420px){
}
