/* ============================================================
   contractLoop — design system (Blue · Bento · Sora)
   Production CSS extracted from the HTML prototype.
   Class-based; drop into an Eleventy (or any) project.
   ============================================================ */

:root {
  /* ---- brand palette (Blue) ---- */
  --brand:        oklch(0.55 0.20 255);
  --brand-2:      oklch(0.58 0.19 285);
  --brand-3:      oklch(0.72 0.14 205);
  --brand-4:      oklch(0.85 0.13 230);
  --brand-soft:   oklch(0.955 0.035 255);
  --brand-2-soft: oklch(0.955 0.035 285);
  --brand-3-soft: oklch(0.955 0.035 205);

  /* ---- neutrals ---- */
  --bg:        oklch(0.985 0.004 280);
  --surface:   oklch(1 0 0);
  --surface-2: oklch(0.975 0.006 280);
  --ink:       oklch(0.19 0.03 280);
  --ink-2:     oklch(0.32 0.025 280);
  --muted:     oklch(0.52 0.02 280);
  --line:      oklch(0.91 0.008 280);
  --line-2:    oklch(0.86 0.01 280);
  --dark-bg:   oklch(0.17 0.035 280);
  --dark-bg-2: oklch(0.22 0.04 280);

  /* ---- type ---- */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* ---- scale ---- */
  --maxw: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.04; margin: 0; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }

/* ---- helpers ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
  color: var(--brand);
}
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.center { text-align: center; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 oklch(1 0 0 / .25) inset, 0 8px 22px -10px var(--brand); }
.btn-primary:hover { box-shadow: 0 1px 0 oklch(1 0 0 / .25) inset, 0 12px 28px -8px var(--brand); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---- site header (pill) ---- */
.site-header-wrap { position: sticky; top: 0; z-index: 50; padding: 16px 0; pointer-events: none; }
.site-header {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 10px 12px 10px 22px;
  box-shadow: 0 10px 34px -22px oklch(0.4 0.1 280 / .5);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand span { color: var(--brand); }
.site-nav { display: flex; gap: 22px; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .15s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--brand); }
.site-header-actions { display: flex; align-items: center; gap: 10px; }

/* ---- language toggle ---- */
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); }
.lang-toggle a { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; color: var(--muted); }
.lang-toggle a.is-active { background: var(--brand); color: #fff; }

/* ---- hero ---- */
.hero { padding: 40px 0; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -0.03em; margin-top: 16px; }
.hero .lead { margin-top: 22px; max-width: 660px; }
.hero-accent-1 { color: var(--brand); }
.hero-accent-2 { color: var(--brand-2); }
.hero-accent-3 { color: var(--brand-3); }

/* ---- section heading ---- */
.section-head { margin-bottom: 40px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 12px; }
.section-head p { font-size: 17.5px; color: var(--muted); margin-top: 14px; }

/* ---- generic card + bento ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card-hover { transition: transform .22s ease, box-shadow .22s ease; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px oklch(0.4 0.1 280 / .5); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 176px; gap: 16px; }
.bento-tile { border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .22s ease, box-shadow .22s ease; }
.bento-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px oklch(0.4 0.1 280 / .5); }
.bento-tile.col-2 { grid-column: span 2; } .bento-tile.col-3 { grid-column: span 3; }
.bento-tile.row-2 { grid-row: span 2; }
.bento-tile.fill-brand  { background: var(--brand);   color: #fff; }
.bento-tile.fill-brand2 { background: var(--brand-2); color: #fff; }
.bento-tile.fill-soft3  { background: var(--brand-3-soft); }
.bento-tile.fill-dark   { background: var(--ink); color: #fff; }
.bento-tile.fill-plain  { background: var(--surface); border: 1px solid var(--line); }

.icon-badge { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); }
.icon-badge.on-color { background: oklch(1 0 0 / .16); color: #fff; }

/* ---- striped placeholder (swap for real imagery) ---- */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, oklch(0 0 0 / .035) 0 2px, transparent 2px 11px),
    var(--surface-2);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.ph-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); background: var(--surface); padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 6px; }

/* ---- pricing ---- */
.period-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); }
.period-toggle button { border: 0; border-radius: 999px; padding: 8px 16px; font-family: var(--font-display); font-weight: 500; font-size: 14px; background: transparent; color: var(--muted); transition: all .18s ease; }
.period-toggle button.is-active { background: var(--brand); color: #fff; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.price-card.featured { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 30px 60px -34px var(--brand); }
.price-card .tag { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: oklch(1 0 0 / .2); color: #fff; padding: 5px 10px; border-radius: 999px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 22px; }
.price-amount .from { font-family: var(--font-display); font-weight: 600; font-size: 18px; align-self: center; color: var(--muted); }
.price-card.featured .price-amount .from { color: oklch(1 0 0 / .8); }
.price-amount .num { font-family: var(--font-display); font-weight: 700; font-size: 50px; letter-spacing: -0.02em; }
.price-amount .per { font-size: 14px; color: var(--muted); }
.price-card.featured .price-amount .per { color: oklch(1 0 0 / .75); }
.price-features { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.price-features li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; color: var(--ink-2); }
.price-card.featured .price-features li { color: oklch(1 0 0 / .92); }
.price-features svg { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.price-card.featured .price-features svg { color: #fff; }

/* ---- comparison table ---- */
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.compare th { padding: 20px 18px; font-family: var(--font-display); font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.compare th.feat-col { text-align: left; padding-left: 24px; }
.compare th.featured { color: var(--brand); }
.compare td { padding: 14px 18px; text-align: center; color: var(--ink-2); }
.compare td.feat { text-align: left; padding-left: 24px; font-size: 14.5px; font-weight: 500; }
.compare tr:nth-child(even) { background: var(--surface-2); }
.compare .yes { color: var(--brand); } .compare .no { color: var(--line-2); }

/* ---- FAQ accordion ---- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: transparent; border: 0; padding: 22px 0; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 18.5px; color: inherit; }
.faq-q .plus { flex-shrink: 0; transition: transform .25s ease; color: var(--brand); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 24px; padding-right: 40px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---- form ---- */
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-family: inherit; font-size: 15px; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--brand); }
.field.error input, .field.error textarea { border-color: var(--brand-2); }
.field .msg { font-size: 12.5px; color: var(--brand-2); margin-top: 5px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.chip.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 72px 48px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, oklch(1 0 0 / .05) 0 1px, transparent 1px 18px); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 5vw, 52px); color: #fff; line-height: 1; letter-spacing: -0.02em; }
.cta-band p { font-size: 18.5px; margin-top: 18px; color: oklch(1 0 0 / .9); max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 13px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---- footer ---- */
.site-footer { background: var(--dark-bg); color: oklch(0.82 0.02 280); padding: 64px 0 40px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; align-items: start; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: oklch(0.6 0.02 280); margin-bottom: 16px; font-weight: 500; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 14.5px; color: oklch(0.78 0.02 280); }
.footer-bar { margin-top: 56px; padding-top: 24px; border-top: 1px solid oklch(1 0 0 / .1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: oklch(0.62 0.02 280); }
.footer-bar .legal-quick { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bar .legal-quick a { color: oklch(0.8 0.02 280); font-weight: 500; }

/* ---- legal pages ---- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; margin-top: 14px; }
.legal-note { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border: 1px solid color-mix(in oklab, var(--brand) 25%, white); border-radius: 12px; padding: 14px 18px; margin-top: 26px; }
.legal-note p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.legal section { margin-top: 32px; }
.legal section h2 { font-size: 21px; margin-bottom: 12px; }
.legal section p { font-size: 15.5px; color: var(--ink-2); line-height: 1.62; margin-bottom: 8px; }

/* ---- reveal on scroll (optional; needs site.js) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* ---- hero badge + workspace ---- */
.badge-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: var(--brand-4); margin-bottom: 30px; }
.badge-pill .mono { font-size: 12.5px; letter-spacing: .04em; color: oklch(0.28 0.08 130); font-weight: 500; }
.hero-c { padding: 56px 0 64px; }
.hero-c h1 { font-size: clamp(46px, 8vw, 112px); line-height: .94; letter-spacing: -0.035em; max-width: 1120px; }
.hero-c .hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-top: 44px; }
.hero-c .hero-sub { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 560px; }
.hero-c .hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-workspace { border-radius: 20px; box-shadow: 0 50px 100px -55px oklch(0.4 0.1 280 / .6); }

/* ---- marquee ---- */
.marquee-sec { padding: 30px 0 70px; overflow: hidden; }
.marquee-track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 64px; padding-right: 64px; animation: marquee 26s linear infinite; flex-shrink: 0; }
.marquee-row span { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--line-2); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } }

/* ---- home bento (optionC exact) ---- */
.bento-c { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 176px; gap: 16px; }
.bento-c .tile { border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .22s ease, box-shadow .22s ease; overflow: hidden; }
.bento-c .tile:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px oklch(0.4 0.1 280 / .5); }
.bento-c .tile .ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.bento-c .tile h3 { line-height: 1.15; }
.bento-c .tile p { margin: 0; line-height: 1.55; }
.bento-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.bento-head h2 { font-size: clamp(32px, 5vw, 56px); max-width: 640px; }
.bento-head p { font-size: 17px; color: var(--muted); max-width: 340px; }
.bento-c .tile.fill-brand { background: var(--brand); color: #fff; }
.bento-c .tile.fill-brand2 { background: var(--brand-2); color: #fff; }
.bento-c .tile.fill-soft3 { background: var(--brand-3-soft); }
.bento-c .tile.fill-dark { background: var(--ink); color: #fff; }
.bento-c .tile.fill-plain { background: var(--surface); border: 1px solid var(--line); }
.bento-c .tile.fill-brand p, .bento-c .tile.fill-brand2 p { color: oklch(1 0 0 / .83); }
.bento-c .tile.fill-dark p { color: oklch(0.76 0.02 280); }
.bento-c .tile.fill-soft3 p { color: var(--ink-2); }
.bento-c .tile.fill-plain p { color: var(--muted); }
.bento-c .tile .ic.on-color { background: oklch(1 0 0 / .16); color: #fff; }
.bento-c .tile .ic.ic-onwhite { background: var(--surface); color: var(--brand-3); }
.bento-c .tile .ic.ic-dark { background: oklch(1 0 0 / .1); color: var(--brand-4); }
.bento-c .tile .ic.ic-plain { background: var(--brand-soft); color: var(--brand); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .row-2 { grid-row: span 2; }
.tile-img { position: relative; padding: 0; }
.tile-img .cap { position: absolute; left: 22px; bottom: 22px; right: 22px; background: var(--surface); border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; font-size: 17px; }

/* ---- testimonials ---- */
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tm { margin: 0; border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 22px; min-height: 280px; }
.tm .quote-mark { font-family: var(--font-display); font-size: 46px; line-height: .4; height: 22px; color: var(--ink); }
.tm blockquote { margin: 0; font-size: 17.5px; line-height: 1.5; color: var(--ink); font-weight: 500; font-family: var(--font-display); letter-spacing: -0.01em; }
.tm figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tm .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.tm .nm { font-weight: 600; font-size: 14.5px; }
.tm .rl { font-size: 13px; color: var(--muted); }

/* ---- deployment cards (shared home + deployment page) ---- */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deploy-card { position: relative; border-radius: 18px; padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.deploy-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.deploy-card .badge { position: absolute; top: 26px; right: 26px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--brand); color: #fff; padding: 5px 10px; border-radius: 999px; }
.deploy-card .ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--brand-soft); color: var(--brand); }
.deploy-card.featured .ic { background: oklch(1 0 0 / .1); color: var(--brand-4); }
.deploy-card h3 { font-size: 23px; }
.deploy-card p { font-size: 15.5px; line-height: 1.6; margin-top: 12px; color: var(--muted); }
.deploy-card.featured p { color: oklch(0.8 0.02 280); }
.deploy-card ul { margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.deploy-card li { display: flex; gap: 10px; font-size: 14.5px; align-items: center; color: var(--ink-2); }
.deploy-card.featured li { color: oklch(0.88 0.02 280); }
.deploy-card li svg { color: var(--brand); flex-shrink: 0; }
.deploy-card.featured li svg { color: var(--brand-4); }

/* ---- page hero (subpages) ---- */
.page-hero { padding: 40px 0; }
.page-hero-inner { max-width: 1200px; }
.page-hero-inner.center { max-width: 820px; text-align: center; margin: 0 auto; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -0.03em; margin-top: 16px; max-width: 980px; }
.page-hero-inner.center h1 { max-width: none; }
.page-hero-sub { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin-top: 22px; max-width: 660px; }
.page-hero-inner.center .page-hero-sub { margin-left: auto; margin-right: auto; }

/* ---- feature deep-dive stories ---- */
.stories { display: flex; flex-direction: column; gap: 70px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story .tag { font-family: var(--font-mono); font-size: 13px; color: var(--brand-2); letter-spacing: .06em; }
.story h3 { font-size: clamp(23px, 3vw, 30px); margin: 12px 0 14px; }
.story .body { font-size: 16.5px; color: var(--muted); line-height: 1.62; margin-bottom: 20px; }
.story ul { display: flex; flex-direction: column; gap: 11px; }
.story li { display: flex; gap: 11px; align-items: center; font-size: 15px; font-weight: 500; }
.story li .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.story .media { position: relative; }
.story .media .glow { position: absolute; inset: -12px; border-radius: 22px; z-index: 0; }
.story .media .ph { position: relative; z-index: 1; }

/* ---- integrations ---- */
.integr-cat h3 { font-size: 15px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.integr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.integr-item { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: transform .22s ease, box-shadow .22s ease; }
.integr-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px oklch(0.4 0.1 280 / .5); }
.integr-item .logo { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-2); flex-shrink: 0; }
.integr-item .nm { font-weight: 600; font-size: 15.5px; }
.integr-item .desc { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.api-band { border-radius: 22px; padding: 52px 44px; background: var(--brand); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.api-band .ic { width: 48px; height: 48px; border-radius: 12px; background: oklch(1 0 0 / .16); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.api-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.api-band p { color: oklch(1 0 0 / .88); font-size: 16.5px; margin-top: 14px; max-width: 520px; }
.api-band .api-cta { display: flex; justify-content: flex-end; }

/* ---- deployment compliance band ---- */
.compliance-band { background: var(--ink); border-radius: 22px; padding: 44px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.compliance-band h3 { color: #fff; font-size: 22px; }
.compliance-band .pills { display: flex; gap: 14px; flex-wrap: wrap; }
.compliance-band .pills span { font-family: var(--font-mono); font-size: 13px; color: #fff; border: 1px solid oklch(1 0 0 / .22); border-radius: 999px; padding: 9px 16px; }

/* ---- about ---- */
.mission-band { background: var(--brand); color: #fff; border-radius: 24px; padding: 56px 48px; }
.mission-band .eyebrow { color: oklch(1 0 0 / .8); }
.mission-band p.mission { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.32; margin-top: 18px; letter-spacing: -0.01em; max-width: 920px; }
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-split p { font-size: 17px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.stat-strip { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.stat-strip .v { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--brand); }
.stat-strip .l { font-size: 13px; color: var(--muted); max-width: 120px; margin-top: 2px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.value-card .dot { width: 12px; height: 12px; border-radius: 4px; margin-bottom: 18px; }
.value-card h3 { font-size: 19px; margin-bottom: 9px; }
.value-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card .photo { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; margin-bottom: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card .nm { font-weight: 600; font-size: 16px; }
.team-card .rl { font-size: 13.5px; color: var(--muted); }

/* ---- features grid tiles (subpage) ---- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .22s ease, box-shadow .22s ease; }
.feat-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px oklch(0.4 0.1 280 / .5); }
.feat-card .ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-card h3 { font-size: 20px; margin-bottom: 9px; }
.feat-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.contact-form h2 { font-size: 24px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 0; }
.form-success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.contact-aside { display: flex; flex-direction: column; gap: 32px; }
.contact-aside h3 { font-size: 18px; margin-bottom: 16px; }
.expect-list { display: flex; flex-direction: column; gap: 13px; }
.expect-list li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); align-items: flex-start; }
.expect-list li svg { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.contact-details { border-top: 1px solid var(--line); padding-top: 28px; }
.contact-details .row { display: flex; gap: 12px; margin-bottom: 12px; }
.contact-details .k { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); width: 70px; flex-shrink: 0; padding-top: 1px; }
.contact-details .v { font-size: 15px; color: var(--ink); font-weight: 500; }

/* ---- blog ---- */
.blog-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 999px; }
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px oklch(0.4 0.1 280 / .5); }
.blog-featured .body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.blog-featured h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.blog-featured .excerpt { font-size: 16px; color: var(--muted); line-height: 1.6; margin-top: 14px; }
.blog-more { margin-top: 20px; color: var(--brand); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 7px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px oklch(0.4 0.1 280 / .5); }
.blog-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.blog-card h3 { font-size: 18.5px; line-height: 1.2; margin-bottom: 9px; }
.blog-card .excerpt { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
.blog-card .date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 16px; }
.cta-ghost { background: oklch(1 0 0 / .14); color: #fff; border: 1px solid oklch(1 0 0 / .3); }

/* ---- mobile menu ---- */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }
.mobile-menu { display: none; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-tile { grid-column: span 2 !important; grid-row: auto !important; min-height: 160px; }
  .bento-c { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-c .tile { grid-column: span 2 !important; grid-row: auto !important; min-height: 160px; }
  .tm-grid, .deploy-grid, .integr-grid, .feat-grid, .blog-grid, .team-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-c .hero-grid, .story, .story-split, .contact-grid, .api-band, .blog-featured, .form-row { grid-template-columns: 1fr; gap: 28px; }
  .story .media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-nav { display: none; }
  .site-header-actions .lang-toggle { display: none; }
  .nav-toggle { display: inline-flex; }
  .container { padding: 0 20px; }
  .api-band .api-cta { justify-content: flex-start; }
  /* mobile menu panel */
  .mobile-menu { display: block; position: fixed; inset: 0; z-index: 100; background: var(--bg); padding: 20px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .mobile-menu.open { transform: none; }
  .mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
  .mobile-menu .mm-close { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
  .mobile-menu nav a { font-family: var(--font-display); font-weight: 600; font-size: 22px; padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu .mm-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
  .mobile-menu .mm-lang { display: inline-flex; align-self: flex-start; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 48px 24px; }
  .mission-band, .api-band, .compliance-band { padding: 32px 24px; }
}
