/* repeatcoach.com — shared styles. Colors match the app. */
:root {
  --ink: #17181b;
  --ink-soft: #2a2c31;
  --text: #1f2023;
  --muted: #5c5f66;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --lime: #a6e07f;
  --lime-deep: #2f7a25;
  --lime-soft: #e9f7df;
  --lavender: #b8a6f2;
  --lavender-soft: #efeafd;
  --yellow: #f7d454;
  --yellow-soft: #fdf4cf;
  --coral: #ff7a59;
  --border: #e6e2d8;
  --radius: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lime-deep); }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--ink-soft); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; }

/* Floating pill nav */
.nav-shell { position: sticky; top: 14px; z-index: 50; padding: 0 14px; }
.nav {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 24px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 8px 8px 22px;
  box-shadow: 0 8px 30px rgba(23,24,27,.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--lime-deep); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 16px; white-space: nowrap; }
@media (max-width: 420px) { .nav .btn { padding: 0 16px; font-size: 15px; } .brand { font-size: 19px; } }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
}

/* Hero */
.hero { padding: 56px 0 32px; text-align: center; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-deep); background: var(--lime-soft); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 104px); font-weight: 800; margin: 20px auto 0; letter-spacing: -0.035em; }
@media (min-width: 700px) { .hero h1 { white-space: nowrap; } }
.hl { background: var(--lime); border-radius: 16px; padding: 0 .04em 0 .08em; margin-right: .01em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lede { font-size: clamp(18px, 2.2vw, 23px); color: var(--muted); max-width: 54ch; margin: 20px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Phone mockups */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin-top: 56px; padding: 0 0 8px; }
.phone {
  width: 250px; flex-shrink: 0; background: var(--ink); border-radius: 42px; padding: 10px;
  box-shadow: 0 30px 60px rgba(23,24,27,.18);
}
.phone .screen { background: #fbfaf7; border-radius: 33px; height: 500px; overflow: hidden; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.phone.side { width: 220px; }
.phone.side .screen { height: 440px; }
@media (max-width: 860px) { .phone.side { display: none; } }
.scr-title { font-size: 22px; font-weight: 600; color: var(--ink); }
.scr-sub { font-size: 12px; color: var(--muted); }
.card-mini { background: #fff; border: 1px solid #eee9df; border-radius: 18px; padding: 12px; }
.ring { width: 118px; height: 118px; margin: 4px auto; }
.macro-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.macro { border-radius: 12px; padding: 8px; font-size: 11px; color: var(--muted); }
.macro b { display: block; font-size: 15px; color: var(--ink); }
.m-p { background: var(--lime-soft); } .m-c { background: var(--yellow-soft); } .m-f { background: var(--lavender-soft); }
.food { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); }
.food i { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.food span { margin-left: auto; color: var(--muted); font-size: 12px; }
.set { display: grid; grid-template-columns: 22px 1fr 1fr 30px; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.set .in { background: #f1efe9; border-radius: 8px; padding: 6px; text-align: center; color: var(--ink); font-weight: 500; }
.set .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); }
.chip-sm { display: inline-block; background: var(--lime-soft); color: var(--lime-deep); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }

/* Goal chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chip { background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 18px; font-weight: 500; color: var(--ink); }

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 19px; color: var(--muted); }
.panel { border-radius: 40px; padding: 72px 0; }
.panel-lime { background: var(--lime-soft); }
.panel-lav { background: var(--lavender-soft); }
.panel-ink { background: var(--ink); color: #e9e9ec; }
.panel-ink h2, .panel-ink h3 { color: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.step h3 { font-size: 24px; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.features { display: flex; flex-direction: column; gap: 22px; }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 36px; padding: 40px; }
.feature.flip .feature-art { order: -1; }
.feature h3 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.feature p { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 46ch; }
.feature-art { border-radius: 28px; min-height: 260px; display: grid; place-items: center; padding: 24px; }
.art-lime { background: var(--lime-soft); } .art-lav { background: var(--lavender-soft); } .art-yel { background: var(--yellow-soft); } .art-cream { background: #f1eee6; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; padding: 26px; }
  .feature.flip .feature-art { order: 0; }
}

/* Audience cards */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.aud { border-radius: var(--radius); padding: 32px; }
.aud h3 { font-size: 26px; }
.aud p { margin-top: 12px; color: var(--ink-soft); }
.aud-1 { background: var(--lime); } .aud-2 { background: var(--lavender); } .aud-3 { background: var(--yellow); }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(40px, 6vw, 64px); font-weight: 800; color: var(--lime); letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: #c9cbd1; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 36px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 20px; }
.plan { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; }
.plan.best { border: 2.5px solid var(--ink); }
.plan .tag { position: absolute; top: -14px; left: 28px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.price { margin-top: 12px; font-size: 48px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price small { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan p { margin-top: 6px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2317181B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.fine { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 19px; color: var(--ink); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Signup band */
.signup { background: var(--lime); border-radius: 40px; padding: 64px 28px; text-align: center; }
.signup h2 { font-size: clamp(34px, 5.5vw, 60px); font-weight: 800; }
.signup p { margin-top: 12px; font-size: 19px; color: var(--ink-soft); }
.signup-form { margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 520px; }
.signup-form label { position: absolute; left: -9999px; }
.signup-form input { flex: 1 1 260px; min-height: 52px; border-radius: 999px; border: 2px solid var(--ink); padding: 0 22px; font: inherit; font-size: 17px; background: #fff; color: var(--ink); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 18px; text-decoration: none; min-height: 52px; }
.store:hover { color: #fff; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store b { display: block; font-size: 17px; font-weight: 600; line-height: 1.15; }

/* Footer */
footer { padding: 72px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 15px; color: var(--ink); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-about p { color: var(--muted); margin-top: 12px; max-width: 32ch; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.bigword { font-size: clamp(64px, 19vw, 250px); font-weight: 800; color: var(--ink); letter-spacing: -0.05em; line-height: .85; margin-top: 36px; text-align: center; overflow: hidden; white-space: nowrap; }
.bigword span { color: var(--lime); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* Legal / support documents */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 20px 40px; }
.doc h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; }
.doc .meta { margin-top: 12px; color: var(--muted); }
.doc h2 { font-size: 28px; font-weight: 700; margin: 44px 0 12px; }
.doc h3 { font-size: 20px; font-weight: 600; margin: 26px 0 8px; }
.doc p { margin: 12px 0; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 6px 0; }
.doc .callout { background: var(--lime-soft); border-radius: 22px; padding: 22px 26px; margin: 28px 0; }
.doc .callout ul { margin: 6px 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: #fff; margin: 14px 0; }
.doc table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: #faf8f3; font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toc a { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: 15px; }

/* Real app screenshots in a phone frame (390 x 844 screens) */
.shot { flex-shrink: 0; width: 250px; aspect-ratio: 390 / 844; border-radius: 42px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 28px 60px rgba(23,24,27,.20); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot.sm { width: 210px; border-radius: 36px; border-width: 8px; }
.shot.xs { width: 180px; border-radius: 32px; border-width: 7px; }

/* Hero fan of screens */
.hero-shots { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 48px; }
.hero-shots .shot { width: 232px; }
.hero-shots .shot:nth-child(2) { width: 272px; }
@media (max-width: 760px) { .hero-shots .shot:nth-child(1), .hero-shots .shot:nth-child(3) { display: none; } .hero-shots .shot:nth-child(2) { width: 250px; } }

/* Feature rows with screenshots */
.feature-shots { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 28px 16px; border-radius: 28px; }
.feature .tag-ai { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime-deep); background: var(--lime-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.feature ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); }
.feature li { display: flex; gap: 10px; }
.feature li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); margin-top: 9px; flex-shrink: 0; }
@media (max-width: 860px) {
  .feature { padding: 18px; gap: 18px; }
  .feature-shots { padding: 18px 8px; gap: 10px; }
  .feature-shots .shot { width: 48%; border-width: 6px; border-radius: 26px; }
  .feature-shots .shot:only-child { width: 74%; border-radius: 32px; }
}

/* Steps with screenshots */
