/* Sidekick Solutions, brand v2. Tokens first, then components. */
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #20352F;
  --ink-2: #2C463E;      /* raised surface on ink */
  --cream: #FBF7F1;
  --cream-2: #F3ECE2;    /* alternate band */
  --paper: #FFFFFF;
  --terra: #B66B52;      /* decoration only, never small text */
  --terra-dk: #984C36;   /* links, accent buttons */
  --muted: #4E5F59;      /* secondary text on cream */
  --on-ink-muted: #C9D3CE;
  --line: #D9D0C3;
  --line-ink: #46605A;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --pad: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  --band: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
a { color: var(--terra-dk); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--terra-dk); outline-offset: 3px; border-radius: 2px; }
.band-ink :focus-visible, .site-foot :focus-visible { outline-color: var(--cream); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: var(--cream); padding: .7rem 1rem; border-radius: var(--r); transition: top .15s; }
.skip:focus { top: 1rem; }

.label { font: 500 .78rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.label-h { font: 500 .82rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 38em; }
.fine { font-size: .92rem; color: var(--muted); }
.center { text-align: center; }

.preview-strip { background: var(--terra-dk); color: #fff; text-align: center; font: 500 .85rem/1.4 var(--sans); padding: .45rem 1rem; }
.tbc { text-decoration: underline dotted var(--terra-dk) 2px; text-underline-offset: 5px; }
.band-ink .tbc { text-decoration-color: var(--terra); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--r); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); color: var(--paper); }
.btn-terra { background: var(--terra-dk); color: var(--paper); }
.btn-terra:hover { background: #7E3E2C; color: var(--paper); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.tlink { font-weight: 600; color: var(--terra-dk); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.tlink:hover { color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: block; }
.brand img { width: 172px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; padding: .5rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--terra); }
.nav-cta { min-height: 44px; padding: .6rem 1.1rem; }
.burger { display: none; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem .8rem; background: none; border: 2px solid var(--ink); border-radius: var(--r); color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; }
.burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s; }
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
.burger-lines::before { top: -6px; } .burger-lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem var(--pad) 1.25rem; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); color: var(--terra-dk); }
  .nav-cta { margin-top: 1rem; }
  .brand img { width: 150px; }
}

/* bands */
.band { padding: var(--band) 0; }
.band-tight { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.band-cream2 { background: var(--cream-2); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink a:not(.btn) { color: var(--cream); }
.band-ink .lede, .band-ink p { color: var(--on-ink-muted); }
.band-ink h2, .band-ink h3 { color: var(--cream); }
.sec-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.sec-head .lede { color: var(--muted); }
.h2-wide { max-width: 18em; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

/* hero */
.hero { padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 clamp(4rem, 3rem + 5vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(2.5rem, 1rem + 5vw, 5.5rem); align-items: center; }
.hero h1 { max-width: 13.5em; }
.hero .lede { color: var(--muted); }
.hero h1::before { content: ""; display: block; width: 72px; height: 6px; background: var(--terra); margin-bottom: 1.75rem; }

/* the three "moments" */
.moments { margin: 0; position: relative; }
.moments .label { margin-bottom: 1rem; }
.moment { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem 1.2rem; box-shadow: 0 1px 0 rgba(32,53,47,.04), 0 10px 30px -18px rgba(32,53,47,.35); display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: end; }
.moment + .moment { margin-top: .9rem; }
.m2 { margin-left: clamp(0rem, -1rem + 4vw, 2.5rem); margin-right: clamp(0rem, -1rem + 4vw, -1rem); }
.m3 { margin-left: clamp(0rem, -1rem + 3vw, 1rem); }
.m-kind { grid-column: 1 / -1; font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--terra-dk); margin-bottom: .55rem; }
.m-main { grid-column: 1; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; margin: 0 0 .35rem; }
.m-row { grid-column: 1; display: flex; align-items: baseline; gap: .75rem; margin: 0 0 .35rem; }
.m-price { font-weight: 600; font-size: 1.15rem; }
.m-note { font-size: .88rem; color: var(--muted); }
.m-status { grid-column: 1; display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .92rem; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3E8A5E; flex: none; }
.m-btn { grid-column: 2; grid-row: 2 / span 3; align-self: center; background: var(--ink); color: var(--paper); font: 600 .9rem/1 var(--sans); padding: .7rem .95rem; border-radius: var(--r); white-space: nowrap; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .m2, .m3 { margin-left: 0; margin-right: 0; }
}
@media (max-width: 420px) {
  .moment { grid-template-columns: minmax(0, 1fr); }
  .m-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .8rem; }
}

/* compare */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, .5rem + 3vw, 3rem); }
.cmp-label { font: 500 .8rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cmp-new .cmp-label { color: var(--terra-dk); }
.mock { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem 1.5rem; min-height: 300px; }
.cmp-old .mock { filter: saturate(0); opacity: .9; }
.mk-bar { height: 10px; width: 34%; background: #E2DDD5; border-radius: 3px; margin-bottom: 1.4rem; }
.mk-h { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 .9rem; }
.mk-h.small { font-size: 1.05rem; margin-top: 1.4rem; }
.mk-line { height: 9px; background: #ECE7DF; border-radius: 3px; margin-bottom: .55rem; }
.mk-line.short { width: 60%; }
.mk-field { height: 30px; border: 1px solid #DDD7CE; border-radius: 4px; margin-bottom: .5rem; }
.mk-field.tall { height: 58px; }
.mk-price { font-weight: 600; font-size: 1.2rem; margin: 0 0 1.1rem; }
.mk-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1.1rem; }
.mk-slots span { border: 1px solid var(--line); border-radius: 4px; padding: .55rem .6rem; font-size: .92rem; text-align: center; }
.mk-slots .on { border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; }
.mk-btn { display: block; text-align: center; background: var(--terra-dk); color: var(--paper); font-weight: 600; padding: .8rem; border-radius: var(--r); }
.cmp-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.cmp-list li { padding: .55rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.cmp-old .cmp-list li { color: var(--muted); font-weight: 400; }
@media (max-width: 720px) { .compare { grid-template-columns: minmax(0, 1fr); } .mock { min-height: 0; } }

/* plans: compact strip */
.plans-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.plan-mini { position: relative; padding: 1.75rem clamp(1rem, .5rem + 1.5vw, 2rem) 1.5rem 0; border-right: 1px solid var(--line); }
.plan-mini + .plan-mini { padding-left: clamp(1rem, .5rem + 1.5vw, 2rem); }
.plan-mini:last-child { border-right: 0; }
.plan-mini h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: .6rem; }
.plan-mini p:last-child { color: var(--muted); margin: 0; }
.plan-price { font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.25rem); line-height: 1; margin: 0 0 .9rem; }
.per { font: 400 1rem var(--sans); color: var(--muted); margin-left: .3rem; }
.plan-tag { display: inline-block; font: 600 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .4rem .55rem; border-radius: 3px; margin-bottom: .9rem; }
.strip-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: .5rem; }
.strip-foot p { margin: 0; }
@media (max-width: 760px) {
  .plans-mini { grid-template-columns: minmax(0, 1fr); }
  .plan-mini, .plan-mini + .plan-mini { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* care band */
.care { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.care-list { list-style: none; margin: 0; padding: 0; }
.care-list li { padding: 1.15rem 0; border-top: 1px solid var(--line-ink); }
.care-list li:last-child { border-bottom: 1px solid var(--line-ink); }
.care-list h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.care-list p { margin: 0; }
@media (max-width: 820px) { .care { grid-template-columns: minmax(0, 1fr); } }

/* feature (work) */
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature-media img { border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(32,53,47,.45); }
.worklist { list-style: none; margin: 0; padding: 0; }
.worklist .feature + .feature { margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature.flip .feature-text { order: 0; } }

/* who */
.who { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.prose { max-width: 40em; }
.prose h2 { font-size: 1.9rem; margin-top: 2.25rem; }
.own { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; margin: 1.75rem 0; }
@media (max-width: 820px) { .who { grid-template-columns: minmax(0, 1fr); } }

/* form */
.check { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.check .lede { color: var(--muted); }
.check-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid #B9B0A3; border-radius: 4px; padding: .7rem .8rem; min-height: 48px; }
.field input::placeholder { color: #5F6964; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--terra-dk); outline-offset: 1px; border-color: var(--ink); }
.form-end .btn { width: 100%; }
.form-end .fine { margin: .9rem 0 0; }
.form-msg { grid-column: 1 / -1; border-left: 4px solid var(--terra-dk); background: #FBEFEA; padding: .8rem 1rem; border-radius: 0 4px 4px 0; }
.form-msg[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.next { margin: 0; padding-left: 1.3rem; }
.next li { padding: .4rem 0 .9rem; }
@media (max-width: 860px) { .check { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .check-form { grid-template-columns: minmax(0, 1fr); } }

/* page tops */
.page-top { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(1rem, .5rem + 2vw, 2rem); }
.page-top h1 { max-width: 16em; }
.page-top h1::before { content: ""; display: block; width: 72px; height: 6px; background: var(--terra); margin-bottom: 1.5rem; }
.page-top .lede { color: var(--muted); }
.page-solo { padding-bottom: var(--band); }

/* pricing page */
.plans { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem 1.6rem 1.5rem; }
.plan-featured { border: 2px solid var(--ink); }
.plan h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; }
.plan-for { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: .5rem 0 .5rem 1.6rem; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05rem; width: 10px; height: 5px; border-left: 2px solid var(--terra-dk); border-bottom: 2px solid var(--terra-dk); transform: rotate(-45deg); }
.builds { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.builds li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.builds h3 { font-size: 1.55rem; margin-bottom: .3rem; }
.builds p { margin: 0; color: var(--muted); max-width: 36em; }
.builds .b-price { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); white-space: nowrap; }
.addons { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.addons li { border-top: 2px solid var(--terra); padding-top: 1.1rem; }
.addons h3 { font-size: 1.35rem; }
.addons p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .plans, .addons { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .builds li { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font: 400 1.35rem/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font: 400 1.6rem var(--sans); color: var(--terra-dk); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.25rem; max-width: 42em; margin: 0; }

/* cta */
.cta { text-align: center; }
.cta .lede { margin: 0 auto 2rem; }

/* privacy */
.doc h2 { font-size: 1.6rem; margin-top: 2.25rem; }

/* footer */
.site-foot { background: var(--ink); color: var(--on-ink-muted); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 1.5rem; border-top: 1px solid var(--line-ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.foot-brand img { width: 190px; margin-bottom: 1.25rem; }
.foot-brand p { max-width: 26em; }
.foot-nav, .foot-contact { display: flex; flex-direction: column; gap: .35rem; }
.site-foot a { color: var(--cream); text-decoration: none; padding: .3rem 0; }
.site-foot a:hover { text-decoration: underline; }
.foot-base { border-top: 1px solid var(--line-ink); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .88rem; }
.foot-base p { margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* featured plan: tag sits on the border so prices line up across plans */
.plan-mini.plan-featured { padding: 1.75rem 1.5rem 1.5rem; }
.plan-tag { position: absolute; top: -.85rem; left: 1.25rem; margin: 0; }
.plan { position: relative; }
.plans { margin-top: 1rem; }
@media (max-width: 760px) {
  .plan-mini.plan-featured { padding: 1.75rem 1.25rem 1.5rem; margin: 1rem 0; border: 2px solid var(--ink); }
}

/* 44px tap targets for standalone links */
.brand { display: flex; align-items: center; min-height: 48px; }
.tlink { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; padding: 0; text-decoration: underline 2px; text-underline-offset: 5px; }
.site-foot a { display: flex; align-items: center; min-height: 44px; padding: 0; }
.foot-nav, .foot-contact { gap: 0; }
.links { gap: .25rem 1.5rem; }
