/* AutoLogger marketing theme (adopted 2026-11-03).
   Loads after promo.css and carries the approved corporate treatment: warm
   paper and sand surfaces, navy brand, display sans headings, hairline rules,
   pill actions, offer-card pricing and the app-accurate phone hero. It applies
   to every page at the marketing root: index, register, privacy and terms.
   No copy, price, claim or feature is changed by this file. */

:root {
  --ui-brand: #1b3f5a;
  --ui-brand-hover: #14324a;
  --ui-on-brand: #ffffff;
  --ui-brand-rgb: 27, 63, 90;
  --ui-accent: #2e5f5b;
  --ui-accent-rgb: 46, 95, 91;
  /* Warm neutral surfaces (sand and paper) instead of cool greys, so the
     structure reads human rather than institutional. */
  --ui-background: #f9f8f6;
  --ui-surface: #ffffff;
  --ui-surface-muted: #f1efe8;
  --ui-surface-subtle: #f5f3ee;
  --ui-input: #ffffff;
  --ui-ink: #1a2027;
  --ui-muted: #5f646a;
  --ui-border: #e0dcd2;
  --ui-shadow: 0 1px 2px rgba(26, 32, 39, .05);
  --ui-radius-control: 2px;
  --ui-radius-card: 3px;
  --corp-display: "Avenir Next", Avenir, "Segoe UI", -apple-system,
    BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  --corp-tint: #efeee7;
  --corp-sand: #f1efe8;
}

body {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */

/* Friendlier display voice: the same neutral sans family as the body, kept
   distinct through weight, tighter tracking and size rather than serifs. */
h1,
h2 {
  font-family: var(--corp-display);
  font-weight: 600;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.75rem);
  line-height: 1.06;
}

h1 span {
  color: inherit;
}

h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  line-height: 1.18;
}

h3 {
  letter-spacing: -.02em;
}

.eyebrow {
  font-size: .66rem;
  letter-spacing: .19em;
  color: var(--ui-accent);
}

/* ---------- Utility bar and header ---------- */

.utility-bar {
  background: #10222d;
  color: #c6d3d6;
  font-size: .69rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.utility-links {
  display: flex;
  gap: 22px;
}

.utility-bar a {
  color: inherit;
  text-decoration: none;
}

.utility-bar a:hover {
  color: #fff;
}

/* Slim sticky bar: the utility strip scrolls away, the navigation stays. */
html {
  scroll-padding-top: 84px;
}

.sticky-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ui-background);
  border-bottom: 1px solid var(--ui-border);
}

.site-header {
  min-height: 66px;
  gap: 36px;
  border-bottom: 0;
}

/* Index pages get their rule from .sticky-head; the register and legal pages
   have no sticky wrapper, so they draw it on the header itself. Those pages
   also have no navigation, so the actions need the right-hand alignment the
   index gets from its nav. */
body > .site-header {
  border-bottom: 1px solid var(--ui-border);
}

body > .site-header .header-actions {
  margin-left: auto;
}

/* The register card and fields join the same squared language as the panels. */
.signup-card,
.preview-banner {
  border-radius: 6px;
}

.signup-card input {
  border-radius: 6px;
}

/* Navigation sits at 15px with a 600 weight: the slight size step down from
   16px is offset by the heavier stroke, so the links stay as legible as the
   carrier sites without dominating the bar. */
.navigation nav a,
.header-actions a {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .005em;
}

/* Keep the header CTA readable: the link colour must not override the
   button's on-brand text. */
.header-actions .sign-in {
  color: var(--ui-ink);
}

.header-actions .button {
  color: var(--ui-on-brand);
}

.navigation nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Pill actions: the shape all three Canadian carriers use. The radius is
   large enough that height never clips it, so every button stays a capsule. */
.button {
  border: 1px solid var(--ui-brand);
  border-radius: 999px;
  gap: 14px;
  padding-inline: 26px;
  font-weight: 600;
  letter-spacing: .01em;
}

.button:hover {
  border-color: var(--ui-brand-hover);
}

.button.small {
  min-height: 40px;
  padding-inline: 20px;
}

/* ---------- Hero ---------- */

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 64px;
  padding-block: 72px 84px;
  align-items: start;
}

.hero h1 {
  margin-bottom: 24px;
}

.lead {
  font-size: 1.05rem;
  max-width: 470px;
}

.actions {
  margin-block: 30px 14px;
}

.fine {
  font-size: .78rem;
  letter-spacing: .02em;
}

/* Category chips: outlined pills with a quiet icon, the Bell-style shortcut
   row that also replaces the old three-column spec strip. */
.hero-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.hero-spec .chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px 0 15px;
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ui-ink);
  white-space: nowrap;
}

.hero-spec .chip svg {
  width: 18px;
  height: 18px;
  color: var(--ui-accent);
}

/* Product shot: a straight-on phone over a soft watermark disc. The disc is
   offset up and right so the device overlaps it asymmetrically, and its edge
   fades out so it reads as light rather than a flat shape. */
.product-stage {
  position: relative;
  isolation: isolate;
  padding: 0;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.product-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 46%;
  left: 54%;
  width: min(560px, 100%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(27, 63, 90, .075) 0%,
    rgba(27, 63, 90, .075) 58%,
    rgba(27, 63, 90, 0) 74%);
  pointer-events: none;
}

.stage-label {
  display: none;
}

.phone-stage {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  max-width: 100%;
  padding: 24px 20px 0;
  border: 6px solid var(--ui-ink);
  border-radius: 38px;
  background: var(--ui-surface);
  box-shadow: 0 34px 60px -28px rgba(26, 32, 39, .34),
    0 4px 14px rgba(26, 32, 39, .07);
  transform: none;
}

.phone-notch {
  display: block;
  width: 66px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(26, 32, 39, .22);
}

.phone-top {
  margin-bottom: 18px;
}

.odometer {
  background: var(--corp-tint);
  border: 1px solid var(--ui-border);
  border-radius: 2px;
}

.road-line {
  border-top-style: solid;
  border-color: var(--ui-accent);
  opacity: .45;
}

.preview-heading h3 {
  font-family: inherit;
  letter-spacing: -.01em;
}

.record {
  border-bottom-color: var(--ui-border);
}

.tag {
  border: 1px solid var(--ui-border);
  border-radius: 2px;
  background: transparent;
  color: var(--ui-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Mirrors the app itself: filter chips over the record list and the real
   bottom navigation with four icon+label items. */
.phone-filters {
  display: flex;
  gap: 6px;
  margin: 16px 0 2px;
}

.phone-filters span {
  padding: 4px 9px;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  color: var(--ui-muted);
  font-size: .5rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.phone-filters .is-active {
  background: var(--ui-brand);
  border-color: var(--ui-brand);
  color: var(--ui-on-brand);
}

.phone-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 9px 0 10px;
  border-top: 1px solid var(--ui-border);
  color: var(--ui-muted);
  letter-spacing: .02em;
}

.phone-nav-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: .46rem;
  font-weight: 600;
  line-height: 1;
}

.phone-nav-item svg {
  width: 15px;
  height: 15px;
}

.phone-nav-item.is-active {
  color: var(--ui-brand);
}


.product-stage figcaption {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: .7rem;
  text-align: center;
}

.stage-stamp {
  display: none;
}

/* ---------- Principles ---------- */

.principles .wrap {
  padding: 0;
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: 3px;
}

/* Equal inner padding on every column: promo.css zeroes the outer padding of
   the first and last benefit, which left the text touching the panel border. */
.benefit,
.benefit:first-child,
.benefit:last-child {
  padding: 34px 38px;
}

.benefit + .benefit {
  border-left: 1px solid var(--ui-border);
}

.benefit h3 {
  font-size: 1rem;
  letter-spacing: -.01em;
}

.benefit p {
  font-size: .86rem;
}

/* ---------- Features ---------- */

.section {
  padding-block: 88px;
}

.feature-main,
.feature-stack article {
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: 3px;
}

.feature-main {
  padding: 38px;
}

.feature-stack article {
  padding: 30px 34px;
}

.feature-main h3 {
  font-size: 1.85rem;
}

.feature-stack h3 {
  font-size: 1.3rem;
}

.route-paper {
  margin-top: 28px;
  padding: 22px;
  background: var(--corp-tint);
  border: 1px solid var(--ui-border);
  border-radius: 2px;
  transform: none;
}

.paper-bottom {
  border-top-color: var(--ui-border);
}

.route-dots {
  border-top-style: dashed;
  border-top-color: var(--ui-accent);
  opacity: .5;
}

/* ---------- AI section ---------- */

.ai-example {
  background: var(--corp-tint);
  border: 1px solid var(--ui-border);
  border-radius: 3px;
}

.ai-example blockquote {
  font-family: var(--corp-display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.45;
  letter-spacing: -.02em;
}

.ai-flow {
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: 2px;
  color: var(--ui-brand);
  font-weight: 650;
}

.prompt-group {
  border-radius: 2px;
}

.prompt-group summary {
  min-height: 56px;
  padding-block: 15px;
}

/* ---------- How it works ---------- */

.workflow {
  background: var(--corp-tint);
  border-top: 1px solid var(--ui-border);
  border-bottom: 1px solid var(--ui-border);
}

.workflow .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.workflow .steps li {
  min-width: 0;
  padding: 0 32px;
  border-right: 1px solid var(--ui-border);
}

.workflow .steps li:first-child {
  padding-left: 0;
}

.workflow .steps li:last-child {
  padding-right: 0;
  border-right: 0;
}

.workflow .steps h3 {
  font-size: 1.05rem;
}

.workflow .steps p {
  margin: 0;
  font-size: .88rem;
}

/* ---------- Pricing ---------- */

.pricing {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--ui-border);
}

.pricing-intro > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--ui-muted);
}

/* Two offer cards instead of a price table: label, name, big price, one
   billing line and a full-width action. The annual plan carries the sand
   surface so the recommendation is obvious at a glance. */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: 6px;
}

.plan-card-best {
  background: var(--corp-sand);
  border-color: var(--corp-sand);
}

.plan-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin: 0 0 12px;
  font-size: .57rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ui-muted);
}

.plan-tag {
  padding: 3px 9px;
  border: 1px solid var(--ui-accent);
  border-radius: 999px;
  color: var(--ui-accent);
  font-size: .55rem;
  letter-spacing: .1em;
}

.plan-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 650;
}

.plan-price {
  margin: 0 0 2px;
  font-family: var(--corp-display);
  font-size: 1.95rem;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.2;
  color: var(--ui-ink);
  white-space: nowrap;
}

.plan-price span {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ui-muted);
}

.plan-note {
  margin: 0 0 22px;
  font-size: .76rem;
  color: var(--ui-muted);
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.button-outline {
  background: transparent;
  border-color: var(--ui-border);
  color: var(--ui-brand);
}

.button-outline:hover {
  background: transparent;
  border-color: var(--ui-brand);
  color: var(--ui-brand-hover);
}

.plan-fine {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  font-size: .78rem;
  color: var(--ui-muted);
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--ui-border);
}

.questions summary {
  padding-block: 20px;
  font-weight: 600;
}

.questions p {
  font-size: .9rem;
}

/* ---------- Closing band and footer ---------- */

.closing {
  padding: 64px 40px;
  background: var(--ui-brand);
  border-radius: 3px;
  margin-bottom: 72px;
  color: #fff;
}

.closing .eyebrow {
  color: #cadde5;
}

.closing h2 {
  color: #fff;
}

.closing .fine {
  color: #c2d5dd;
}

.closing .button {
  background: #fff;
  border-color: #fff;
  color: var(--ui-brand);
}

.closing .button:hover {
  background: #eef3f5;
  border-color: #eef3f5;
  color: var(--ui-brand);
}

.site-footer {
  border-top: 2px solid var(--ui-ink);
  padding-block: 28px;
}

.site-footer .concept-note {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--ui-border);
  font-size: .66rem;
  letter-spacing: .04em;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
  .hero {
    gap: 44px;
  }

  .pricing {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .site-header {
    min-height: 0;
  }
}

/* Between the phone layout and the desktop nav, promo.css puts the collapsed
   "Menu" on its own full-width row. Keep it inline and drop the links as a
   panel instead, so the bar stays slim. */
@media (min-width: 741px) and (max-width: 1050px) {
  .site-header {
    padding-block: 12px;
  }

  .navigation {
    order: 0;
    width: auto;
    margin-left: auto;
  }

  .navigation summary {
    min-height: 44px;
    font-size: 1rem;
  }

  .navigation nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 10;
    padding: 14px 20px;
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: 3px;
    box-shadow: 0 18px 30px -18px rgba(26, 32, 39, .28);
  }

  .header-actions {
    order: 1;
    margin-left: 22px;
  }
}

/* Below ~820px the two hero columns squeeze the copy (the pill CTA wrapped onto
   two lines), so the device drops under the text instead. */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 740px) {
  .utility-bar {
    display: none;
  }

  /* The phone header wraps onto two rows; pinning it would eat a quarter of
     the screen, so it scrolls away there. */
  .sticky-head {
    position: static;
  }

  html {
    scroll-padding-top: 16px;
  }

  .site-header {
    padding-block: 10px;
  }

  /* Secondary pages carry a single action; keep it on the right. */
  body > .site-header .header-actions {
    justify-content: flex-end;
  }

  .navigation summary,
  .header-actions .button {
    font-size: .88rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 40px 48px;
  }

  .section {
    padding-block: 56px;
  }

  .hero-spec {
    gap: 8px;
    margin-top: 32px;
  }

  .product-stage::before {
    top: 44%;
    left: 52%;
    width: 100%;
  }

  .benefit,
  .benefit:first-child,
  .benefit:last-child {
    padding: 22px 24px;
  }

  .benefit + .benefit {
    border-top: 1px solid var(--ui-border);
  }

  .workflow .steps {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .workflow .steps li,
  .workflow .steps li:first-child,
  .workflow .steps li:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ui-border);
  }

  .workflow .steps li:last-child {
    border-bottom: 0;
  }

  .feature-main {
    padding: 26px;
  }

  .closing {
    padding-inline: 22px;
  }

  .plan-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
