/* Offsider website. Plain CSS, no framework. Fonts are self-hosted (OFL). Light by default, dark when the visitor's system asks for
   it or when they chose it with the button (html[data-theme]). Contrast is AA in both. No inline styles are used anywhere (the
   site's Content-Security-Policy forbids them). */
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f7f4ec; /* ivory */
  --surface: #ffffff;
  --ink: #1f2e29;
  --muted: #55645f;
  --line: #dfe4e0;
  --forest: #3e5a50;
  --forest-deep: #2f463e;
  --sage: #a9c2bb;
  --sand: #c9b07a; /* antique gold (the class names keep the old word) */
  --gold-light: #e2d3ae;
  --honey: #7a6425; /* gold as text on the light background (5.3:1) */
  --btn-bg: #3e5a50;
  --btn-ink: #ffffff;
  --hero-bg: #2f463e;
  --focus: #1f2e29;
  --ic-quotes: #4f7cac;
  --ic-money: #3e8a63;
  --ic-assistant: #8a5a9e;
  --ic-approvals: #3e5a50;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(31 46 41 / 8%), 0 8px 24px rgb(31 46 41 / 8%);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #18201d;
  --surface: #1f2824;
  --ink: #eef3f1;
  --muted: #a9b8b2;
  --line: #2f3b36;
  --forest: #a9c9be;
  --forest-deep: #a9c9be;
  --sage: #2c3a35;
  --honey: #e2d3ae;
  --btn-bg: #a9c9be;
  --btn-ink: #18201d;
  --hero-bg: #22302a;
  --ic-quotes: #8daac9;
  --ic-money: #82b39a;
  --ic-assistant: #be9bcc;
  --ic-approvals: #9dbfb2;
  --focus: #eef3f1;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #18201d;
    --surface: #1f2824;
    --ink: #eef3f1;
    --muted: #a9b8b2;
    --line: #2f3b36;
    --forest: #a9c9be;
    --forest-deep: #a9c9be;
    --sage: #2c3a35;
    --honey: #e2d3ae;
    --btn-bg: #a9c9be;
    --btn-ink: #18201d;
    --hero-bg: #22302a;
    --ic-quotes: #8daac9;
    --ic-money: #82b39a;
    --ic-assistant: #be9bcc;
    --ic-approvals: #9dbfb2;
    --focus: #eef3f1;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.1rem, 8vw, 3.6rem);
}
h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
}
h3 {
  font-size: 1.35rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--forest);
  text-underline-offset: 3px;
}
:root[data-theme="dark"] a {
  color: var(--forest);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--btn-bg);
  color: var(--btn-ink);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9375rem;
}

/* header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding: 0.75rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  order: 3;
  width: 100%;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"] {
  border-bottom-color: var(--forest);
  font-weight: 600;
}
.theme {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
@media (min-width: 760px) {
  .nav {
    order: 0;
    width: auto;
  }
  .brand {
    margin-right: 0;
  }
  .bar .spacer {
    margin-right: auto;
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.sand {
  background: var(--sand);
  border-color: var(--sand);
  color: #1f2e29;
}
.btn.small-btn {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
}
.btn:hover {
  filter: brightness(1.06);
}

/* hero */
.hero {
  background: var(--hero-bg);
  color: #ffffff;
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}
:root[data-theme="dark"] .hero,
:root:not([data-theme="light"]) .hero {
  color: #eef3f1;
}
.hero .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero p.lead {
  font-size: 1.25rem;
  max-width: 34rem;
  color: #e6eeeb;
}
.hero .eyebrow {
  color: var(--sand);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}
.hero .fine {
  color: #cfdcd7;
  font-size: 0.95rem;
}
.hero .btn.ghost {
  color: #ffffff;
  border-color: rgb(255 255 255 / 55%);
}
@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* phone frame */
.phone {
  width: min(260px, 72vw);
  margin-inline: auto;
  border: 8px solid #101614;
  border-radius: 36px;
  background: #101614;
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 468 / 1013;
  position: relative;
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone .shot-dark {
  display: none;
}
:root[data-theme="dark"] .phone .shot-light {
  display: none;
}
:root[data-theme="dark"] .phone .shot-dark {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone .shot-light {
    display: none;
  }
  :root:not([data-theme="light"]) .phone .shot-dark {
    display: block;
  }
}

/* sections */
section {
  padding: 3.5rem 0;
}
section.tint {
  background: var(--sage);
}
:root[data-theme="light"] section.tint,
:root:not([data-theme="dark"]) section.tint {
  background: #eaf0ed;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) section.tint {
    background: #1d2723;
  }
}
:root[data-theme="dark"] section.tint {
  background: #1d2723;
}
.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.15rem;
}
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 {
  margin-bottom: 0.4em;
}
.hex {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  color: var(--forest);
}
.shots {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.5rem;
  scroll-snap-type: x mandatory;
}
.shots figure {
  margin: 0;
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: center;
  text-align: center;
}
.shots figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.shots .phone {
  width: 220px;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cta-band {
  background: var(--hero-bg);
  color: #ffffff;
  text-align: center;
}
:root[data-theme="dark"] .cta-band,
:root:not([data-theme="light"]) .cta-band {
  color: #eef3f1;
}
.cta-band p {
  color: #dfe9e5;
}

/* feature lists and pricing */
.group {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.group ul,
.plan ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.group li,
.plan li {
  margin-bottom: 0.4rem;
}
.plans {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.plan.featured {
  border: 2px solid var(--forest);
}
.plan .price {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0.25rem 0;
}
.plan .price small {
  font-family: Figtree, system-ui, sans-serif;
  font-size: 1rem;
  color: var(--muted);
}
.plan .btn {
  margin-top: auto;
}
.tag {
  display: inline-block;
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
  background: var(--sand);
  color: #1f2e29;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
details {
  border-top: 1px solid var(--line);
  padding: 0.25rem 0;
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  min-height: 44px;
}
details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid #6d7b76;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  min-height: 48px;
  width: 100%;
}
:root[data-theme="dark"] .form input,
:root[data-theme="dark"] .form select,
:root[data-theme="dark"] .form textarea {
  border-color: #8b9a94;
}
.form textarea {
  min-height: 9rem;
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.notice.ok {
  border-color: var(--forest);
}
.notice.bad {
  border-color: #b3402a;
}
.draft {
  background: var(--sand);
  color: #1f2e29;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.legal h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}
.legal {
  max-width: 46rem;
}

/* footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.site-foot a {
  color: var(--ink);
}
.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-foot li a {
  display: inline-block;
  padding: 0.3rem 0;
  min-height: 32px;
}

/* links on the dark bands */
.hero a:not(.btn),
.cta-band a:not(.btn) {
  color: #ffffff;
}

/* the assistant section, the icons and the sign-up note */
.ic {
  display: block;
  margin-bottom: 0.75rem;
}
.appr-title .ic {
  display: inline-block;
  margin: 0 0.4rem 0 0;
  vertical-align: -4px;
}
.ic-quotes {
  color: var(--ic-quotes);
}
.ic-money {
  color: var(--ic-money);
}
.ic-assistant {
  color: var(--ic-assistant);
}
.ic-approvals {
  color: var(--ic-approvals);
}
.hero .subhead {
  margin: 0.5rem 0 1rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  color: var(--sand);
}
.signup-note {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero .signup-note {
  color: #cfdcd7;
}
.cta-band p.signup-note {
  color: #dfe9e5;
}
.plan .signup-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}
.chats {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.chat h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.bubble {
  margin: 0;
  max-width: 92%;
  padding: 0.6rem 0.85rem;
  border-radius: 16px;
  font-size: 0.98rem;
}
.bubble.me {
  align-self: flex-end;
  background: var(--forest);
  color: var(--btn-ink);
  border-bottom-right-radius: 4px;
}
.bubble.ai {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.appr {
  align-self: stretch;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ic-approvals);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
}
.appr p {
  margin: 0;
}
.appr-line {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.15rem 0 0.6rem !important;
}
.appr-actions {
  display: flex;
  gap: 0.5rem;
}
.appr-ok,
.appr-no {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.appr-ok {
  background: var(--btn-bg);
  color: var(--btn-ink);
}
.appr-no {
  border: 1px solid var(--line);
  color: var(--muted);
}
.chat-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.fine-dark {
  color: var(--muted);
  font-size: 0.9rem;
}
.voice-line {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 1rem 0 0;
}
.voice-line .ic {
  flex: none;
}
.assistant .cards {
  margin: 1.5rem 0;
}
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split .phone {
  max-width: 260px;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
@media (min-width: 760px) {
  .chats,
  .assistant .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .assistant .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
