/* FieldProof product page. Park-poster theme (docs/STYLE-GUIDE.md), same tokens as the dashboard. Light only. */
:root {
  color-scheme: light;
  --paper: #F3E9D2;
  --paperDeep: #E6D8B8;
  --pine: #1F3D2B;
  --pineLight: #3E6B4E;
  --sienna: #C4552D;
  --mustard: #D9A441;
  --sky: #7A9EAB;
  --charcoal: #2B2B2B;
  --chalk: #FBF7EE;
  --display: 'Bebas Neue', Impact, sans-serif;
  --heading: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Source Serif 4', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--charcoal); font: 18px/1.5 var(--body); }
/* Paper grain: an SVG noise overlay at 5 % (style guide §3). */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--pine); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
code { font: .88em var(--mono); background: rgba(43,43,43,.07); padding: 1px 5px; border-radius: 4px; }
sup { line-height: 0; font: 600 .6em var(--heading); }
sup a { color: var(--sienna); text-decoration: none; padding: 0 2px; }

/* ---------- Top nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px var(--gutter); background: rgba(31,61,43,.94); backdrop-filter: blur(6px); border-bottom: 3px solid var(--charcoal);
}
.topnav a { color: var(--chalk); text-decoration: none; font: 500 15px var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.topnav .brand { font: 28px/1 var(--display); letter-spacing: .04em; }
.topnav .links { display: flex; gap: clamp(12px, 3vw, 28px); align-items: center; }
.topnav .buy { background: var(--sienna); padding: 5px 12px; border: 2px solid var(--charcoal); border-radius: 6px; }
@media (max-width: 560px) { .topnav .links a:not(.buy) { display: none; } }

/* ---------- Buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 22px; border: 2px solid var(--charcoal); border-radius: 10px; text-decoration: none;
  font: 600 16px var(--heading); letter-spacing: .08em; text-transform: uppercase; box-shadow: 3px 3px 0 rgba(43,43,43,.25);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(43,43,43,.25); }
.btn.primary { background: var(--sienna); color: var(--chalk); }
.btn.outline { background: var(--paper); color: var(--pine); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 3px solid var(--charcoal); }
.hero .range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; }
.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 8vw, 96px) var(--gutter) 0;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end;
}
.hero-copy { padding-bottom: clamp(120px, 22vw, 260px); display: flex; flex-direction: column; gap: 18px; }
.eyebrow, .kicker { font: 600 14px var(--heading); letter-spacing: .14em; text-transform: uppercase; color: var(--sienna); }
.hero h1 { font: clamp(84px, 15vw, 184px)/.85 var(--display); letter-spacing: .02em; color: var(--pine); }
.tagline { font: clamp(40px, 6vw, 72px)/1 var(--display); letter-spacing: .02em; color: var(--sienna); }
.lede { font-size: clamp(18px, 2vw, 22px); max-width: 34ch; }
.hero-phone { justify-self: center; width: min(360px, 100%); margin-bottom: -2px; }
.hero-phone img { border-bottom: 0; border-radius: 28px 28px 0 0; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-phone { width: min(280px, 80%); }
}

/* ---------- Statement strip ---------- */
.statement { background: var(--pine); color: var(--chalk); text-align: center; padding: clamp(56px, 9vw, 112px) var(--gutter); border-bottom: 3px solid var(--charcoal); }
.statement p { font: clamp(44px, 7vw, 96px)/1 var(--display); letter-spacing: .02em; }
.statement .quiet { margin: 18px auto 0; max-width: 40ch; font: italic clamp(18px, 2vw, 24px)/1.45 var(--body); color: var(--mustard); }

/* ---------- Phone and frame figures ---------- */
.phone img, .phone video, .frame img {
  border: 2px solid var(--charcoal); border-radius: 22px; background: var(--paperDeep); box-shadow: 6px 6px 0 rgba(43,43,43,.18);
}
.frame img { border-radius: 10px; }

/* ---------- Features ---------- */
.feature {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gutter);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.feature.flip { grid-template-columns: 1fr 1.2fr; }
.feature.flip .copy { order: 2; }
.feature .phone { justify-self: center; width: min(340px, 100%); }
.copy { display: flex; flex-direction: column; gap: 16px; }
.copy h2, .why h2, .specs h2 { font: clamp(48px, 7vw, 88px)/.92 var(--display); letter-spacing: .015em; color: var(--pine); }
.copy .aside { font-style: italic; color: var(--pineLight); border-left: 3px solid var(--mustard); padding-left: 14px; }
.more { font: 600 15px var(--heading); letter-spacing: .06em; text-transform: uppercase; color: var(--sienna); text-decoration: none; }
.more:hover { text-decoration: underline; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.facts li { background: var(--paperDeep); border: 2px solid var(--charcoal); border-radius: 10px; padding: 12px 16px; box-shadow: 3px 3px 0 rgba(43,43,43,.15); }
.facts b { font: 600 16px var(--heading); color: var(--pine); letter-spacing: .03em; }
.bignum { font: 500 18px/1.3 var(--heading); color: var(--pineLight); }
.bignum span { display: block; font: clamp(80px, 12vw, 148px)/.85 var(--display); color: var(--sienna); letter-spacing: .01em; }

/* The headline moment gets a pine band and the real query on screen. */
.hero-feature { grid-template-columns: 1fr 1.35fr; max-width: none; background: var(--pine); color: var(--chalk); border-block: 3px solid var(--charcoal);
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.hero-feature h2 { color: var(--chalk); }
.hero-feature .kicker, .hero-feature .more { color: var(--mustard); }
.hero-feature .bignum { color: var(--chalk); }
.hero-feature .bignum span { color: var(--mustard); }
.code {
  margin: 0; min-width: 0; overflow-x: auto; padding: 22px; font: clamp(12px, 1.3vw, 15px)/1.6 var(--mono); color: var(--pine);
  background: var(--paperDeep); border: 2px solid var(--charcoal); border-radius: 10px; box-shadow: 6px 6px 0 rgba(0,0,0,.25);
}
.code code { background: none; padding: 0; font: inherit; font-variant-ligatures: none; }
.code .k { color: var(--sienna); font-weight: 600; }
.code .h { color: var(--pine); background: rgba(217,164,65,.35); border-radius: 3px; }

.stamps { display: grid; gap: 20px; }
.stamps img { border: 2px solid var(--charcoal); border-radius: 10px; box-shadow: 6px 6px 0 rgba(43,43,43,.18); }
.stamps img:nth-child(2) { margin-left: 12%; }
.feature.wide { grid-template-columns: 1fr 1.3fr; }

@media (max-width: 820px) {
  .feature, .feature.wide, .feature.flip, .hero-feature { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .stamps img:nth-child(2) { margin-left: 0; }
}

/* Sunburst divider: a thin rule with a diamond in the middle (style guide §3). */
.sunburst { position: relative; max-width: var(--max); margin: 0 auto; height: 16px; border: 0;
  background: linear-gradient(var(--charcoal), var(--charcoal)) center / calc(100% - 2 * var(--gutter)) 2px no-repeat; }
.sunburst::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px;
  background: var(--mustard); border: 2px solid var(--charcoal); transform: translate(-50%, -50%) rotate(45deg); }

/* ---------- Video ---------- */
.watch {
  background: var(--charcoal); color: var(--chalk); border-block: 3px solid var(--charcoal);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  padding: clamp(56px, 9vw, 120px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.watch h2 { color: var(--chalk); }
.watch .kicker { color: var(--mustard); }
.watch .phone { justify-self: center; width: min(340px, 100%); }
.watch .phone video { border-color: var(--mustard); }
@media (max-width: 820px) { .watch { grid-template-columns: 1fr; } }

/* ---------- Why now ---------- */
.why, .specs, .get { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.reasons article, .split > div {
  background: var(--paperDeep); border: 2px solid var(--charcoal); border-radius: 10px; padding: 22px; box-shadow: 3px 3px 0 rgba(43,43,43,.15);
  display: flex; flex-direction: column; gap: 8px;
}
.reasons h3, .split h3 { font: 600 20px/1.2 var(--heading); letter-spacing: .03em; text-transform: uppercase; color: var(--pine); }
.reasons p, .split p { font-size: 17px; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--chalk); border: 2px solid var(--charcoal); border-radius: 10px; overflow: hidden; font-size: 17px; }
.compare caption { text-align: left; padding-bottom: 10px; font: 600 14px var(--heading); letter-spacing: .14em; text-transform: uppercase; color: var(--sienna); }
.compare th, .compare td { text-align: left; padding: 12px 16px; vertical-align: top; }
.compare thead th { background: var(--pine); color: var(--chalk); font: 600 15px var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.compare tbody th { font: 600 16px var(--heading); color: var(--pine); width: 30%; }
.compare tbody tr + tr > * { border-top: 1px solid var(--paperDeep); }
.compare td:nth-child(2) { background: rgba(62,107,78,.1); font-weight: 600; color: var(--pine); }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody th { width: auto; padding-bottom: 2px; background: var(--paperDeep); }
  .compare td { padding-top: 4px; }
  .compare td:nth-child(2)::before { content: "On the device: "; font-weight: 400; }
  .compare td:nth-child(3)::before { content: "In the cloud: "; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split > div:first-child { background: var(--pine); }
.split > div:first-child h3 { color: var(--mustard); }
.split > div:first-child p { color: var(--chalk); }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } }
.closer { font: clamp(30px, 4vw, 48px)/1 var(--display); letter-spacing: .02em; color: var(--pine); text-align: center; }

/* ---------- Specs ---------- */
.specs { border-top: 3px solid var(--charcoal); }
.specs dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 2px solid var(--charcoal); }
.specs dl > div { padding: 18px 20px 18px 0; border-bottom: 1px solid rgba(43,43,43,.25); display: grid; gap: 4px; }
.specs dt { font: 600 15px var(--heading); letter-spacing: .1em; text-transform: uppercase; color: var(--sienna); }
.specs dd { font-size: 17px; }

/* ---------- Get it ---------- */
.get { max-width: none; background: var(--pine); color: var(--chalk); text-align: center; align-items: center; border-block: 3px solid var(--charcoal); }
.get h2 { font: clamp(56px, 9vw, 120px)/.9 var(--display); letter-spacing: .02em; color: var(--chalk); }
.get .price { font: 600 20px var(--heading); letter-spacing: .12em; text-transform: uppercase; color: var(--mustard); }
.get > p { max-width: 52ch; }
.get .ctas { justify-content: center; }
.doclinks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.doclinks a { color: var(--chalk); font: 500 15px var(--heading); letter-spacing: .05em; }

/* ---------- Fine print ---------- */
.fineprint { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 64px; font-size: 14px; line-height: 1.5; color: #4a4a4a; }
.fineprint ol { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 8px; }
.fineprint li:target { background: rgba(217,164,65,.3); }

/* Paid-tier asides: what the Capella AI Data Plane would add. Dashed edge = not in this demo. */
.upgrade { background: var(--chalk); border: 2px dashed var(--pineLight); border-radius: 10px; padding: 14px 18px; display: grid; gap: 6px; font-size: 16px; }
.upgrade .tag { font: 600 13px var(--heading); letter-spacing: .12em; text-transform: uppercase; color: var(--pineLight); }

/* The "not a product" note at the foot of the page: the same words on every demo page, in this page's theme. */
.disclaimer { margin-top: 8px; padding: 18px 22px; border: 2px solid var(--pine); border-radius: 10px; background: var(--chalk); color: var(--pine); display: grid; gap: 8px; }
.disclaimer p { margin: 0; }
.disclaimer .marks { color: #4a4a4a; }
