/* ============================================================
   THE BINDER, WARMER (loads after the ORIGINAL styles.css)
   New: the left spine, the right-hand tabs, titles in the left margin, a title-page hero, stacked cards, and motion.
   Kept from the old site: rounded cards, pill buttons and chips, the green glow, the calculator, the hand-drawn underline.
   ============================================================ */
:root { --edge: 60px; }
/* The same cream as before, a touch less warm */
:root { --cream: #FAF9F6; --cream-2: #F2F0EB; --line: #E5E2DA; }
.screen { background: #F1F0EC; } .screen-top { border-bottom-color: #E9E7E1; }
html { scroll-padding-top: 24px; }
body { padding-inline: 0 var(--edge); }
.header, .progress { display: none !important; }

/* ---------- The name: a big lockup on the first screen, then a small pill that follows quietly ---------- */
.lockup { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); text-decoration: none; color: var(--ink);  }
.topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px clamp(40px, 6vw, 96px); padding-bottom: clamp(14px, 2vw, 24px); margin-bottom: 0; border-bottom: 2px solid var(--green); }
.topline .eyebrow { margin: 0 0 .35em; text-align: right; justify-content: flex-end; font-family: var(--font); font-style: normal; font-weight: 600; font-size: clamp(15.5px, 1.55vw, 22px); letter-spacing: -.005em; text-transform: none; color: var(--ink); line-height: 1.2; gap: 12px; white-space: nowrap; flex: none; }
.topline .eyebrow::before { display: none !important; }
@media (max-width: 1240px) { .topline { flex-direction: column; align-items: flex-start; gap: 14px; } .topline .eyebrow { text-align: left; justify-content: flex-start; margin: 0; white-space: normal; text-wrap: balance; font-size: clamp(15px, 2.1vw, 20px); } }
@media (max-width: 600px) { .topline .eyebrow { font-size: clamp(12.5px, 3.6vw, 16px); } }
.lockup img { height: clamp(46px, 6.4vw, 92px); width: auto; flex: none; }
.lockup b { display: block; font-weight: 800; font-size: clamp(30px, 4.6vw, 64px); letter-spacing: .01em; line-height: .95; text-transform: uppercase; }
.lockup > span { display: block; text-align: center; }
.lockup small { display: block; font-weight: 700; font-size: clamp(10.5px, 1.2vw, 15px); letter-spacing: .36em; padding-left: .36em; text-transform: uppercase; color: var(--green-ink); margin-top: .32em; }
.follow { position: fixed; top: 16px; left: 16px; z-index: 70; display: flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(250, 249, 246, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .35); text-decoration: none; color: var(--ink); font-weight: 800; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.follow img { width: 26px; height: auto; }
.past-lockup .follow { opacity: 1; transform: none; pointer-events: auto; }
.no-io .follow { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Right edge: binder tabs ---------- */
.rail { position: fixed; right: 0; top: 0; bottom: 0; width: var(--edge); border-left: 1px solid var(--ink); background: var(--cream); z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.rail a { writing-mode: vertical-rl; width: calc(100% + 12px); margin-left: -12px; padding: 16px 0; text-align: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--cream-2); border: 1px solid var(--ink); border-right: 0; border-radius: 14px 0 0 14px; transition: background .25s, color .25s, margin .25s var(--ease), width .25s var(--ease); white-space: nowrap; }
.rail a:hover { background: var(--green-soft); margin-left: -18px; width: calc(100% + 18px); }
.rail a.on { background: var(--ink); color: #fff; margin-left: -20px; width: calc(100% + 20px); }
.rail a.talk { background: var(--green-ink); color: #fff; margin-top: 12px; }
.rail a.talk:hover { background: var(--green-deep); }
@media (min-width: 1000px) { .rail a { padding: 12px 0; font-size: 12px; } .rail { gap: 6px; overflow-y: auto; scrollbar-width: none; } .rail a.talk { margin-top: 8px; } }
@media (min-width: 1000px) and (max-height: 920px) { .rail a { font-size: 11px; padding: 8px 0; } .rail { gap: 4px; } .rail a.talk { margin-top: 6px; } }

/* ---------- Frame ---------- */
.wrap, .wrap--narrow { width: auto; max-width: 1260px; margin-inline: auto; padding-inline: clamp(22px, 4vw, 64px); }
main { counter-reset: sec; }
main > section:not(.hero) { counter-increment: sec; }
.eyebrow::before { content: counter(sec, decimal-leading-zero); width: auto; height: auto; background: none !important; border-radius: 0; color: var(--green-ink); font-weight: 800; margin-right: 6px; }
.tools .eyebrow::before { color: #4ADE9B; } .person .eyebrow::before { color: #B8F0D5; }
.hero .eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--green) !important; border-radius: 3px; margin-right: 0; }

/* ---------- Section titles in the left margin ---------- */
@media (min-width: 1000px) {
  .mh { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: clamp(36px, 5vw, 80px); align-items: start; }
  .mh > .section-head { display: contents; }
  .mh .section-head .eyebrow { grid-column: 1; grid-row: 1; margin: 0 0 18px; }
  .mh .section-head h2 { grid-column: 1; grid-row: 2 / span 14; align-self: start; position: sticky; top: 78px; font-size: clamp(27px, 2.5vw, 38px); line-height: 1.06; text-align: left; }
  .mh .section-head .voice { grid-column: 2; grid-row: 1; margin: 0 0 40px; max-width: 34em; text-align: left; }
  .mh > :not(.section-head) { grid-column: 2; }
  .mh > .faq { grid-row: 1 / span 15; }
}
.mh .section-head, .mh .section-head.center { text-align: left; margin-inline: 0; max-width: none; }
.center .eyebrow { justify-content: flex-start; }
.wrap--narrow.mh { max-width: 1260px; width: auto; }
.custom .chips { justify-content: flex-start; margin: 0 0 30px; }
.flow { max-width: none; }
.own { margin-left: 0; text-align: left; max-width: none; }

/* ---------- Hero: a title page with a big mark behind it ---------- */
.hero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.hero .wrap > div:first-child { display: contents; }
.hero::before { transform: translateY(calc(var(--sy, 0) * .08px)); }
.hero .topline { grid-column: 1 / -1; grid-row: 1; }
.hero h1 { grid-column: 1 / -1; grid-row: 2; font-size: clamp(60px, 12.4vw, 190px); line-height: .92; letter-spacing: -.055em; margin: 0 0 .22em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .34em; margin-bottom: -.34em; }
.hero h1 .li { display: inline-block; animation: rise .9s var(--ease) both; }
.hero h1 .ln:nth-child(2) .li { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero h1 .hl { white-space: nowrap; }
.hero h1 .hl svg { left: 0; width: 100%; bottom: -.17em; height: .3em; }
.hero .hero-copy { grid-column: 1 / 8; grid-row: 3; margin: 0 0 28px; }
.hero .hero-copy .voice { margin: 0; max-width: none; }
.hero .subhead { margin: 0 0 14px; max-width: 30em; font-family: var(--font); font-weight: 600; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.28; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.hero-cta { grid-column: 1 / 8; grid-row: 4; }
.hero-trust { grid-column: 9 / -1; grid-row: 3 / span 2; flex-direction: column; align-self: start; gap: 12px; margin: 6px 0 0; }
.hero .demo { grid-column: 1 / -1; grid-row: 5; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; margin-top: clamp(36px, 5vw, 72px); }
.demo > div:last-child { grid-column: 1 / 7; grid-row: 1; }
.demo .chips-label { text-align: left; }
.demo .chips { justify-content: flex-start; margin-top: 12px; }
.demo .phone { grid-column: 8 / 12; grid-row: 1; justify-self: center; transform: rotate(calc(var(--tilt, 2.2) * 1deg)); transition: transform .12s linear; }
.demo .phone:hover { transform: rotate(0deg); }

/* ---------- More green up front: a wash behind the hero, a green stage for the demo, a green band after it ---------- */
.hero { background: linear-gradient(176deg, #E4F4EB 0%, #F2F9F5 28%, var(--cream) 58%); }
.hero::before { background: radial-gradient(circle at 70% 30%, rgba(12, 153, 87, .12), transparent 58%); }
.hero-trust li { background: #fff; padding: 9px 16px 9px 10px; border-radius: 999px; box-shadow: 0 8px 20px -14px rgba(7, 94, 54, .6); color: var(--ink-soft); }
.hero .demo { background: linear-gradient(140deg, var(--green-ink) 0%, var(--green-deep) 100%); border-radius: 40px; padding: clamp(28px, 4.4vw, 64px); position: relative; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(7, 94, 54, .8); }
.hero .demo::before { content: ""; position: absolute; left: 62%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(74, 222, 155, .38), transparent 66%); pointer-events: none; }
.hero .demo > * { position: relative; }
.demo .chips-label { color: #BFEBD3; }
.demo-note { margin: 22px 0 0; max-width: 28em; font-size: 14.5px; line-height: 1.5; color: #CBEFDD; }
.demo-line { font-family: var(--serif); font-style: italic; font-weight: 400; color: #fff; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.32; margin: 0 0 clamp(26px, 3.4vw, 46px); max-width: 17em; }
.demo .chip, .custom .chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .42); color: #fff; }
.demo .chip:hover, .custom .chip:hover { border-color: #fff; background: rgba(255, 255, 255, .2); }
.demo .chip[aria-pressed="true"], .custom .chip[aria-pressed="true"], .demo .chip[aria-selected="true"], .custom .chip[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--green-deep); }

.custom { background: linear-gradient(160deg, var(--green-ink) 0%, var(--green-deep) 100%); border-block: 0; position: relative; overflow: clip; color: #fff; }
.custom::before { content: ""; position: absolute; left: -12%; bottom: -30%; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(74, 222, 155, .26), transparent 65%); pointer-events: none; }
.custom .wrap { position: relative; }
.custom h2 { color: #fff; }
.custom .voice { color: #D3F1E2; }
.custom .eyebrow, .custom .eyebrow::before { color: #B8F0D5; }
.custom .flow-arrow { color: #B8F0D5; }
.custom .flow-step--result { box-shadow: 0 0 0 4px rgba(255, 255, 255, .3), var(--shadow); }
.custom .flow-note { color: #BFEBD3; }
.custom .own label { color: #fff; }
.custom .btn--primary { background: #fff; color: var(--green-deep); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.custom .btn--primary:hover { background: var(--green-soft); }

.shift { background: var(--green-soft); border-block: 0; }

/* ---------- "Sound familiar": four cards that stack as you scroll, both sides showing ---------- */
.switch-row { display: none; }
.moments { display: block; }
.moment, .is-with .moment { position: sticky; top: calc(34px + var(--i, 0) * 20px); display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); column-gap: 26px; row-gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px 30px 32px; margin-bottom: 26px; box-shadow: var(--shadow); align-items: start; }
.moment:nth-child(1) { --i: 0; } .moment:nth-child(2) { --i: 1; } .moment:nth-child(3) { --i: 2; } .moment:nth-child(4) { --i: 3; }
.moment .face { position: static; grid-column: 1; grid-row: 1 / span 2; font-size: 44px; }
.moment time { display: none; }
.moment h3 { grid-column: 2 / -1; margin: 0; font-size: 24px; }
.moment .without, .moment .with, .is-with .moment .without, .is-with .moment .with { display: block !important; margin: 0; animation: none !important; }
.moment .without { grid-column: 2; color: var(--muted); }
.moment .with { grid-column: 3; background: var(--green-soft); border-radius: 16px; padding: 16px 18px; color: var(--ink); }
.moment .without::before, .moment .with::before { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.moment .without::before { content: "An ordinary day"; }
.moment .with::before { content: "With an assistant"; color: var(--green-ink); }

/* ---------- Examples: keep the dark band, make the tabs a side list ---------- */
.tools::before { transform: translateY(calc(var(--sy, 0) * -.05px)); }

/* ---------- Contact form: business and team size side by side ---------- */
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: end; }
.f-row label { white-space: nowrap; }
.form-card select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F48' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }

/* ---------- Larger teams ---------- */
.teams { background: #fff; border-block: 1px solid var(--line); }
.teams-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.teams-grid li { display: flex; gap: 16px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; font-weight: 700; font-size: 17px; transition: transform .3s var(--ease), box-shadow .3s; }
.teams-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.teams-grid i { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; }
.teams-grid i svg { width: 22px; height: 22px; }
.teams-grid small { display: block; font-weight: 500; font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin-top: 6px; }
.teams-cta { display: flex; align-items: center; gap: 22px 28px; flex-wrap: wrap; margin-top: 30px; }
.teams-cta p { margin: 0; flex: 1 1 280px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 760px) { .teams-grid { grid-template-columns: 1fr; } }

/* ---------- Dark bands rise like a sheet as they arrive ---------- */
[data-curtain] { border-radius: calc((1 - var(--k, 1)) * 72px) calc((1 - var(--k, 1)) * 72px) 0 0; }

/* ---------- The calculator: the old look, with an entrance ---------- */
.calc-out { transform: scale(calc(.93 + var(--cp, 1) * .07)) rotate(calc((1 - var(--cp, 1)) * -2.4deg)); transform-origin: 20% 80%; transition: transform .2s linear; }
.calc-out::after { transform: scale(calc(.6 + var(--cp, 1) * .5)); transition: transform .3s ease-out; }
.calc-inputs { transform: translateX(calc((1 - var(--cp, 1)) * -28px)); opacity: calc(.4 + var(--cp, 1) * .6); }

/* ---------- Motion: things arrive from the side they belong to ---------- */
.m { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--md, 0s); }
.m.m-up { opacity: 0; transform: translateY(34px); }
.m.m-left { opacity: 0; transform: translateX(-34px); }
.m.in { opacity: 1; transform: none; }
.chips .chip { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease), background .2s, border-color .2s, color .2s; transition-delay: calc(var(--ci, 0) * 45ms); }
.chips.in .chip { opacity: 1; transform: none; }
.chips.in .chip:hover { transform: translateY(-1px); }

/* ---------- Tablets and phones: the tabs move to a bar along the bottom ---------- */
@media (max-width: 999px) {
  :root { --edge: 0px; }
  body { padding-bottom: 60px; }
  .rail { inset: auto 0 0 0; width: auto; height: 58px; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 0 10px; border-left: 0; border-top: 1px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail a { writing-mode: horizontal-tb; width: auto; margin: 0; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; flex: none; font-size: 12px; }
  .rail a:hover, .rail a.on { margin: 0; width: auto; }
  .rail a.talk { margin: 0; }
  .hero .topline, .hero h1, .hero .hero-copy, .hero-cta, .hero-trust, .hero .demo { grid-column: 1 / -1; }
  .hero .topline { grid-row: 1; flex-direction: column; align-items: flex-start; } .topline .eyebrow { text-align: left; justify-content: flex-start; margin: 14px 0 0; } .hero h1 { grid-row: 2; } .hero .hero-copy { grid-row: 3; } .hero-cta { grid-row: 4; } .hero-trust { grid-row: 5; margin: 28px 0 0; } .hero .demo { grid-row: 6; display: flex; flex-direction: column; gap: 28px; }
  .demo .phone { align-self: center; }
  .moment, .is-with .moment { grid-template-columns: 1fr; position: static; }
  .moment .face { grid-column: 1; grid-row: auto; }
  .moment h3, .moment .without, .moment .with { grid-column: 1; }
  .mh .section-head h2 { margin: 0 0 14px; }
  .calc-out, .calc-inputs { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .li { animation: none; }
  .m.m-up, .m.m-left, .chips .chip { opacity: 1; transform: none; }
  .moment { position: static; }
  .hero::before, .calc-out, .calc-out::after, .calc-inputs { transform: none; }
}
@media print { .follow, .rail { display: none; } }
