/* Gems site: warm off-white, soft green ink (deep green in dark), the system typeface. Sunshine is for the main action,
   gold for the headline, teal for the gem, coral for the circle and the heart. Rounded type only on small labels. */
:root{
  --bg:#FFFDF7; --band:#FFF9E8; --surface:#FFFFFF; --ink:#24483D; --ink-2:#3F5A50; --muted:#56695E;
  --line:#E3E5D9; --soft:#F3F1E4; --teal:#0F7566; --coral:#E0604C;
  --sun:#FFD23F; --headline-gold:#A47200; --navy:#24483D; --on-navy:#FFFFFF;
  --lift:0 0 0 1px var(--line),0 20px 36px -28px rgba(36,72,61,.35);
  --lift-sun:0 1px 2px rgba(138,90,0,.22),0 10px 20px -12px rgba(223,167,0,.8);
  --radius:20px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --round:Nunito,ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#142F29; --band:#183730; --surface:#1F3F36; --ink:#FFF7DE; --ink-2:#DCE5D8; --muted:#BBD0C4;
  --line:#3D5D50; --soft:#294A3F; --teal:#4CCDB6; --headline-gold:#FFD23F; --navy:#1F3F36;
  --lift:0 0 0 1px var(--line),0 20px 36px -28px rgba(0,0,0,.9);
  --lift-sun:0 10px 22px -14px rgba(255,210,63,.4);
  color-scheme:dark;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#142F29; --band:#183730; --surface:#1F3F36; --ink:#FFF7DE; --ink-2:#DCE5D8; --muted:#BBD0C4;
    --line:#3D5D50; --soft:#294A3F; --teal:#4CCDB6; --headline-gold:#FFD23F; --navy:#1F3F36;
    --lift:0 0 0 1px var(--line),0 20px 36px -28px rgba(0,0,0,.9);
    --lift-sun:0 10px 22px -14px rgba(255,210,63,.4);
    color-scheme:dark;
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.6 var(--font);letter-spacing:-.003em;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:var(--ink);font-weight:600} a:hover{color:var(--ink-2)}
.wrap{max-width:1120px;margin:0 auto;padding:0 28px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* nav */
.nav{position:relative;z-index:2}
.nav__inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
.brand{display:flex;align-items:center;gap:10px;font:700 20px/1 var(--font);letter-spacing:-.01em;color:var(--ink);text-decoration:none}
.brand img{border-radius:22.5%}
.nav__links{display:flex;gap:28px}
.nav__links a{color:var(--ink-2);text-decoration:none;font-size:15px;font-weight:500}
.nav__links a:hover{color:var(--ink)}
.nav__actions{display:flex;align-items:center;gap:10px}
.theme-toggle{width:38px;height:38px;border-radius:999px;border:0;background:var(--surface);color:var(--ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 0 0 1px var(--line)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 24px;border-radius:14px;background:var(--sun);color:#24483D;font:650 16px/1 var(--font);text-decoration:none;border:0;cursor:pointer;box-shadow:var(--lift-sun);transition:transform .12s,filter .12s;white-space:nowrap}
.btn:hover{color:#24483D;filter:brightness(1.04)}
.btn:active{transform:translateY(1px)}
.btn--small{padding:10px 16px;font-size:14px;border-radius:999px}
.btn--ink{background:var(--ink);color:var(--bg);box-shadow:none}
.btn--ink:hover{color:var(--bg)}
.btn--ghost{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
.btn--ghost:hover{color:var(--ink)}

/* type */
.kicker{font:600 13px/1.4 var(--font);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
.eyebrow{display:inline-block;font:800 12.5px/1 var(--round);color:var(--ink-2);border:1px solid var(--line);border-radius:999px;padding:8px 14px;margin:0 0 20px}
h1{font:700 clamp(40px,5.3vw,64px)/1.04 var(--font);letter-spacing:-.026em;margin:0 0 20px}
h1 em{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-weight:400;color:var(--headline-gold);letter-spacing:-.01em}
.h2{font:700 clamp(30px,4vw,46px)/1.08 var(--font);letter-spacing:-.022em;margin:0 0 36px;max-width:820px}
h3,.h3{font:650 20px/1.25 var(--font);letter-spacing:-.012em;margin:0 0 8px}
.lede{font-size:clamp(17px,1.6vw,20px);line-height:1.5;color:var(--ink-2);max-width:520px;margin:0 0 30px}
.lede--small{font-size:18px}
.fine{font-size:13.5px;color:var(--muted);margin:14px 0 0}

/* hero */
.hero{position:relative;margin-top:-72px;padding:132px 0 76px;background:var(--band);overflow:hidden}
.hero__grid{position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:36px;align-items:center}
.hero__ctas{display:flex;gap:14px;flex-wrap:wrap}

.pile{position:relative;margin:0 0 0 auto;width:min(500px,100%);aspect-ratio:440/470}
.pile__shot{position:absolute;aspect-ratio:4/5;border-radius:20px;border:5px solid #fff;background:#fff;box-shadow:0 22px 34px -20px rgba(36,72,61,.55)}
.pile__shot img{width:100%;height:100%;object-fit:cover;border-radius:15px}
.pile__shot--a{left:0;top:9%;width:35%;transform:rotate(-4deg)}
.pile__shot--b{right:0;top:2%;width:35%;transform:rotate(3deg)}
.pile__shot--a img,.pile__shot--b img{filter:saturate(.7)}
.pile__shot--pick{left:21%;top:25%;width:56%}
.tag{position:absolute;left:50%;top:-13px;transform:translateX(-50%);font:800 11.5px/1 var(--round);color:#24483D;background:#fff;border-radius:999px;padding:6px 10px;white-space:nowrap;box-shadow:0 3px 8px -2px rgba(36,72,61,.35)}
.tag--pick{top:auto;bottom:-13px;background:#12806F;color:#fff}
/* The circle is drawn from its start by animating the dash offset. The stroke width is in the SVG's own
   units and scales with the photos: with vector-effect:non-scaling-stroke the dash length is measured
   in screen pixels, so the circle stopped part of the way round, at a different point in each browser.
   It reaches far enough below the pick to clear "The gem" tag at every width. */
.pile__ring{position:absolute;left:12.5%;top:17.5%;width:73%;height:85%;overflow:visible}
.pile__ring path{stroke:var(--coral);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.pile.is-in .pile__ring path{animation:draw .9s .35s ease-out backwards}
@keyframes draw{from{stroke-dashoffset:1}}

/* light or dark screenshots follow the page's theme, including the toggle */
.only-dark{display:none}
:root[data-theme="dark"] .only-light{display:none}
:root[data-theme="dark"] .only-dark{display:block}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .only-light{display:none}
  :root:not([data-theme="light"]) .only-dark{display:block}
}

/* How it works: one real afternoon, before and after */
.ba{display:grid;grid-template-columns:minmax(0,1fr) auto 280px;gap:clamp(20px,4vw,56px);align-items:center;padding:clamp(24px,4vw,48px);border-radius:32px;background:var(--band)}
.ba figure{margin:0}
.ba__before img{width:100%;height:auto}
.ba figcaption{margin-top:14px;text-align:center;font:600 14px/1.3 var(--font);color:var(--muted)}
.ba__arrow{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--sun);color:#24483D}
.lines{list-style:none;counter-reset:line;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.lines li{counter-increment:line;position:relative;padding-top:44px;color:var(--ink-2);font-size:16.5px;line-height:1.5}
.lines li::before{content:counter(line);position:absolute;top:0;left:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--sun);color:#24483D;font:700 15px/1 var(--font)}
.lines b{display:block;color:var(--ink);font-size:19px;font-weight:700;letter-spacing:-.01em;margin-bottom:4px}
/* A hairline joins each numbered circle to the next: across on wide screens, down on narrow ones. */
.lines li:not(:last-child)::after{content:"";position:absolute;top:16px;left:44px;right:-12px;height:1px;background:var(--line)}
.phone{margin:0;width:280px}
.phone__frame{position:relative;padding:9px;border-radius:52px;background:#1B1F1D;box-shadow:inset 0 0 0 1.5px #3A403C,0 0 0 1px rgba(36,72,61,.06),0 40px 70px -30px rgba(36,72,61,.55),0 18px 30px -18px rgba(36,72,61,.35)}
.phone__frame img{width:100%;height:auto;border-radius:43px;background:var(--soft)}
.phone__island{position:absolute;top:22px;left:50%;width:31%;height:27px;margin-left:-15.5%;border-radius:999px;background:#000}

/* sections and cards */
.section{padding:84px 0 0}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step,.feature{background:var(--surface);border-radius:var(--radius);box-shadow:var(--lift)}
.step{padding:22px 24px 26px}
.step__art{height:108px;display:flex;align-items:center;gap:14px;margin-bottom:18px}
.step h3{display:flex;align-items:center;gap:10px}
.step__n{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--soft);color:var(--ink);font:800 14px/1 var(--round)}
.step p,.feature p{margin:0;color:var(--ink-2);font-size:16px}
.roll{display:grid;grid-template-columns:repeat(4,48px);gap:6px}
.roll img{width:48px;height:48px;object-fit:cover;border-radius:12px}
.roll--picked img{opacity:.28}
.roll--picked img.is-gem{opacity:1;outline:3.5px solid var(--coral);outline-offset:2px}
.keep{width:76px;height:94px;object-fit:cover;border-radius:16px;border:5px solid #fff;transform:rotate(-3deg);box-shadow:0 8px 14px -8px rgba(36,72,61,.55);margin-left:6px}
.acts{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.acts span{display:inline-flex;align-items:center;gap:6px;font:800 13.5px/1 var(--round);border-radius:999px;padding:9px 14px;background:var(--soft);color:var(--ink);white-space:nowrap}
.acts .acts__go{background:var(--sun);color:#24483D}

/* A pull quote, not a card: a large sunshine quote mark, centered words and a signed line. */
.quote{margin:0 auto;padding:8px 0;max-width:820px;text-align:center}
.quote::before{content:"\201C";display:block;font:700 112px/.8 Georgia,"Times New Roman",serif;color:var(--sun);height:56px;margin-bottom:8px}
.quote .kicker{margin-bottom:18px}
.quote p{font:600 clamp(24px,3vw,36px)/1.28 var(--font);letter-spacing:-.02em;margin:0 0 28px;text-wrap:balance;color:var(--ink)}
.quote__by{display:inline-flex;align-items:center;gap:12px;font-size:16px;color:var(--ink-2);text-align:left}
.quote__by img{width:40px;height:40px;border-radius:10px;box-shadow:0 0 0 1px var(--line)}
.quote__by b{display:block;color:var(--ink);font-weight:700}

.duo{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.duo__card{border-radius:var(--radius);padding:36px 36px 38px}
.duo__card .h3{font-size:clamp(24px,2.6vw,32px);line-height:1.12;margin-bottom:12px}
.duo__card p{margin:0;font-size:17px}
.duo__card--navy{background:var(--navy);color:var(--on-navy)}
.duo__card--navy p{color:#D3E3D9}
.duo__card--navy a{display:inline-block;margin-top:16px;color:var(--sun)}
.duo__card--soft{background:var(--soft);color:var(--ink)}
.duo__card--soft p{color:var(--ink-2)}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature{padding:24px 24px 26px}
.feature__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--soft);color:var(--ink);margin-bottom:16px}

.price{padding:0;margin:0 auto 28px;max-width:560px;background:none;box-shadow:none;text-align:center}
.price .kicker{margin-bottom:6px}
.price__line{margin:0;font:500 clamp(17px,1.8vw,20px)/1.45 var(--font);letter-spacing:-.015em;color:var(--ink-2);max-width:900px}
.price__line b{color:var(--ink);font-weight:700}

/* early access signup; the email-link pages reuse this layout */
.cta{text-align:center;background:var(--band);padding:84px 0;margin-top:84px}
.cta__inner{display:flex;flex-direction:column;align-items:center}
.cta__icon{width:112px;height:112px;border-radius:22.5%;box-shadow:0 14px 28px -18px rgba(36,72,61,.45);margin-bottom:26px}
.cta .h2{margin-bottom:14px}
.cta .lede{margin:0 auto 26px;text-align:center}
.waitlist{display:flex;gap:10px;width:100%;max-width:480px;background:var(--surface);border-radius:20px;padding:8px;box-shadow:var(--lift)}
.waitlist input{flex:1;min-width:0;border:0;background:transparent;font:400 16px var(--font);color:var(--ink);padding:0 14px;outline:none}
.waitlist input::placeholder{color:var(--muted);opacity:1}
.waitlist__msg{min-height:24px;font-size:15px;font-weight:600;color:var(--teal);margin:10px 0 18px}
.waitlist:focus-within{outline:3px solid var(--ink);outline-offset:3px}
.waitlist button:disabled{opacity:.65;cursor:wait;transform:none}
.waitlist__msg[data-state="error"]{color:#B93A32}
:root[data-theme="dark"] .waitlist__msg[data-state="error"]{color:#FFAAA3}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .waitlist__msg[data-state="error"]{color:#FFAAA3}}
.cta__row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;align-items:center}
.badge-appstore{display:inline-flex;align-items:center;gap:10px;background:#000;color:#fff;border-radius:14px;padding:9px 16px 9px 13px;opacity:.85}
.badge-appstore span{display:flex;flex-direction:column;text-align:left;font:600 17px/1.1 var(--font)}
.badge-appstore small{font-size:10.5px;font-weight:500;opacity:.8}

/* footer */
.footer{padding:30px 0 40px;background:var(--band)}
.footer__inner{display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.footer__copy{margin:0;font-size:14px;font-weight:400;color:var(--muted)}
.footer .brand{font-size:17px}

/* reveal */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}

/* responsive */
@media (max-width:1040px){
  .nav__links{display:none}
  .features{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .hero{padding:112px 0 64px}
  .hero__grid{grid-template-columns:1fr;gap:44px}
  .pile{margin:0 auto;width:min(380px,100%)}
  .steps,.duo{grid-template-columns:1fr}
  .ba{grid-template-columns:minmax(0,1fr);justify-items:center;padding:20px}
  .ba__arrow{transform:rotate(90deg)}
  .lines{grid-template-columns:1fr;gap:28px;max-width:560px}
  .lines li{padding:3px 0 0 50px;min-height:32px}
  .lines li:not(:last-child)::after{top:42px;bottom:-18px;left:15.5px;right:auto;width:1px;height:auto}
}
@media (max-width:760px){
  /* Phones: the two hero buttons stack at one full width instead of wrapping at two sizes. */
  .hero__ctas{flex-direction:column;gap:12px}
  .hero__ctas .btn{width:100%}
  .ba__after.phone{width:min(64vw,280px)}
  .phone__frame{padding:7px;border-radius:40px}
  .phone__frame img{border-radius:33px}
  .phone__island{top:17px;height:21px}
  body{font-size:16px}
  .wrap{padding:0 20px}
  .section{padding:60px 0 0}
  .cta{padding:60px 0;margin-top:60px}
  .btn--small{display:none}
  .hero{padding:100px 0 56px}
  .quote::before{font-size:88px;height:44px}
  .duo__card{padding:28px 24px 30px}
  .features{grid-template-columns:1fr}
  .roll{grid-template-columns:repeat(4,44px)}
  .roll img{width:44px;height:44px}
  .waitlist{flex-direction:column;padding:10px}
  .waitlist input{padding:12px 12px}
  .footer__inner{flex-direction:column;align-items:flex-start}
}

/* Email confirm and unsubscribe pages (lib/updates-pages.js) reuse the CTA layout and fill the window. */
.notice{min-height:calc(100vh - 160px);display:grid;align-items:center;margin-top:0}
.notice .wrap{width:100%}
/* The confirm page posts itself from assets/confirm-auto.js, which marks <html> with
   .js before the body is drawn: show "Confirming…" rather than the button meanwhile. */
.js .notice__auto[hidden]{display:block}
.js .notice__fallback{display:none}

/* Privacy policy and terms use the shared palette and type. */
.policy{max-width:800px;padding-bottom:84px}
.policy section{margin-top:32px}
.policy h2{font:700 24px/1.2 var(--font);letter-spacing:-.015em;margin:0 0 12px}
.prose p{margin:0 0 18px;color:var(--ink-2);font-size:17.5px}
.prose ul{margin:0 0 18px;padding-left:22px;color:var(--ink-2);font-size:17.5px}
.prose li{margin:0 0 8px}
.prose strong{color:var(--ink);font-weight:650}
