/* ShiftChores — the sales site (shiftchores.com). Same brand as the app: navy into seafoam teal, Nunito headings. */
:root {
  --navy: #0b2559;
  --navy-2: #163a7a;
  --teal: #4aa898;
  --teal-deep: #1f7f70;
  --ink: #0b2559;
  --text: #2b2f38;
  --muted: #5f6470;
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --line: #e4e1db;
  --line-strong: #cfcac1;
  --gold-soft: #fbf4e4;
  --stripe: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 35%, var(--teal) 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 89, .08);
  --shadow-lg: 0 30px 70px rgba(11, 37, 89, .18);
  --font-heading: 'Nunito', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 48rem; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: .75rem; }
.eyebrow.light { color: #9fe0d4; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: .5rem .8rem; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .65rem 1.15rem; border-radius: 10px;
  font-weight: 700; font-size: .92rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.big { min-height: 52px; padding: .8rem 1.5rem; font-size: 1rem; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top::before { content: ''; display: block; height: 4px; background: var(--stripe); }
.top-row { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand img { height: 38px; width: auto; display: block; }
.top-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.top-nav a:hover { color: var(--teal-deep); }
.top-cta { display: flex; gap: .6rem; }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 4rem; background: radial-gradient(60rem 30rem at 85% 10%, #e6f4f1 0%, transparent 60%), radial-gradient(40rem 25rem at 0% 100%, #eef3fb 0%, transparent 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.lead { font-size: 1.18rem; margin: 1.25rem 0 1.75rem; max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.hero-art { position: relative; justify-self: center; padding: 1.5rem 2.5rem 2rem; }

/* The drawn phone */
.phone { width: 300px; border-radius: 40px; background: #0d1830; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #0d1830; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { background: var(--paper-2); border-radius: 30px; padding: 36px 12px 16px; display: grid; gap: 8px; min-height: 540px; align-content: start; }
.m-shift { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--c) 12%, #fff); box-shadow: inset 0 4px 0 var(--c); }
.m-shift strong { display: block; font-family: var(--font-heading); color: var(--ink); font-size: 1rem; }
.m-label { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.m-tag { display: inline-block; margin-top: 3px; font-size: .68rem; font-weight: 700; color: #fff; background: var(--c); padding: 2px 8px; border-radius: 999px; }
.m-ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: conic-gradient(var(--c) 0 60%, #dfe5f0 60% 100%); position: relative; flex: none; }
.m-ring::before { content: ''; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.m-ring b, .m-ring small { position: relative; line-height: 1; color: var(--ink); }
.m-ring b { font-family: var(--font-heading); font-size: .95rem; }
.m-ring small { font-size: .55rem; color: var(--muted); }
.m-points { font-size: .72rem; color: var(--muted); padding: 2px 4px 4px; }
.m-points b { color: var(--teal-deep); font-size: .85rem; }
.m-chore { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #c2410c; font-size: .78rem; }
.m-chore b { display: block; color: var(--ink); font-size: .82rem; }
.m-chore small { color: var(--muted); font-size: .68rem; }
.m-chore > span:nth-child(2) { flex: 1; min-width: 0; }
.m-chore em { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 6px 9px; border-radius: 7px; }
.m-chore.done { background: #e9f6ee; border-color: #bfdccb; border-left-color: #2e7d4f; }
.m-chore.group { border-left-color: #1d4ed8; background: #f3f6fd; }
.m-tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-size: .8rem; flex: none; background: #fff; }
.m-chore.done .m-tick { background: #2e7d4f; border-color: #2e7d4f; color: #fff; }
.float-card { position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; box-shadow: var(--shadow); font-size: .8rem; font-weight: 600; color: var(--ink); }
.float-card small { display: block; font-weight: 500; color: var(--muted); }
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.fc-1 { top: -.4rem; left: -3.5rem; }
.fc-2 { bottom: -1.2rem; right: -2.5rem; }

/* ---------- Bands and sections ---------- */
.band { background: var(--navy); color: #dfe6f3; padding: 2.25rem 0; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.three b { display: block; font-family: var(--font-heading); color: #fff; font-size: 1.15rem; margin-bottom: .3rem; }
.section { padding: 5.5rem 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.08rem; color: var(--muted); }

/* How it works: the setup map */
.map { max-width: 60rem; margin: 0 auto; padding: 1.75rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.map-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.map-col { display: grid; align-content: start; }
.map-title { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.node { position: relative; display: grid; gap: .15rem; padding: .75rem .95rem .8rem 2.8rem; border-radius: 12px; border: 1px solid var(--line); background: #eef3fb; box-shadow: inset 4px 0 0 var(--navy-2); }
.node b { font-family: var(--font-heading); color: var(--navy); font-size: 1.05rem; }
.node span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.node i { position: absolute; left: .75rem; top: .78rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; color: #fff; background: var(--navy-2); }
.node.org { padding-left: .95rem; background: var(--navy); border-color: var(--navy); box-shadow: none; }
.node.org b { color: #fff; }
.people .node { background: #e9f5f2; box-shadow: inset 4px 0 0 var(--teal-deep); }
.people .node i { background: var(--teal-deep); }
.arrow { justify-self: center; width: 2px; height: 1.2rem; background: var(--line-strong); position: relative; margin: .15rem 0 .4rem; }
.arrow::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; border-right: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); transform: translateX(-50%) rotate(45deg); }
.map-note { margin-top: 1rem; padding: .7rem .9rem; border: 1px dashed var(--teal-deep); border-radius: 10px; font-size: .88rem; color: var(--teal-deep); }
.meet { display: flex; align-items: center; gap: .8rem; margin: 1.4rem 0 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meet::before, .meet::after { content: ''; flex: 1; height: 2px; background: var(--line-strong); }
.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
.day li { position: relative; display: grid; align-content: start; gap: .1rem; padding: .75rem; border-radius: 12px; background: var(--gold-soft); border: 1px solid var(--line); text-align: center; }
.day b { font-family: var(--font-heading); color: var(--navy); }
.day span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.day li + li::before { content: '›'; position: absolute; left: -.5rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ind { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.3rem; box-shadow: inset 0 4px 0 var(--c); }
.ind h3 { font-size: 1.05rem; }
.ind .shifts { display: inline-block; margin: .5rem 0 .6rem; font-size: .74rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); padding: .2rem .6rem; border-radius: 999px; }
.ind p:last-child { font-size: .9rem; color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; max-width: 62rem; margin: 0 auto; }
.feat { padding: 1rem 0 1rem 1.1rem; border-left: 3px solid var(--teal); }
.feat p { margin-top: .35rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3rem; }
.badges img { width: 72px; height: 72px; border-radius: 50%; }

/* Pricing */
.interval { display: flex; justify-content: center; gap: 0; margin: 0 auto 2rem; width: max-content; border: 1.5px solid var(--navy); border-radius: 12px; overflow: hidden; }
.interval button { border: 0; background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: .9rem; padding: .6rem 1.1rem; cursor: pointer; }
.interval button small { font-weight: 600; color: var(--teal-deep); margin-left: .25rem; }
.interval button.on { background: var(--navy); color: #fff; }
.interval button.on small { color: #9fe0d4; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.plan { position: relative; display: grid; align-content: start; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem; }
.plan.popular { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.pop { position: absolute; top: -.75rem; left: 1.3rem; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; }
.who { color: var(--muted); font-size: .9rem; }
.price { margin: .6rem 0 1rem; color: var(--ink); }
.price b { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; }
.price span { color: var(--muted); font-size: .9rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-family: var(--font-heading); font-weight: 800; color: var(--ink); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--teal-deep); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin-top: .6rem; color: var(--muted); }

/* Early access */
.cta-band { background: var(--navy); background-image: radial-gradient(50rem 20rem at 100% 0%, rgba(74, 168, 152, .35), transparent 60%); color: #dfe6f3; padding: 4.5rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 1rem; max-width: 38rem; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.cta-actions { display: grid; gap: .7rem; justify-items: start; }
.cta-band a:not(.btn) { color: #9fe0d4; }

/* Footer */
.foot { background: #071a40; color: #b9c3d6; padding: 3rem 0 1.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.foot-logo { height: 34px; width: auto; margin-bottom: .6rem; }
.foot nav { display: grid; gap: .45rem; align-content: start; }
.foot nav b { color: #fff; font-family: var(--font-heading); }
.foot a { color: #b9c3d6; text-decoration: none; font-size: .9rem; }
.foot a:hover { color: #fff; }
.foot-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
  .top-nav { display: none; }
  .top-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .industries, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .top-cta .ghost { display: none; }
  .top-row { height: 60px; }
  .brand img { height: 30px; }
  .top-cta .btn { min-height: 40px; padding: .5rem .8rem; font-size: .82rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-art { padding: 1rem 0; }
  .float-card { display: none; }
  .phone { width: 280px; }
  .three, .map-cols, .features, .industries, .plans, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 3.5rem 0; }
  .map { padding: 1rem; }
  .day { grid-template-columns: minmax(0, 1fr); }
  .day li { text-align: left; }
  .day li + li::before { content: '↓'; left: 50%; top: -.75rem; transform: translateX(-50%); font-size: .8rem; }
  .interval { width: 100%; }
  .interval button { flex: 1; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
