/* FieldOne public site — the product's brand tokens (apps/web globals.css). */
:root {
  --brand: #0b4f55;
  --brand-hover: #0d5c63;
  --deep: #00373c;
  --accent: #18a999;
  --accent-soft: #e3f5f2;
  --ink: #091e27;
  --muted: #404849;
  --line: #d8e0e1;
  --surface: #f6f9f9;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(9, 30, 39, 0.06), 0 8px 24px rgba(9, 30, 39, 0.06);
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.site-header .logo img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav .btn { padding: 8px 16px; color: #fff; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(24, 169, 153, 0.35), transparent 60%), var(--deep);
  color: #fff; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #97d0d7; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: #d4ecef; margin: 0 0 28px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 72px; }
.hero .btn-primary { background: var(--accent); }
.hero .btn-primary:hover { background: #14968a; }
.phones { display: flex; gap: 18px; justify-content: center; align-items: flex-end; align-self: end; }
.phone {
  width: 260px; border-radius: 28px 28px 0 0; overflow: hidden;
  border: 8px solid #0f2b30; border-bottom: 0; background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.phone img { height: 500px; width: 100%; object-fit: cover; object-position: top; }
.phone.offset { transform: translateY(36px); }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--brand);
  display: grid; place-items: center;
}
.icon svg { width: 22px; height: 22px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split ul { padding: 0; margin: 0; list-style: none; }
.split li { position: relative; padding-left: 30px; margin: 0 0 14px; color: var(--muted); }
.split li strong { color: var(--ink); }
.split li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4f55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.screen { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center;
}

/* CTA */
.cta { background: var(--brand); color: #fff; border-radius: 20px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; font-size: 28px; }
.cta p { margin: 0; color: #d4ecef; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-primary:hover { background: var(--accent-soft); color: var(--brand); }

/* Document pages (privacy, support) */
.doc-hero { background: var(--deep); color: #fff; padding: 56px 0 48px; }
.doc-hero h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.01em; }
.doc-hero p { margin: 0; color: #d4ecef; }
.doc { padding: 48px 0 80px; }
.doc .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc strong { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow); min-width: 0; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; scroll-margin-top: 88px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose li { color: #26343a; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; }
.note { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; margin: 18px 0; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; background: #fff; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
.contact-card { display: flex; gap: 16px; align-items: center; }

/* Footer */
.site-footer { background: var(--ink); color: #b8c6ca; padding: 48px 0 32px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 26px; width: auto; margin-bottom: 12px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #b8c6ca; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #1f3640; padding-top: 20px; margin-top: 8px; }

/* Phones and tablets */
@media (max-width: 900px) {
  .hero .wrap, .split, .doc .wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .phones { justify-content: center; }
  .phone { width: 200px; }
  .phone img { height: 360px; }
  .toc { position: static; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero .wrap { padding-top: 48px; }
  .hero .actions { margin-bottom: 48px; }
  .phone { width: 46%; border-width: 6px; border-radius: 20px 20px 0 0; }
  .phone img { height: 300px; }
  .phone.offset { transform: translateY(24px); }
  .prose { padding: 26px 20px; }
  .cta { padding: 32px 24px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
