/* ==========================================================================
   The Gaurav Rangnekar Company — GRCo.
   Minimal, light, futuristic.  Periwinkle accent on warm off-white.
   Headings: Geist (clean modern sans).  Body: Space Grotesk.  Mono: JetBrains.
   ========================================================================== */

:root {
  /* Light, paper-like base */
  --bg: #f5f3ed;          /* warm off-white */
  --bg-elev: #ffffff;
  --bg-soft: #ecead9;     /* faint cream */
  --bg-tint: #e3eaf6;     /* faint blue wash */

  --ink: #0e1733;         /* deep blue-black */
  --ink-soft: #475173;
  --ink-dim: #9099b0;

  --line: rgba(14, 23, 51, 0.10);
  --line-strong: rgba(14, 23, 51, 0.22);

  --brand: #5773b3;       /* logo periwinkle */
  --brand-deep: #354d85;
  --brand-light: #8aa2d4;
  --brand-soft: #aebfe2;

  /* Theme gradients */
  --grad-hero:
    radial-gradient(60% 80% at 85% 0%,  rgba(87, 115, 179, 0.18) 0%, transparent 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(174, 191, 226, 0.32) 0%, transparent 60%),
    linear-gradient(180deg, #f7f5ef 0%, #eef0f8 100%);
  --grad-brand: linear-gradient(135deg, #6f8ec9 0%, #4961a3 60%, #354d85 100%);
  --grad-text:  linear-gradient(95deg, #0e1733 0%, #2c4382 60%, #5773b3 100%);
  --grad-line:  linear-gradient(90deg, transparent 0%, rgba(87,115,179,0.45) 50%, transparent 100%);
  --grad-card:
    radial-gradient(120% 100% at 0% 0%, rgba(174,191,226,0.6) 0%, transparent 55%),
    radial-gradient(120% 100% at 100% 100%, rgba(87,115,179,0.45) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f1efe8 100%);

  --display: 'Geist', 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans: 'Geist', 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}
a:hover { color: var(--brand); }

img { max-width: 100%; display: block; }
::selection { background: var(--brand); color: #fff; }

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 120px 0; position: relative; }
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
}

/* -------------------------------------------------------------------------- */
/* Nav                                                                        */
/* -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(247, 245, 239, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  color: var(--ink);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 4px 14px rgba(53, 77, 133, 0.22);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--brand); }

@media (max-width: 720px) {
  .nav-inner { height: 68px; }
  .brand-name { font-size: 13px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */
.hero {
  padding: 140px 0 120px;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--grad-hero);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(14,23,51,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,23,51,0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(87, 115, 179, 0.18);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.6; }
}

h1.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  color: var(--ink);
}
h1.display em {
  font-style: normal;
  font-weight: 400;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1.display .accent {
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(95deg, var(--brand-deep) 0%, var(--brand) 60%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1.display .dot { color: var(--brand); }

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 40px;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta span strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-family: var(--display);
  letter-spacing: -0.01em;
}

/* -------------------------------------------------------------------------- */
/* Section heading                                                            */
/* -------------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad-line);
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 760px;
  color: var(--ink);
}
.section-head h2 em {
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(95deg, var(--brand-deep), var(--brand) 60%, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 720px) {
  .section-head { flex-direction: column; gap: 16px; margin-bottom: 48px; }
}

/* -------------------------------------------------------------------------- */
/* Vision                                                                     */
/* -------------------------------------------------------------------------- */
.vision { border-bottom: 1px solid var(--line); }
.vision-body {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 980px;
  color: var(--ink);
}
.vision-body .mute { color: var(--ink-dim); }
.vision-body .mark {
  font-weight: 400;
  background: linear-gradient(95deg, var(--brand-deep), var(--brand) 70%, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------------- */
/* Apps                                                                       */
/* -------------------------------------------------------------------------- */
.apps { border-bottom: 1px solid var(--line); }
.app-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.app-card:first-of-type { border-top: none; }

.app-card .visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--grad-brand);
  border: 1px solid var(--brand-deep);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -30px rgba(53, 77, 133, 0.5);
}
.app-card .visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.85;
}
.app-card .visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(255,255,255,0.25) 0%, transparent 60%),
    radial-gradient(60% 60% at 10% 90%, rgba(53, 77, 133, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.app-card .visual .glyph {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(80px, 12vw, 156px);
  line-height: 1;
  color: #fff;
  position: relative;
  letter-spacing: -0.05em;
  z-index: 1;
}
.app-card .visual .app-icon {
  position: relative;
  z-index: 1;
  width: 52%;
  max-width: 260px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 22.37%;            /* iOS squircle ratio */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 28px 50px -18px rgba(14, 23, 51, 0.55),
    0 6px 20px -6px rgba(53, 77, 133, 0.45);
}
.app-card .visual.muted {
  background: var(--grad-card);
  border-color: var(--line);
  box-shadow: none;
}
.app-card .visual.muted .glyph {
  color: var(--brand-deep);
  opacity: 0.45;
}
.app-card .visual.muted::before { opacity: 0; }
.app-card .visual.muted::after { opacity: 0; }

.app-card .info .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.app-card .info .tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand);
}
.app-card .info h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
  color: var(--ink);
}
.app-card .info p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.65;
}
.app-card .info .links { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: all 160ms ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.primary {
  background: var(--grad-brand);
  border-color: var(--brand-deep);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(53,77,133,0.5);
}
.chip.primary:hover { color: #fff; filter: brightness(1.05); }

@media (max-width: 820px) {
  .app-card { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
}

/* -------------------------------------------------------------------------- */
/* Principles                                                                 */
/* -------------------------------------------------------------------------- */
.principles {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(174,191,226,0.18) 0%, transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(174,191,226,0.14) 0%, transparent 60%);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg-elev);
}
.principle {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 220ms ease;
  background: transparent;
}
.principle:hover {
  background:
    linear-gradient(180deg, rgba(227, 234, 246, 0.4) 0%, transparent 100%);
}
.principle .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.principle h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 24px 0 10px;
  color: var(--ink);
}
.principle h4 em {
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(95deg, var(--brand-deep), var(--brand) 70%, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.principle p { color: var(--ink-soft); font-size: 14.5px; margin: 0; line-height: 1.6; }

@media (max-width: 820px) { .principles-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Contact                                                                    */
/* -------------------------------------------------------------------------- */
.contact .container { max-width: 900px; }
.contact h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 48px;
  color: var(--ink);
}
.contact h2 em {
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(95deg, var(--brand-deep), var(--brand) 70%, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-cell .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.contact-cell .value {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.contact-cell .value a { border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.contact-cell .value a:hover { border-bottom-color: var(--brand); color: var(--brand); }

@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--brand); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* -------------------------------------------------------------------------- */
/* Legal / Policy pages                                                       */
/* -------------------------------------------------------------------------- */
.doc {
  padding: 80px 0 120px;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(174,191,226,0.22) 0%, transparent 60%);
}
.doc .container { max-width: 760px; }
.doc .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 40px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.doc .crumbs a:hover { color: var(--brand); }
.doc .crumbs .sep { opacity: 0.45; }

.doc h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: var(--ink);
}
.doc h1 em {
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(95deg, var(--brand-deep), var(--brand) 70%, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.doc .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.doc .meta span strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--mono);
  margin-left: 8px;
}

.doc h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 56px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--ink);
}
.doc h2 .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brand);
  text-transform: uppercase;
  flex-shrink: 0;
  font-weight: 400;
}
.doc h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  margin: 28px 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.doc p, .doc li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.doc p { margin: 0 0 16px; }
.doc ul { padding-left: 20px; margin: 0 0 16px; }
.doc ul li { margin-bottom: 8px; }
.doc ul li::marker { color: var(--brand); }
.doc strong { color: var(--ink); font-weight: 500; }
.doc a { color: var(--brand); border-bottom: 1px solid var(--brand-soft); }
.doc a:hover { border-bottom-color: var(--brand); color: var(--brand-deep); }

.doc .callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  background:
    linear-gradient(180deg, rgba(227, 234, 246, 0.6) 0%, var(--bg-elev) 100%);
  padding: 22px 26px;
  margin: 24px 0 32px;
  border-radius: var(--radius-sm);
}
.doc .callout p { margin: 0; color: var(--ink); font-size: 15px; }

.doc .toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 56px;
  background:
    linear-gradient(180deg, var(--bg-elev) 0%, rgba(227, 234, 246, 0.4) 100%);
}
.doc .toc .toc-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.doc .toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  columns: 2;
  column-gap: 32px;
}
.doc .toc ol li {
  counter-increment: toc;
  padding: 6px 0;
  font-size: 14px;
  break-inside: avoid;
  font-family: var(--display);
  letter-spacing: -0.005em;
}
.doc .toc ol li::before {
  content: counter(toc, decimal-leading-zero) "  ";
  font-family: var(--mono);
  font-size: 10px;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.doc .toc ol li a { border: none; color: var(--ink-soft); }
.doc .toc ol li a:hover { color: var(--brand); }

@media (max-width: 640px) { .doc .toc ol { columns: 1; } }

/* -------------------------------------------------------------------------- */
/* Fields product page                                                        */
/* -------------------------------------------------------------------------- */
.fields-hero {
  padding: 120px 0 100px;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--grad-hero);
}
.fields-hero-inner {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.fields-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.fields-icon-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(closest-side, rgba(87, 115, 179, 0.35) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.fields-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 22.37%;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 36px 64px -22px rgba(14, 23, 51, 0.45),
    0 8px 24px -8px rgba(53, 77, 133, 0.4);
}
.fields-hero-copy h1.fields-title {
  margin: 24px 0 28px;
  font-size: clamp(40px, 6.4vw, 84px);
}
.fields-hero-copy h1.fields-title em {
  display: inline-block;
  margin-top: 4px;
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(95deg, var(--brand-deep), var(--brand) 60%, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fields-hero-copy .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 820px) {
  .fields-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  .fields-icon { max-width: 200px; }
  .fields-icon-wrap { justify-self: start; }
}

/* Feature grid on Fields page */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg-elev);
}
.feat {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: background 220ms ease;
}
.feat:hover {
  background: linear-gradient(180deg, rgba(227, 234, 246, 0.45) 0%, transparent 100%);
}
.feat .feat-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
.feat h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.feat h3 em {
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(95deg, var(--brand-deep), var(--brand) 70%, var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feat p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 720px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* Doc page header — small Fields icon next to title                          */
/* -------------------------------------------------------------------------- */
.doc-product {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.doc-product .doc-icon {
  width: 64px;
  height: 64px;
  border-radius: 22.37%;
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 14px 28px -10px rgba(14, 23, 51, 0.32),
    0 4px 12px -4px rgba(53, 77, 133, 0.32);
}
.doc-product .doc-product-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.doc-product .doc-product-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.doc-product .doc-product-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
