/* Agentdock landing page.
   Tokens and components come from the "Organic" design system the page was
   designed in; the layout section below reproduces the design's sections. */

/* ── Fonts (self-hosted Google Fonts subsets, SIL OFL) ─────────────────── */

@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/caprasimo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/caprasimo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Figtree is a variable font: one file per subset covers every weight. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ───────────────────────────────────────────────────────────── */

:root {
  color-scheme: light;

  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  /* Tonal ramps, generated in OKLCH on one shared lightness scale. */
  --color-accent-100: #fff2eb;
  --color-accent-300: #ffc6a5;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;

  --radius-md: 16px;
  --radius-panel: 40px;

  /* Page frame shared by every section. */
  --page-max: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  text-wrap: pretty;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: var(--color-accent-700); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  padding: 10px 18px; border-radius: 999px;
  background: var(--color-text); color: var(--color-bg);
}
.skip-link:focus-visible { top: 16px; color: var(--color-bg); }

/* ── Components ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: none; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 16px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: 14px 28px;
  border-radius: 999px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary, .btn-primary:hover { color: var(--color-bg); }
.btn-primary { background: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-ghost { color: var(--color-accent); padding-inline: 24px; }
.btn-ghost:hover { color: var(--color-accent-800); background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }

.tag {
  display: inline-flex; align-items: center;
  font-size: 13px; letter-spacing: 0.02em; padding: 5px 14px;
  border-radius: 999px;
}

.eyebrow {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; color: var(--color-accent-700);
}

.section-title { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }

/* ── Layout ───────────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Nav */
.nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4);
  padding-block: 20px;
}
.nav-brand {
  font-family: var(--font-heading); font-size: 22px;
  margin-right: auto; color: var(--color-text);
}
.nav-brand:hover { color: var(--color-text); }
.nav-link { font-size: 15px; color: var(--color-text); }
.nav-link:hover { color: var(--color-accent); }
.nav .btn { padding: 10px 20px; font-size: 15px; }

/* Three text links plus the button don't fit beside the brand on phones;
   the page is one short scroll, so keep just the brand and Order. */
@media (max-width: 720px) {
  .nav-link { display: none; }
}

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
  padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px);
}
.hero-copy {
  flex: 1 1 340px; min-width: 0;
  display: flex; flex-direction: column; gap: 28px;
  position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04; letter-spacing: 0;
}
.hero-lede {
  font-size: 18px; line-height: 1.6; max-width: 46ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media {
  flex: 1.5 1 420px; min-width: 0;
  display: grid; place-items: center;
}
.hero-media img { width: 100%; height: auto; transform: scale(1.1); }

/* How it works */
.how {
  display: flex; flex-direction: column; gap: 48px;
  padding-block: clamp(56px, 8vw, 112px);
}
.section-head { display: flex; flex-direction: column; gap: 16px; }
.how .section-title { max-width: 18ch; }
.video-frame {
  border-radius: var(--radius-panel); overflow: hidden;
  background: var(--color-text); aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* Wi-Fi + Cellular */
.showcase {
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-panel);
  background: var(--color-text); color: var(--color-bg);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-wifi { background: var(--color-accent-2-300); color: var(--color-accent-2-900); }
.tag-lte { background: var(--color-accent-300); color: var(--color-accent-900); }
.showcase p {
  font-size: 16px; line-height: 1.65; max-width: 44ch;
  color: color-mix(in srgb, var(--color-bg) 82%, transparent);
}
.showcase .showcase-note {
  font-size: 14px; max-width: 52ch;
  color: color-mix(in srgb, var(--color-bg) 65%, transparent);
}

/* The screen */
.screen {
  display: grid; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(56px, 8vw, 112px);
}
.screen-copy { display: flex; flex-direction: column; gap: 20px; }
.screen .section-title { max-width: 16ch; }
.points {
  display: flex; flex-direction: column; gap: 18px;
  margin: 8px 0 0; padding: 0; list-style: none;
}
.points li { display: flex; align-items: flex-start; gap: 16px; }
.points li::before {
  content: ""; flex: none;
  width: 14px; height: 14px; margin-top: 6px;
  border-radius: 50%; background: var(--color-accent);
}
.point { display: flex; flex-direction: column; gap: 4px; }
.point strong { font-size: 17px; font-weight: 600; }
.point span {
  font-size: 16px; line-height: 1.6; max-width: 44ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.screen-photo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-panel); aspect-ratio: 5 / 4;
}
.screen-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 68% center;
}

/* Order */
.order-section { padding-bottom: 56px; }
.order {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-panel);
  background: var(--color-accent-2-100);
}
.order-copy {
  flex: 1 1 360px; min-width: 0;
  display: flex; flex-direction: column; gap: 20px;
}
.order .section-title { max-width: 18ch; }
.order-lede {
  font-size: 17px; line-height: 1.6; max-width: 48ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.checkout {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  margin-top: 8px;
}
.checkout .btn { min-height: 48px; padding: 0 26px; }
.checkout-note {
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}
.order-media { flex: 1 1 340px; min-width: 0; max-width: 500px; }
.order-media img { width: 100%; height: auto; }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  padding-block: 24px 48px;
  font-size: 14px;
}
.footer-brand { font-family: var(--font-heading); font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Small standalone pages (404, order confirmation) */
.notice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  padding-block: clamp(56px, 10vw, 128px);
}
.notice h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: 0; }
.notice p { font-size: 18px; line-height: 1.6; max-width: 46ch; }
.success-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-accent-2); color: var(--color-bg);
}

/* Long-form text (privacy) */
.prose {
  display: flex; flex-direction: column; gap: 14px;
  padding-block: clamp(40px, 7vw, 88px);
}
.prose > * { max-width: 68ch; }
.prose h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: 0; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); margin-top: 24px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 22px; }
.prose a { text-decoration: underline; }
.prose code { font-size: 0.9em; }
.prose-meta { font-size: 14px; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
