/* Shared design system for lovegrader.com: the landing page (index.html) and the worker-rendered
   legal pages (/privacy, /support) all link this file so they read as one site. The first block is
   the landing page's original inline CSS, unchanged; the legal block at the end styles prose. */
:root{
  --bg:#ffffff; --blush:#fbf6f4; --brand:#c0537b; --rose-deep:#a8456a;
  --ink:#2e1a24; --muted:#6f5d58; --line:#e7d8d4;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--bg);color:var(--ink);
     font:17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
     -webkit-font-smoothing:antialiased;}
.display{font-family:"Fraunces",Georgia,serif;font-weight:600;letter-spacing:-.01em;}
.accent{color:var(--brand);}
a{color:var(--rose-deep);text-decoration:none;}
a:hover{text-decoration:underline;}
.wrap{max-width:1040px;margin:0 auto;padding:0 22px;}
/* header */
header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.88);
       backdrop-filter:saturate(160%) blur(10px);border-bottom:1px solid var(--line);}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:66px;gap:14px;}
.brand{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;
       color:var(--brand);line-height:1;text-decoration:none;}
.brand:hover{text-decoration:none;}
.brand .mark{width:23px;height:21px;}
.brand .name{font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:19px;color:var(--brand);}
.nav-right{display:flex;align-items:center;gap:18px;}
.nav-links{display:flex;align-items:center;gap:20px;}
.nav-links a{color:var(--muted);font-size:15px;}
.nav-links a:hover{color:var(--ink);text-decoration:none;}
.nav-links a.nav-download{color:var(--rose-deep);font-weight:600;}
.lang{display:inline-flex;align-items:center;gap:6px;color:var(--muted);}
.lang .globe{width:16px;height:16px;flex:0 0 auto;}
.lang select{font:inherit;font-size:14px;color:var(--ink);background:#fff;
             border:1px solid var(--line);border-radius:9px;padding:5px 8px;cursor:pointer;max-width:9.5em;}
/* App Store badge */
.appstore{display:inline-flex;align-items:center;gap:11px;background:#111;color:#fff;
          border-radius:13px;padding:11px 18px;}
.appstore:hover{text-decoration:none;opacity:.92;}
.appstore svg{width:24px;height:24px;}
.appstore .lbl{display:flex;flex-direction:column;line-height:1.05;text-align:left;}
.appstore .lbl small{font-size:10px;opacity:.85;font-weight:400;}
.appstore .lbl b{font-size:17px;font-weight:600;}
.free-note{color:var(--muted);font-size:14px;}
.cta-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
/* device mockup */
.device-col{display:flex;justify-content:center;}
.device{width:250px;flex:0 0 auto;background:#120c0e;border-radius:46px;padding:9px;
        box-shadow:0 28px 56px rgba(120,40,60,.20);}
.device img{display:block;width:100%;height:auto;border-radius:38px;}
/* hero */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;
      padding:64px 0 52px;}
.pill{display:inline-block;background:var(--blush);color:var(--rose-deep);
      border:1px solid var(--line);border-radius:999px;padding:5px 13px;
      font-size:13px;font-weight:600;margin-bottom:18px;}
h1.display{font-size:clamp(38px,5.4vw,58px);line-height:1.05;margin:0 0 18px;}
.lead{font-size:19px;color:var(--muted);margin:0 0 28px;max-width:30em;}
.hero .device{width:262px;}
/* feature rows */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:46px 0;}
.feature.flip .device-col{order:2;}
.eyebrow{color:var(--rose-deep);font-weight:700;font-size:13px;letter-spacing:.06em;
         text-transform:uppercase;margin:0 0 8px;}
.ftxt h2{font-size:clamp(27px,3.4vw,36px);margin:0 0 12px;}
.ftxt p{margin:0;color:var(--muted);font-size:17px;max-width:30em;}
/* pricing */
.pricing{padding:56px 0;}
.pricing h2{font-size:clamp(28px,3.6vw,38px);margin:0 0 28px;}
.pricing .eyebrow{margin-bottom:8px;}
.price-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch;}
.price-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;
            padding:26px 24px;display:flex;flex-direction:column;}
.price-card.featured{border-color:var(--brand);box-shadow:0 18px 44px rgba(192,83,123,.14);}
.price-badge{position:absolute;top:-12px;left:24px;background:var(--brand);color:#fff;
             font-size:12px;font-weight:700;letter-spacing:.03em;border-radius:999px;padding:4px 12px;}
.price-name{font-weight:700;font-size:15px;color:var(--muted);letter-spacing:.02em;margin:0 0 6px;}
.price-amt{font-family:"Fraunces",Georgia,serif;font-weight:600;font-size:40px;color:var(--ink);
           line-height:1;margin:0 0 4px;}
.price-amt small{font-family:inherit;font-size:15px;font-weight:400;color:var(--muted);}
.price-sub{color:var(--muted);font-size:15px;margin:0 0 18px;}
.price-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px;}
.price-list li{position:relative;padding-left:28px;color:var(--ink);font-size:15.5px;line-height:1.5;}
.price-list li::before{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;
     border-radius:999px;background:var(--blush);
     background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0537b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
     background-repeat:no-repeat;background-position:center;background-size:12px;}
.price-foot{color:var(--muted);font-size:13px;margin:20px 0 0;}
[dir="rtl"] .price-badge{left:auto;right:24px;}
[dir="rtl"] .price-list li{padding-left:0;padding-right:28px;}
[dir="rtl"] .price-list li::before{left:auto;right:0;}
@media (max-width:760px){ .price-grid{grid-template-columns:1fr;} }
/* faq */
.faq{padding:56px 0;}
.faq h2{font-size:clamp(28px,3.6vw,38px);margin:0 0 24px;}
.faq .eyebrow{margin-bottom:8px;}
.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;
             padding:0 18px;margin-bottom:12px;}
.faq summary{list-style:none;cursor:pointer;padding:16px 0;font-weight:600;
             display:flex;justify-content:space-between;align-items:center;gap:12px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+";color:var(--brand);font-size:22px;font-weight:400;line-height:1;}
.faq details[open] summary::after{content:"−";}
.faq details p{margin:0 0 16px;color:var(--muted);}
/* cta */
.cta-band{background:var(--blush);text-align:center;padding:64px 0;}
.cta-band h2{font-size:clamp(28px,3.6vw,38px);margin:0 0 22px;}
.cta-band .cta-row{justify-content:center;}
/* footer */
footer{border-top:1px solid var(--line);padding:34px 0;color:var(--muted);font-size:14px;}
.foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:flex-start;}
.foot a{color:var(--muted);}
.foot a:hover{color:var(--ink);}
.foot .brand,.foot .brand:hover{color:var(--brand);}
.foot .links{display:flex;gap:20px;flex-wrap:wrap;}
.foot .name{font-size:18px;}
.disclaimer{margin-top:18px;font-size:13px;max-width:48em;}
/* rtl */
[dir="rtl"] .appstore .lbl{text-align:right;}
@media (max-width:760px){
  .hero{grid-template-columns:1fr;padding:40px 0 24px;text-align:center;}
  .lead{margin-left:auto;margin-right:auto;}
  .cta-row{justify-content:center;}
  .hero .device-col{order:-1;margin-bottom:8px;}
  .feature{grid-template-columns:1fr;gap:22px;padding:30px 0;text-align:center;}
  .feature .device-col,.feature.flip .device-col{order:-1;}
  .ftxt p{margin-left:auto;margin-right:auto;}
  .nav-links a:not(.nav-download){display:none;}
  .nav-right{gap:12px;}
}
/* legal pages (privacy, support): readable prose column under the shared header/footer */
.legal{max-width:46rem;margin:0 auto;padding:10px 22px 72px;}
.legal h1.display{font-size:clamp(30px,4vw,42px);line-height:1.1;margin:20px 0 6px;}
.legal .updated{color:var(--muted);font-size:.92rem;margin:0 0 28px;}
.legal h2{font-size:clamp(20px,2.4vw,25px);margin:36px 0 10px;}
.legal p{color:var(--ink);margin:0 0 15px;}
.legal strong{font-weight:600;}
[dir="rtl"] .legal{text-align:right;}
