/* VanOffice landing site. A 2010s SaaS marketing page in the logo's brand blue (#394B9A),
   with the app's Blend 2 touches: Roboto Slab headings, the paper texture on light bands,
   the orange action colour, soft gradients on the blue bands.
   Every text/background pair here meets WCAG AA (4.5:1); see docs/site.md for the figures. */

@font-face {
  font-family: "Roboto Slab";
  font-weight: 700;
  font-style: normal;
  font-display: optional;
  src: url("../fonts/roboto-slab-700.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-weight: 400;
  font-style: normal;
  font-display: optional;
  src: url("../fonts/roboto-400.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-weight: 700;
  font-style: normal;
  font-display: optional;
  src: url("../fonts/roboto-700.woff2") format("woff2");
}

:root {
  --brand: #394b9a;
  --brand-dark: #2c3b7e;
  --brand-deep: #232f66;
  --brand-tint: #e8ebf6;
  --brand-tint-rule: #c9d0ea;
  --on-blue-muted: #dfe4f4;
  --paper: #efede8;
  --card: #ffffff;
  --border: #dcdfe8;
  --ink: #1b2240;
  --ink-muted: #4a5266;
  --action: #c4540f;
  --action-pressed: #a94709;
  --completed: #43a047;
  --completed-chip: #2e7d32;
  --danger: #b3261e;
  --focus: #c4540f;
  --radius: 5px;
  --radius-lg: 8px;
  --shadow: 0 1px 3px rgba(27, 34, 64, 0.12), 0 1px 2px rgba(27, 34, 64, 0.06);
  --shadow-lg: 0 14px 34px rgba(27, 34, 64, 0.18), 0 2px 6px rgba(27, 34, 64, 0.12);
  --max: 1140px;
  --slab: "Roboto Slab", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  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;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--card);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--slab);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.4rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--card);
  color: var(--brand);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header: white bar with a brand-blue rule on top, the logo in blue */
.site-header {
  background: var(--card);
  border-top: 5px solid var(--brand);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
}
.brand img {
  display: block;
  width: auto;
  height: 36px;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 12px;
  border-radius: var(--radius);
  display: inline-block;
}
.site-nav a:hover {
  color: var(--brand);
  background: var(--brand-tint);
}
.site-nav .nav-link {
  display: none;
}
@media (min-width: 900px) {
  .site-nav .nav-link {
    display: list-item;
  }
  .site-nav li:last-child {
    margin-left: 10px;
  }
}

/* Buttons. Minimum 48 px target, as in the app. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn-lg {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 1.075rem;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-action {
  /* gradient runs from the action colour to darker, never lighter: white text stays at 4.54:1 or more */
  background: var(--action) linear-gradient(180deg, var(--action), #b54c0c);
  color: #fff;
  border-color: var(--action-pressed);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, var(--shadow);
}
.btn-action:hover {
  background: var(--action-pressed);
  color: #fff;
}
.site-nav .btn-action,
.site-nav .btn-action:hover {
  color: #fff;
}
.site-nav .btn-action:hover {
  background: var(--action-pressed);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Blue bands (hero, call to action): a soft top-to-bottom gradient, white text */
.on-blue {
  background: var(--brand) linear-gradient(180deg, #3d50a3 0%, var(--brand) 45%, var(--brand-dark) 100%);
  color: #fff;
}
.on-blue a:not(.btn) {
  color: #fff;
}
.on-blue .kicker {
  color: var(--on-blue-muted);
}
.on-blue .lead,
.on-blue .small-print {
  color: var(--on-blue-muted);
}
/* The orange ring is too faint on the blue (about 1.7:1); use white there, orange inside white cards. */
.on-blue :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}
.on-blue .form-card :focus-visible {
  outline-color: var(--focus);
}

.kicker {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.lead {
  font-size: 1.25rem;
  color: var(--ink-muted);
  max-width: 34em;
}

/* Hero */
.hero {
  padding: 48px 0 0;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: end;
}
.hero-text {
  padding-bottom: 8px;
}
@media (min-width: 900px) {
  .hero {
    padding-top: 72px;
  }
  .hero .wrap {
    grid-template-columns: 1.35fr 1fr;
  }
  .hero-text {
    align-self: center;
    padding-bottom: 72px;
  }
}
.hero h1 {
  color: #fff;
}
.price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  margin: 24px 0 28px;
}
.price-line strong {
  font-family: var(--slab);
  font-size: 1.7rem;
  color: #fff;
}
.price-line span {
  color: var(--on-blue-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.prelaunch-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--on-blue-muted);
}

/* Phone frame around the one app screenshot. It sits on the bottom edge of the hero band. */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 11px 11px 0;
  background: #15181e;
  border-radius: 40px 40px 0 0;
  box-shadow: var(--shadow-lg);
}
.phone img {
  display: block;
  width: 100%;
  aspect-ratio: 520 / 820;
  object-fit: cover;
  object-position: top;
  border-radius: 30px 30px 0 0;
  background: var(--paper);
}

/* Benefits strip: three points under the hero */
.benefits {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.benefit-list {
  display: grid;
  gap: 28px;
  list-style: none;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .benefit-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
.benefit {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}
.benefit .icon-circle {
  width: 56px;
  height: 56px;
  margin: 0;
}
.benefit .icon {
  width: 28px;
  height: 28px;
}
.benefit h3 {
  font-size: 1.1rem;
  margin: 4px 0 4px;
}
.benefit p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 64px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 88px 0;
  }
}
.textured {
  background: var(--paper) url("../img/paper.png") repeat;
  border-bottom: 1px solid #e0ddd5;
}
.tinted {
  background: var(--brand-tint);
  border-top: 1px solid var(--brand-tint-rule);
  border-bottom: 1px solid var(--brand-tint-rule);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.section-intro {
  max-width: 40em;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: 1.15rem;
}
.small-print {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Icons: simple line glyphs in circles */
.icon-circle {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--card);
  color: var(--brand);
  border: 2px solid var(--brand-tint-rule);
  box-shadow: var(--shadow);
}
.icon-solid {
  background: var(--brand) linear-gradient(180deg, #4357ab, var(--brand-dark));
  border-color: var(--brand-dark);
  color: #fff;
}
.icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.feature {
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.feature p {
  color: var(--ink-muted);
  font-size: 1rem;
  margin: 0;
}

/* How the reminders work: three numbered steps and the example text */
.steps-layout {
  display: grid;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .steps-layout {
    grid-template-columns: 1.3fr 1fr;
  }
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 28px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 76px;
  min-height: 56px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand) linear-gradient(180deg, #4357ab, var(--brand-dark));
  color: #fff;
  font: 700 1.5rem/1 var(--slab);
  box-shadow: var(--shadow);
}
.steps h3 {
  margin: 2px 0 4px;
}
.steps p {
  margin: 0;
  color: var(--ink-muted);
}
.steps-note {
  text-align: center;
  margin: 40px auto 0;
}

/* Example reminder text (an HTML illustration, not a screenshot) */
.sms-example {
  margin: 0 auto;
  max-width: 340px;
  width: 100%;
}
.sms-screen {
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  border: 10px solid #15181e;
  padding: 18px 16px 16px;
}
.sms-to {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.sms-bubble {
  margin: 0 0 16px auto;
  max-width: 88%;
  background: var(--brand);
  color: #fff;
  padding: 12px 14px;
  border-radius: 18px 18px 4px 18px;
  font-size: 1rem;
  line-height: 1.45;
}
.sms-link {
  text-decoration: underline;
}
.sms-send {
  margin: 0;
  text-align: right;
}
.sms-send span {
  display: inline-block;
  background: var(--completed-chip);
  color: #fff;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}
.sms-example figcaption {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Pricing card */
.price-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--brand-tint-rule);
  border-top: 6px solid var(--brand);
  padding: 32px 32px 28px;
  text-align: center;
}
.plan-name {
  font: 700 1.25rem/1.2 var(--slab);
  color: var(--brand);
  margin: 0;
}
.price {
  font: 700 3.4rem/1.1 var(--slab);
  color: var(--ink);
  margin: 12px 0 2px;
}
.price small {
  font: 400 1.1rem var(--sans);
  color: var(--ink-muted);
}
.trial-flag {
  display: inline-block;
  margin: 12px 0 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}
.price-annual {
  margin: 4px 0 6px;
  color: var(--ink);
}
.plan-platforms {
  color: var(--ink-muted);
  margin: 0;
}
.price-card ul {
  text-align: left;
  margin: 24px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: grid;
  gap: 10px;
}
.price-card li {
  padding-left: 32px;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.3em;
  width: 7px;
  height: 13px;
  border: solid var(--completed-chip);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.price-terms {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 14px 0 0;
}

/* FAQ */
.faq {
  max-width: 820px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
}
.faq details[open] {
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  font-size: 1.08rem;
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 48px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font: 700 1.5rem/1 var(--slab);
  color: var(--brand);
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq .answer {
  padding: 0 20px 18px;
  color: var(--ink-muted);
}
.faq .answer p:last-child {
  margin-bottom: 0;
}

/* Call-to-action band with the waiting-list form */
.cta-band {
  padding: 64px 0;
}
@media (min-width: 900px) {
  .cta-band {
    padding: 88px 0;
  }
}
.cta-band h2 {
  color: #fff;
}
.signup {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .signup {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}
.form-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
}
@media (min-width: 600px) {
  .form-card {
    padding: 32px;
  }
}
.on-blue .form-card a {
  color: var(--brand);
}
.field {
  margin-bottom: 18px;
}
.field label,
.field .label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.optional {
  font-weight: 400;
  color: var(--ink-muted);
}
.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid #8a8f99;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(27, 34, 64, 0.08) inset;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus-visible,
.field select:focus-visible {
  border-color: var(--brand);
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
  border-width: 2px;
}
.check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.check input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}
.check label {
  font-weight: 400;
}
.hint {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 6px 0 0;
}
.error {
  color: var(--danger);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 6px 0 0;
}
.error:empty {
  display: none;
}
.form-status {
  margin: 12px 0 0;
}
.form-status:empty {
  display: none;
}
.form-status.is-error {
  color: var(--danger);
  font-weight: 700;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Cloudflare Turnstile: takes no room unless Cloudflare asks the visitor to tick a box. */
.turnstile:empty {
  display: none;
}
.turnstile {
  margin: 0 0 12px;
}
.thanks {
  border-left: 6px solid var(--completed);
}
.thanks h3 {
  margin-top: 0;
}
button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* Footer */
.site-footer {
  background: var(--brand-deep);
  color: #fff;
  padding: 44px 0 52px;
}
.site-footer a {
  color: #fff;
}
.site-footer .wrap {
  display: grid;
  gap: 28px;
}
@media (min-width: 800px) {
  .site-footer .wrap {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.footer-brand img {
  display: block;
  height: 32px;
  width: auto;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
@media (min-width: 800px) {
  .site-footer ul {
    max-width: 480px;
    justify-content: flex-end;
  }
}
.site-footer li a {
  display: inline-block;
  padding: 6px 0;
}
.site-footer p {
  color: var(--on-blue-muted);
  margin: 12px 0 0;
  font-size: 0.95rem;
}

/* Legal placeholder pages and the 404 */
.doc {
  max-width: 760px;
  padding: 48px 20px 72px;
}
.doc h2 {
  font-size: 1.4rem;
  margin-top: 1.6em;
}
.not-found {
  padding-top: 72px;
  padding-bottom: 96px;
}
.draft-banner {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 28px;
  color: #3d2e00;
}
.draft-banner strong {
  display: block;
  font-size: 1.1rem;
}
.tbc {
  background: #fff3cd;
  padding: 0 4px;
  border-radius: 3px;
  color: #3d2e00;
}

/* Narrow phones: keep the header on one line */
.site-nav .btn-action {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.95rem;
}
@media (max-width: 479px) {
  .brand img {
    height: 28px;
  }
  .site-nav .btn-action {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
