/* ============ Senuna — shared design system ============ */
:root{
  --bg:#ffffff; --surface:#ffffff; --inputBg:#f5faf5; --sage-bg:#f3f9f4;
  --forest:#15251a; --primary:#2f7d43; --primaryDeep:#1f5e30; --primaryLight:#54ad68;
  --accent:#43b45f; --lime:#cbe89b;
  --mist:#a8d4c8; --tint:#e8f5ea; --border:#e7efe7;
  --body:#3a4a42; --muted:#7b917f;
  --rose:#c98a8a; --rose-deep:#9c5f66;
  --blue:#2f6fb0; --navy:#183a5a; --teal:#2ab3a6;
  --maxw:1180px;
  --display:'Space Grotesk','DM Sans',system-ui,sans-serif;
  --shadow:0 30px 70px -34px rgba(26,60,32,.32);
  --shadow-sm:0 12px 34px -20px rgba(26,60,32,.28);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--forest);-webkit-font-smoothing:antialiased;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
/* decorative dotted grid */
.dots{background-image:radial-gradient(var(--mist) 1.6px, transparent 1.6px);background-size:18px 18px;opacity:.5}

/* ---- Nav ---- */
.site-nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav-cta{border-radius:40px}
.site-nav .wrap{display:flex;align-items:center;justify-content:space-between;height:70px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none}
.brand img{width:34px;height:34px;border-radius:9px}
.brand span{font-family:'DM Serif Display',serif;font-size:23px;color:var(--forest);letter-spacing:.01em}
.nav-links{display:flex;gap:30px;align-items:center}
.nav-links a{text-decoration:none;color:var(--body);font-size:15px;font-weight:500;transition:color .2s}
.nav-links a:hover{color:var(--primary)}
.nav-links a.active{color:var(--primary);font-weight:700}
.nav-cta{background:var(--primary);color:#fff !important;padding:10px 20px;border-radius:11px;font-weight:700 !important;font-size:14px !important}

/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:9px;padding:15px 30px;border-radius:40px;font-weight:700;font-size:15px;text-decoration:none;cursor:pointer;transition:transform .18s, box-shadow .18s;border:none}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--primary));color:#fff;box-shadow:0 14px 30px -12px rgba(47,125,67,.55)}
.btn-primary:hover{box-shadow:0 20px 40px -14px rgba(47,125,67,.6)}
.btn-ghost{background:var(--surface);color:var(--forest);border:1.5px solid var(--border)}

/* Google Play badge (placeholder link) */
.play-badge{display:inline-flex;align-items:center;gap:12px;background:#111;color:#fff;padding:11px 22px 11px 18px;border-radius:12px;text-decoration:none;transition:transform .18s, opacity .18s}
.play-badge:hover{transform:translateY(-2px)}
.play-badge svg{width:26px;height:26px;flex:none}
.play-badge .pb-txt{display:flex;flex-direction:column;line-height:1.15}
.play-badge .pb-small{font-size:10px;letter-spacing:.09em;text-transform:uppercase;opacity:.85}
.play-badge .pb-big{font-size:17px;font-weight:700;letter-spacing:.01em}
.play-badge.soon{background:#e8f0e8;color:var(--primary);cursor:default}
.play-badge.soon:hover{transform:none}
.play-badge.soon svg path{fill:currentColor}

/* ---- Eyebrow / section heads ---- */
.eyebrow{display:inline-block;font-family:'DM Mono',monospace;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--primaryLight);font-weight:500;margin-bottom:20px}
.section{padding:88px 0}
.sec-head{text-align:center;max-width:640px;margin:0 auto 52px}
.sec-head h2{font-family:var(--display);font-size:40px;font-weight:700;letter-spacing:-.02em;line-height:1.08;margin-bottom:16px}
.sec-head p{font-size:18px;color:var(--body)}

/* ---- Home hero ---- */
.hero{position:relative;overflow:hidden;background:#fff}
.hero::before{content:"";position:absolute;top:-14%;right:-8%;width:62%;height:128%;
  background:linear-gradient(150deg,#d6efce 0%,#eef8c8 55%,#c9ecca 100%);
  border-radius:47% 53% 43% 57%/57% 43% 57% 43%;opacity:.85;z-index:0;pointer-events:none}
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.02fr .98fr;gap:40px;align-items:center;padding:78px 28px 92px}
.hero h1{font-family:var(--display);font-size:58px;line-height:1.05;font-weight:700;letter-spacing:-.03em;margin-bottom:24px}
.hero h1 em{font-style:normal;color:var(--primary)}
.hero .lede{font-size:20px;color:var(--body);max-width:520px;margin-bottom:34px;line-height:1.55}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hero-trust{margin-top:28px;display:flex;gap:22px;flex-wrap:wrap;font-size:13px;color:var(--muted);font-weight:500}
.hero-trust span{display:inline-flex;align-items:center;gap:7px}
.hero-trust svg{width:15px;height:15px;color:var(--primaryLight)}
.hero-dots{position:absolute;left:18px;bottom:46px;width:132px;height:96px;z-index:1;pointer-events:none}

/* Phone mockups */
.phones{position:relative;height:520px}
.phone{position:absolute;border-radius:34px;border:7px solid #1c3326;background:#1c3326;box-shadow:0 34px 70px -38px rgba(20,38,26,.42);overflow:hidden}
.phone img{border-radius:26px}
.phone.p1{width:236px;left:30px;top:12px;transform:rotate(-6deg);z-index:2}
.phone.p2{width:224px;right:8px;top:70px;transform:rotate(6deg);z-index:1}
@media(min-width:900px){.phone:hover{transform:rotate(0) translateY(-6px);transition:transform .4s;z-index:5}}

/* ---- App cards (soft wellness) ---- */
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.app-card{position:relative;border-radius:30px;padding:36px 32px;color:var(--forest);overflow:hidden;display:flex;flex-direction:column;text-decoration:none;border:1px solid transparent;transition:transform .28s ease, box-shadow .28s ease}
.app-card:hover{transform:translateY(-6px);box-shadow:0 30px 60px -34px rgba(26,46,26,.28)}
.app-card.c-senuna{background:#e9f3ea}
.app-card.c-cycle{background:#f8eeef}
.app-card.c-diary{background:#e9f1f9}
.app-card .icn{width:46px;height:46px;border-radius:13px;box-shadow:none;margin-bottom:22px}
.app-card .tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;margin:0 0 8px}
.app-card.c-senuna .tag{color:var(--primary)}
.app-card.c-cycle .tag{color:var(--rose-deep)}
.app-card.c-diary .tag{color:var(--blue)}
.app-card h3{font-family:var(--display);font-size:23px;font-weight:700;letter-spacing:-.01em;margin-bottom:10px;color:var(--forest)}
.app-card p{font-size:15px;line-height:1.6;margin-bottom:22px;color:var(--body)}
.app-card .more{font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:7px;margin-top:auto}
.app-card.c-senuna .more{color:var(--primary)}
.app-card.c-cycle .more{color:var(--rose-deep)}
.app-card.c-diary .more{color:var(--blue)}
.app-card .arrow{transition:transform .2s}
.app-card:hover .arrow{transform:translateX(4px)}

/* ---- Privacy strip (soft sage panel) ---- */
.privacy{background:linear-gradient(155deg,#eaf4ee 0%,#e3f0e8 100%);color:var(--forest);border-radius:36px;margin:0 auto;max-width:var(--maxw);padding:64px 52px;border:1px solid var(--border)}
.privacy .wrap2{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;padding:0}
.privacy h2{font-family:var(--display);font-size:34px;font-weight:700;letter-spacing:-.01em;line-height:1.12;margin-bottom:16px}
.privacy h2 em{font-style:normal;color:var(--primary)}
.privacy .p-lede{color:var(--body);font-size:17px;line-height:1.6}
.privacy-list{display:grid;gap:14px}
.privacy-item{display:flex;gap:15px;align-items:flex-start;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.9);border-radius:16px;padding:16px 18px}
.privacy-item .pi-ic{width:40px;height:40px;flex:none;border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px -6px rgba(26,46,26,.25)}
.privacy-item svg{width:20px;height:20px;color:var(--primary)}
.privacy-item h4{font-size:16px;font-weight:700;margin-bottom:3px}
.privacy-item p{font-size:14px;color:var(--muted);line-height:1.5}

/* ---- Stat pills ---- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:56px}
.stat{text-align:center}
.stat .k{font-size:34px;font-weight:900;color:var(--primary);letter-spacing:-.02em;margin-bottom:6px;font-family:'DM Sans',sans-serif}
.stat .v{font-size:14px;color:var(--body);line-height:1.45}

/* ---- Footer ---- */
.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:56px 0 40px;margin-top:20px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-brand .brand{margin-bottom:14px}
.footer-brand p{font-size:14px;color:var(--muted);max-width:320px;line-height:1.6}
.footer-col h5{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:16px;font-weight:700}
.footer-col a{display:block;text-decoration:none;color:var(--body);font-size:15px;margin-bottom:11px;transition:color .2s}
.footer-col a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid var(--border);padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted)}

/* ============ App detail pages ============ */
.app-hero{position:relative;overflow:hidden}
.app-hero .wrap{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:70px 28px 76px}
.app-hero .icn{width:88px;height:88px;border-radius:22px;box-shadow:var(--shadow-sm);margin-bottom:26px}
.app-hero h1{font-family:var(--display);font-size:50px;font-weight:700;letter-spacing:-.03em;line-height:1.05;margin-bottom:14px}
.app-hero .tagline{font-family:'DM Serif Display',serif;font-style:italic;font-size:22px;margin-bottom:22px}
.app-hero .lede{font-size:19px;color:var(--body);max-width:520px;line-height:1.6;margin-bottom:30px}
.app-hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.app-hero .phones{height:560px}

/* accent theming per app page (set on <body data-accent>) */
body.senuna{--accent:var(--primary);--accent-soft:var(--tint);--accent-line:var(--primaryLight)}
body.cycle{--accent:var(--rose-deep);--accent-soft:#f6e9ea;--accent-line:var(--rose)}
body.diary{--accent:var(--blue);--accent-soft:#e7f0f9;--accent-line:var(--teal)}
body.senuna .eyebrow,body.cycle .eyebrow,body.diary .eyebrow{color:var(--accent-line)}
body.cycle .hero::before{background:linear-gradient(150deg,#f6dce0 0%,#fbe9d4 55%,#f2d3d8 100%)}
body.diary .hero::before{background:linear-gradient(150deg,#d2e6f6 0%,#e2f0d6 55%,#d0e6f3 100%)}

/* feature rows */
.features{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.feature{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:30px 28px;transition:transform .2s, box-shadow .2s}
.feature:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm)}
.feature .f-ic{width:48px;height:48px;border-radius:13px;background:var(--accent-soft);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.feature .f-ic svg{width:24px;height:24px;color:var(--accent)}
.feature h3{font-size:19px;font-weight:800;margin-bottom:8px;letter-spacing:-.01em}
.feature p{font-size:15px;color:var(--body);line-height:1.6}

/* screenshot gallery */
.gallery{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.shots{display:flex;gap:26px;overflow-x:auto;padding:12px 4px 20px;scroll-snap-type:x mandatory}
.shot{flex:none;width:240px;scroll-snap-align:center}
.shot .frame{border-radius:30px;border:8px solid #14261a;background:#14261a;overflow:hidden;box-shadow:var(--shadow-sm)}
.shot .frame img{border-radius:22px}
.shot .cap{text-align:center;font-size:13px;color:var(--muted);margin-top:14px;font-weight:500}

/* CTA band */
.cta-band{text-align:center;padding:80px 0}
.cta-band h2{font-family:var(--display);font-size:36px;font-weight:700;letter-spacing:-.01em;margin-bottom:14px}
.cta-band p{font-size:18px;color:var(--body);max-width:520px;margin:0 auto 30px}

/* ===== tester sign-up (modern) ===== */
/* step timeline */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.step-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:28px 22px;transition:transform .2s,box-shadow .2s}
.step-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm)}
.step-card .n{width:42px;height:42px;border-radius:13px;background:linear-gradient(150deg,var(--primaryLight),var(--primary));color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:16px;box-shadow:0 10px 20px -8px rgba(45,90,39,.55)}
.step-card h3{font-size:16px;font-weight:800;margin-bottom:6px;letter-spacing:-.01em}
.step-card p{font-size:14px;color:var(--body);line-height:1.55}

/* two-column join layout */
.join-grid{display:grid;grid-template-columns:0.9fr 1.1fr;gap:46px;align-items:start}
.join-left h2{font-family:var(--display);font-size:34px;font-weight:700;letter-spacing:-.02em;line-height:1.12;margin-bottom:16px}
.join-left>p{font-size:17px;color:var(--body);line-height:1.6;margin-bottom:28px}
.benefits{display:grid;gap:18px;margin-bottom:28px}
.benefit{display:flex;gap:14px;align-items:flex-start}
.benefit .b-ic{width:38px;height:38px;flex:none;border-radius:11px;background:var(--tint);display:flex;align-items:center;justify-content:center}
.benefit .b-ic svg{width:20px;height:20px;color:var(--primary)}
.benefit h4{font-size:15px;font-weight:700;margin-bottom:2px}
.benefit p{font-size:14px;color:var(--muted);line-height:1.5}
.why-card{background:var(--forest);color:#eaf2ea;border-radius:20px;padding:26px 28px}
.why-card .wc-eyebrow{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--mist);margin-bottom:16px}
.why-card .wc-stats{display:flex;gap:30px;margin-bottom:16px}
.why-card .wc-stat .k{font-size:30px;font-weight:900;color:#fff;letter-spacing:-.02em;line-height:1}
.why-card .wc-stat .v{font-size:12px;color:#b3c6b3;margin-top:6px;line-height:1.35}
.why-card p{font-size:13.5px;color:#c3d4c3;line-height:1.6}

/* elevated form card */
.testform{background:var(--surface);border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 34px 80px -38px rgba(26,46,26,.45);position:relative}
.tf-head{background:linear-gradient(150deg,#2d5a27,#16352a);padding:26px 32px;color:#fff;position:relative;overflow:hidden}
.tf-head::after{content:"";position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(168,212,200,.28),transparent 70%)}
.tf-head h3{font-size:20px;font-weight:800;margin-bottom:4px;position:relative}
.tf-head p{font-size:13.5px;color:#c3d4c3;position:relative}
.tf-body{padding:30px 32px 32px}
.field{margin-bottom:22px}
.field>label{display:block;font-size:13.5px;font-weight:700;margin-bottom:9px}
.field .hint{font-weight:400;color:var(--muted);font-size:12.5px;display:block;margin-top:3px}
.input-wrap{position:relative}
.input-wrap>svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.field input[type=text],.field input[type=email]{width:100%;padding:14px 15px 14px 44px;border:1.5px solid var(--border);border-radius:12px;background:var(--inputBg);font:inherit;font-size:15px;color:var(--forest);transition:border-color .15s, box-shadow .15s}
.field input[type=text]:focus,.field input[type=email]:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px rgba(90,155,82,.16);background:#fff}
.field input::placeholder{color:#a9bda9}

/* selectable app tiles */
.app-choices{display:grid;gap:12px}
.choice-tile{display:flex;align-items:center;gap:14px;padding:13px 15px;border:1.5px solid var(--border);border-radius:14px;cursor:pointer;transition:border-color .15s, background .15s, box-shadow .15s;position:relative}
.choice-tile:hover{border-color:var(--primaryLight);background:var(--inputBg)}
.choice-tile img{width:44px;height:44px;border-radius:12px;flex:none}
.choice-tile .ct-txt b{display:block;font-size:14.5px;font-weight:700}
.choice-tile .ct-txt span{font-size:12.5px;color:var(--muted)}
.choice-tile input{position:absolute;opacity:0;width:1px;height:1px}
.choice-tile .tick{margin-left:auto;width:23px;height:23px;border-radius:50%;border:2px solid var(--border);flex:none;display:flex;align-items:center;justify-content:center;transition:.15s}
.choice-tile .tick svg{width:13px;height:13px;color:#fff;opacity:0;transition:opacity .15s}
.choice-tile:has(input:checked){border-color:var(--primary);background:var(--tint);box-shadow:0 0 0 3px rgba(90,155,82,.12)}
.choice-tile:has(input:checked) .tick{background:var(--primary);border-color:var(--primary)}
.choice-tile:has(input:checked) .tick svg{opacity:1}
.choice-tile:has(input:focus-visible){border-color:var(--primary);box-shadow:0 0 0 4px rgba(90,155,82,.18)}

.consent{display:flex;gap:12px;align-items:flex-start;font-size:13px;color:var(--body);line-height:1.55;background:var(--inputBg);border:1px solid var(--border);border-radius:12px;padding:14px 16px}
.consent input{margin-top:2px;width:18px;height:18px;accent-color:var(--primary);flex:none}
.consent a{color:var(--primary);font-weight:600}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:12.5px;color:var(--muted);margin-top:16px;line-height:1.55;text-align:center}
.btn-block{width:100%;justify-content:center;margin-top:6px;font-size:16px;padding:16px}
.trust-row{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-top:18px;font-size:12.5px;color:var(--muted);font-weight:500}
.trust-row span{display:inline-flex;align-items:center;gap:6px}
.trust-row svg{width:14px;height:14px;color:var(--primaryLight)}
.alert{margin:0 auto 26px;padding:18px 22px;border-radius:16px;font-size:15px;line-height:1.5;display:none;max-width:940px}
.alert.show{display:block}
.alert.ok{background:var(--tint);color:var(--primary);border:1px solid var(--mist)}
.alert.err{background:#fbeaea;color:#a13a3a;border:1px solid #eccdcd}
@media(max-width:900px){
  .steps{grid-template-columns:1fr 1fr}
  .join-grid{grid-template-columns:1fr;gap:34px}
}
@media(max-width:560px){.steps{grid-template-columns:1fr}.tf-body{padding:24px 20px}.tf-head{padding:22px 22px}}

/* family chip (app belongs to Senuna family) */
.family-chip{display:inline-flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:6px 15px 6px 6px;font-size:13px;font-weight:600;color:var(--body);text-decoration:none;margin-bottom:18px;transition:transform .18s, box-shadow .18s}
.family-chip:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}
.family-chip img{width:26px;height:26px;border-radius:50%}

/* misc */
.disclaimer{max-width:760px;margin:0 auto;padding:26px 28px;background:var(--inputBg);border:1px solid var(--border);border-radius:16px;font-size:14px;color:var(--muted);line-height:1.6;text-align:center}
.back-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--muted);text-decoration:none;margin-bottom:8px}

/* ---- Responsive ---- */
@media(max-width:900px){
  .hero .wrap,.app-hero .wrap,.privacy .wrap2,.footer-grid{grid-template-columns:1fr}
  .phones{display:none}
  .app-grid,.features{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr}
  .hero h1{font-size:44px}.app-hero h1{font-size:40px}
  .nav-links{display:none}
  .privacy{border-radius:0;padding:52px 28px}
  .hero .wrap{padding:52px 28px 60px}
}

/* ===== Install guide (help page) ===== */
.reqs{max-width:860px;margin:0 auto 44px;background:var(--sage-bg);border:1px solid var(--border);border-radius:16px;padding:28px 32px}
body.stitch .reqs{background:var(--st-cream);border-color:var(--st-line)}
.reqs h3{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--primary);margin-bottom:18px}
body.stitch .reqs h3{font-family:'Oswald',sans-serif;color:var(--st-teal)}
.reqs-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px}
.req{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--body);line-height:1.5}
.req svg{width:21px;height:21px;color:var(--primary);flex:none;margin-top:1px}
.req strong{color:var(--forest)}
.guide{max-width:860px;margin:0 auto}
.gstep{display:flex;gap:20px;padding:24px 0;border-top:1px solid var(--border)}
body.stitch .gstep{border-color:var(--st-line)}
.gstep:first-child{border-top:none;padding-top:6px}
.gnum{width:40px;height:40px;flex:none;border-radius:11px;background:linear-gradient(135deg,var(--accent),var(--primary));color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:17px;font-family:var(--display)}
.gstep h3{font-size:18px;font-weight:700;margin-bottom:6px;letter-spacing:-.01em}
body.stitch .gstep h3{font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.01em;color:var(--st-teal)}
.gstep p{font-size:15px;color:var(--body);line-height:1.6}
.gstep .tip{font-size:13.5px;color:var(--muted);margin-top:7px;display:flex;gap:7px;align-items:flex-start}
.gstep .tip svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--primaryLight)}
.install-shots{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin:44px 0 4px}
.mock-phone{width:198px}
.mock-phone .frame{border-radius:28px;border:7px solid #16321f;background:#16321f;overflow:hidden;box-shadow:var(--shadow-sm)}
.mock-phone .frame img{width:100%;display:block;border-radius:21px}
.mock-cap{text-align:center;font-size:12.5px;color:var(--muted);margin-top:12px;font-weight:600}
@media(max-width:560px){.reqs-grid{grid-template-columns:1fr}.reqs{padding:24px 22px}}

/* ===== Troubleshooting ===== */
.ts-feature{display:grid;grid-template-columns:1.08fr .92fr;gap:40px;align-items:center;background:var(--sage-bg);border:1px solid var(--border);border-radius:18px;padding:34px 38px;margin:0 auto 30px;max-width:960px}
body.stitch .ts-feature{background:var(--st-cream);border-color:var(--st-line)}
.ts-feature .badge-warn{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#b3502f;background:#fdeede;border-radius:20px;padding:5px 13px;margin-bottom:14px}
.ts-feature h3{font-size:22px;font-weight:700;letter-spacing:-.01em;margin-bottom:10px}
body.stitch .ts-feature h3{font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.01em;color:var(--st-teal)}
.ts-feature>div>p{font-size:15px;color:var(--body);line-height:1.6;margin-bottom:14px}
.ts-feature ol{margin:0;padding-left:20px}
.ts-feature li{font-size:15px;color:var(--body);line-height:1.6;margin-bottom:8px}
.ts-feature a{color:var(--primary);font-weight:600}
body.stitch .ts-feature a{color:var(--st-orange-deep)}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:960px;margin:0 auto}
.faq{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:22px 24px}
body.stitch .faq{background:var(--st-cream);border-color:var(--st-line)}
.faq h4{font-size:16px;font-weight:700;margin-bottom:7px;color:var(--forest);display:flex;gap:9px;align-items:flex-start}
.faq h4 svg{width:19px;height:19px;color:var(--primary);flex:none;margin-top:1px}
.faq p{font-size:14.5px;color:var(--body);line-height:1.6}
.faq a{color:var(--primary);font-weight:600}
body.stitch .faq a{color:var(--st-orange-deep)}
/* account-switcher diagram (illustrative) */
.ps-wrap{display:flex;flex-direction:column;align-items:center}
.ps-phone{width:210px;border-radius:28px;border:7px solid #16321f;background:#16321f;overflow:hidden;box-shadow:var(--shadow-sm)}
.ps-scr{background:#fff;border-radius:21px;padding:16px 13px 22px;min-height:340px}
.ps-top{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 0}
.ps-logo{font-weight:700;font-size:14px;color:#5f6368}
.ps-avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--primary));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;box-shadow:0 0 0 4px rgba(67,180,95,.22)}
.ps-menu{margin-top:14px;background:#fff;border:1px solid #e3e6e3;border-radius:14px;box-shadow:0 20px 34px -20px rgba(0,0,0,.3);overflow:hidden}
.ps-acct{display:flex;align-items:center;gap:11px;padding:12px 13px}
.ps-acct.current{background:var(--tint)}
.ps-acct+.ps-acct{border-top:1px solid #eef1ee}
.ps-dot{width:30px;height:30px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex:none}
.ps-dot.alt{background:#b98a4a}
.ps-acct .txt{min-width:0}
.ps-acct .txt b{display:block;color:var(--forest);font-size:12px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ps-acct .txt span{color:var(--muted);font-size:10.5px}
.ps-acct .chk{margin-left:auto;color:var(--primary);font-weight:800;font-size:16px;flex:none;padding-left:6px}
.ps-manage{padding:11px 13px;font-size:11.5px;color:var(--primary);border-top:1px solid #eef1ee;font-weight:600}
.ps-caption{text-align:center;font-size:12.5px;color:var(--muted);margin-top:13px;font-weight:600;max-width:210px}
@media(max-width:760px){.ts-feature{grid-template-columns:1fr;gap:28px}.faq-grid{grid-template-columns:1fr}.ps-wrap{order:-1}}

/* ===== Legal / prose pages ===== */
.legal-hero{background:var(--sage-bg);border-bottom:1px solid var(--border);padding:52px 0 40px}
body.stitch .legal-hero{background:var(--st-cream);border-color:var(--st-line)}
.legal-hero .wrap{max-width:840px}
.legal-hero .eyebrow{margin-bottom:12px}
.legal-hero h1{font-family:var(--display);font-size:44px;font-weight:700;letter-spacing:-.02em;line-height:1.05}
body.stitch .legal-hero h1{font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.01em;color:var(--st-teal)}
.legal-hero p{color:var(--body);font-size:17px;margin-top:12px;max-width:680px}
.legal-updated{font-family:'DM Mono',monospace;font-size:13px;color:var(--muted);margin-top:16px}
.legal{max-width:840px;margin:0 auto;padding:50px 28px 88px}
.legal h2{font-family:var(--display);font-size:23px;font-weight:700;letter-spacing:-.01em;margin:38px 0 12px;color:var(--forest)}
body.stitch .legal h2{font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.01em;color:var(--st-teal)}
.legal h3{font-size:16px;font-weight:700;margin:22px 0 7px;color:var(--forest)}
.legal p{color:var(--body);line-height:1.7;margin-bottom:14px;font-size:16px}
.legal ul{margin:0 0 16px 0;padding-left:22px}
.legal li{color:var(--body);line-height:1.7;margin-bottom:7px;font-size:16px}
.legal a{color:var(--primary);text-decoration:underline}
body.stitch .legal a{color:var(--st-orange-deep)}
.legal strong{color:var(--forest);font-weight:700}
.legal .lead{font-size:18px;line-height:1.65}
.legal .app-block{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:26px 30px;margin:22px 0}
body.stitch .legal .app-block{background:var(--st-cream);border-color:var(--st-line)}
.legal .app-block h2{margin-top:0}
.legal .app-block .a-head{display:flex;align-items:center;gap:13px;margin-bottom:6px}
.legal .app-block .a-head img{width:40px;height:40px;border-radius:10px}
.legal .app-block .a-head h2{margin:0}
.legal .tldr{background:var(--tint);border:1px solid var(--border);border-radius:12px;padding:20px 24px;margin:22px 0}
body.stitch .legal .tldr{background:#eef7ea;border-color:#cfe6d2}
.legal .tldr h3{margin-top:0;margin-bottom:8px}
.legal .tldr ul{margin-bottom:0}
/* data-safety table */
.ds-table{width:100%;border-collapse:collapse;margin:16px 0 26px;font-size:15px}
.ds-table th,.ds-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--border);vertical-align:top;line-height:1.5}
body.stitch .ds-table th,body.stitch .ds-table td{border-color:var(--st-line)}
.ds-table th{font-weight:700;color:var(--forest);font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.ds-table td{color:var(--body)}
.ds-yes{color:#b3502f;font-weight:700}
.ds-no{color:var(--primary);font-weight:700}
.badge-pill{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:20px;letter-spacing:.02em}
.badge-pill.none{background:var(--tint);color:var(--primary)}
body.stitch .badge-pill.none{background:#eef7ea}
.badge-pill.ads{background:#fdeede;color:#a8641f}

/* ===== Scroll reveal (progressive enhancement) ===== */
.js .sec-head,.js .app-card,.js .feature,.js .step-card,.js .stat,.js .privacy-item,.js .why-card,.js .testform,.js .cta-inner,.js .benefit{opacity:0;transform:translateY(20px);transition:opacity .65s cubic-bezier(.16,.7,.3,1),transform .65s cubic-bezier(.16,.7,.3,1)}
.js .in{opacity:1;transform:none}
/* small stagger for grids */
.js .app-grid .app-card:nth-child(2),.js .features .feature:nth-child(2n){transition-delay:.06s}
.js .app-grid .app-card:nth-child(3),.js .features .feature:nth-child(3n){transition-delay:.12s}
@media(prefers-reduced-motion:reduce){.js .sec-head,.js .app-card,.js .feature,.js .step-card,.js .stat,.js .privacy-item,.js .why-card,.js .testform,.js .cta-inner,.js .benefit{opacity:1!important;transform:none!important;transition:none!important}}

/* ===== Gradient invite band ===== */
.invite{padding:0 0 90px}
.invite-inner{position:relative;overflow:hidden;max-width:var(--maxw);margin:0 auto;border-radius:36px;padding:64px 56px;background:linear-gradient(135deg,#2f7d43 0%,#1f5e30 100%);color:#eaf6ea;text-align:center}
.invite-inner::before{content:"";position:absolute;top:-40%;right:-6%;width:44%;height:180%;background:radial-gradient(circle at 50% 50%,rgba(203,232,155,.4),transparent 60%);pointer-events:none}
.invite-inner::after{content:"";position:absolute;left:-4%;bottom:-60%;width:38%;height:160%;background:radial-gradient(circle at 50% 50%,rgba(168,212,200,.28),transparent 60%);pointer-events:none}
.invite-inner .eyebrow{color:var(--lime)}
.invite-inner h2{position:relative;font-family:var(--display);font-size:36px;font-weight:700;letter-spacing:-.02em;margin-bottom:14px}
.invite-inner p{position:relative;font-size:18px;color:#cfe6d2;max-width:560px;margin:0 auto 30px;line-height:1.55}
.invite-inner .btn{position:relative;background:#fff;color:var(--primaryDeep)}
.invite-inner .btn:hover{box-shadow:0 20px 40px -16px rgba(0,0,0,.35)}
@media(max-width:560px){.invite-inner{padding:48px 26px;border-radius:28px}}

/* ================= STITCH skin (help / sign-up page only) ================= */
body.stitch{
  --st-surface:#ffffff; --st-cream:#f2f8f3; --st-teal:#183a22; --st-orange:#2f7d43;
  --st-orange-deep:#256b38; --st-ink:#15251a; --st-line:#e3ece3; --st-muted:#7b917f;
  background:var(--st-surface); color:var(--st-ink); font-family:'Ubuntu',system-ui,sans-serif;
}
/* nav + footer */
body.stitch .site-nav{background:rgba(255,255,255,.88);border-bottom:1px solid var(--st-line)}
body.stitch .brand span{color:var(--st-teal)}
body.stitch .nav-links a{color:#4b4d46}
body.stitch .nav-links a:hover,body.stitch .nav-links a.active{color:var(--st-teal)}
body.stitch .nav-cta{background:var(--st-orange);border-radius:6px;color:#fff!important}
body.stitch .site-footer{background:var(--st-cream);border-top:1px solid var(--st-line)}
body.stitch .footer-brand .brand span{color:var(--st-teal)}
/* headings — Oswald condensed uppercase */
body.stitch .hero h1,body.stitch .sec-head h2,body.stitch .join-left h2,body.stitch .tf-head h3,body.stitch .step-card h3{
  font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.01em;color:var(--st-teal);font-weight:600}
body.stitch .eyebrow{font-family:'Ubuntu Mono',monospace;color:var(--st-orange-deep)}
/* hero — clean, structured (no blob) */
body.stitch .hero{background:var(--st-surface)}
body.stitch .hero::before{display:none}
body.stitch .hero-dots{background-image:radial-gradient(#c7c2b0 1.6px,transparent 1.6px)}
body.stitch .hero h1{font-size:62px;line-height:1.02;font-weight:700}
body.stitch .hero h1 em{color:var(--st-orange);font-style:normal}
body.stitch .hero .lede,body.stitch .sec-head p,body.stitch .join-left>p{color:#4d4f47}
/* buttons — orange, sharp */
body.stitch .btn{border-radius:6px}
body.stitch .btn-primary{background:linear-gradient(135deg,#43b45f,#2f7d43);color:#fff;box-shadow:0 12px 26px -14px rgba(47,125,67,.5)}
body.stitch .btn-primary:hover{background:linear-gradient(135deg,#3aa554,#256b38)}
/* steps */
body.stitch .step-card{background:var(--st-cream);border:1px solid var(--st-line);border-radius:8px}
body.stitch .step-card .n{background:var(--st-teal);color:#fff;border-radius:6px;font-family:'Oswald',sans-serif}
body.stitch .step-card p{color:#57584e}
/* benefits */
body.stitch .join-left h2{font-size:38px}
body.stitch .benefit .b-ic{background:#e6f3e9;border-radius:6px}
body.stitch .benefit .b-ic svg{color:var(--st-orange)}
body.stitch .benefit h4{color:var(--st-ink);font-weight:700}
body.stitch .benefit p{color:#6c6b5e}
/* why-card (deep teal) */
body.stitch .why-card{background:var(--st-teal);border-radius:10px}
body.stitch .why-card .wc-eyebrow{font-family:'Ubuntu Mono',monospace;color:#a8d4c8}
body.stitch .why-card .wc-stat .k{font-family:'Oswald',sans-serif;color:var(--st-orange)}
body.stitch .why-card .wc-stat .v,body.stitch .why-card p{color:#c8d7d0}
/* form card */
body.stitch .testform{border-radius:10px;border:1px solid var(--st-line);box-shadow:0 26px 54px -32px rgba(10,48,47,.45)}
body.stitch .tf-head{background:var(--st-teal)}
body.stitch .tf-head::after{background:radial-gradient(circle,rgba(47,125,67,.28),transparent 70%)}
body.stitch .tf-head h3{color:#fff;letter-spacing:.02em}
body.stitch .tf-head p{color:#bdd1ca}
body.stitch .tf-body{background:var(--st-cream)}
body.stitch .field>label:not(.consent){font-weight:700;color:var(--st-teal);text-transform:uppercase;font-size:12px;letter-spacing:.05em}
body.stitch .consent{font-size:13px;text-transform:none;font-weight:400;letter-spacing:0;color:var(--st-ink)}
body.stitch .field .hint{text-transform:none;font-weight:400;letter-spacing:0;color:var(--st-muted)}
body.stitch .field input[type=text],body.stitch .field input[type=email]{background:#fff;border:1.5px solid var(--st-line);border-radius:6px;color:var(--st-ink)}
body.stitch .field input:focus{border-color:var(--st-orange);box-shadow:0 0 0 3px rgba(47,125,67,.18);background:#fff}
body.stitch .input-wrap>svg{color:#9a988a}
/* app tiles */
body.stitch .choice-tile{background:#fff;border:1.5px solid var(--st-line);border-radius:8px}
body.stitch .choice-tile:hover{border-color:var(--st-orange);background:#fff}
body.stitch .choice-tile img{border-radius:6px}
body.stitch .choice-tile .ct-txt b{color:var(--st-ink)}
body.stitch .choice-tile .ct-txt span{color:var(--st-muted)}
body.stitch .choice-tile:has(input:checked){border-color:var(--st-orange);background:#eef7ea;box-shadow:0 0 0 3px rgba(47,125,67,.14)}
body.stitch .choice-tile:has(input:checked) .tick{background:var(--st-orange);border-color:var(--st-orange)}
/* consent, trust, alerts */
body.stitch .consent{background:#fff;border:1px solid var(--st-line);border-radius:8px}
body.stitch .consent a{color:var(--st-orange-deep)}
body.stitch .trust-row svg{color:var(--st-orange)}
body.stitch .alert.ok{background:#e7f2e4;border-color:#bdd9b6;color:var(--st-teal)}

/* ---- Stitch: whole-site component coverage ---- */
body.stitch .cta-band h2,body.stitch .privacy h2,body.stitch .app-hero h1,body.stitch .invite-inner h2,body.stitch .app-card h3,body.stitch .feature h3{
  font-family:'Oswald',sans-serif;text-transform:uppercase;letter-spacing:.01em;font-weight:600}
body.stitch .app-hero h1{color:var(--st-teal)}
body.stitch .tagline{color:var(--st-orange-deep);font-family:'DM Serif Display',serif}
body.stitch .back-link{color:var(--st-muted)}
body.stitch .hero-trust svg{color:var(--st-orange)}
/* app cards → cream, teal titles, orange tags */
body.stitch .app-card{background:var(--st-cream);border:1px solid var(--st-line);border-radius:10px}
body.stitch .app-card:hover{box-shadow:0 26px 50px -30px rgba(10,48,47,.35)}
body.stitch .app-card .icn{border-radius:8px}
body.stitch .app-card .tag{color:var(--st-orange-deep)}
body.stitch .app-card h3{color:var(--st-teal)}
body.stitch .app-card p{color:#55564d}
body.stitch .app-card .more{color:var(--st-orange-deep)}
/* feature cards */
body.stitch .feature{background:var(--st-cream);border:1px solid var(--st-line);border-radius:8px}
body.stitch .feature .f-ic{background:#e6f3e9;border-radius:6px}
body.stitch .feature .f-ic svg{color:var(--st-orange)}
body.stitch .feature h3{color:var(--st-teal)}
body.stitch .feature p{color:#57584e}
body.stitch .gallery{background:var(--st-cream);border-color:var(--st-line)}
body.stitch .shot .cap{color:var(--st-muted)}
/* privacy panel → deep teal, orange accents */
body.stitch .privacy{background:var(--st-teal);border:none;color:#e7efe9}
body.stitch .privacy h2{color:#fff}
body.stitch .privacy h2 em{color:var(--st-orange)}
body.stitch .privacy .p-lede{color:#c7d5ce}
body.stitch .privacy .eyebrow{color:#a8d4c8}
body.stitch .privacy-item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
body.stitch .privacy-item .pi-ic{background:rgba(255,255,255,.1);box-shadow:none}
body.stitch .privacy-item svg{color:var(--st-orange)}
body.stitch .privacy-item h4{color:#fff}
body.stitch .privacy-item p{color:#b7c7bf}
/* stats */
body.stitch .stat .k{font-family:'Oswald',sans-serif;color:var(--st-teal)}
body.stitch .stat .v{color:#57584e}
/* invite band → flat teal + orange button */
body.stitch .invite-inner{background:var(--st-teal)}
body.stitch .invite-inner::before{background:radial-gradient(circle,rgba(47,125,67,.28),transparent 60%)}
body.stitch .invite-inner .eyebrow{color:#a8d4c8}
body.stitch .invite-inner .btn{background:#fff;color:var(--st-orange-deep)}
body.stitch .invite-inner .btn:hover{background:#eef7ea}
/* cta band + disclaimer */
body.stitch .cta-band h2{color:var(--st-teal)}
body.stitch .cta-band p{color:#57584e}
body.stitch .disclaimer{background:#fff;border-color:var(--st-line);color:var(--st-muted)}
/* family chip (diary) */
body.stitch .family-chip{background:#fff;border-color:var(--st-line)}

/* ===== Print / PDF ===== */
@media print{
  .site-nav{position:static;background:#fff;border:none}
  .nav-links,.hero-cta,.app-hero-cta,.hero::before,.phones,.gallery,.hero-dots,.install-shots{display:none!important}
  .hero,.hero.app-hero{background:#fff}
  .hp{display:none!important}
  body{background:#fff}
  .join-grid{grid-template-columns:1fr}
  /* never hide revealed content in print */
  .js .sec-head,.js .app-card,.js .feature,.js .step-card,.js .stat,.js .privacy-item,.js .why-card,.js .testform,.js .cta-inner,.js .benefit{opacity:1!important;transform:none!important}
  .invite-inner{background:#eef7ea!important;color:var(--forest)!important}
  /* keep card colours in print */
  .app-card,.privacy,.why-card,.tf-head,.step-card .n{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* belt-and-braces: never let an image or icon exceed its box in print */
  .b-ic svg,.f-ic svg,.tick svg,.trust-row svg,.hero-trust svg,.privacy-item svg{max-width:24px;max-height:24px}
  .app-card .icn,.choice-tile img,.app-hero .icn,.brand img,.family-chip img{max-width:52px!important;max-height:52px!important}
  section,.section{padding:24px 0!important;break-inside:avoid}
}
