/*
  haime.ai — Shared Stylesheet
  Brand: Roc Grotesk (licensed — files in /fonts/)
  Colors: Exact brand identity values from haime-brand-identity.md
*/

/* ── Roc Grotesk — all weights loaded from local WOFF2 files ── */
@font-face {
  font-family: 'Roc Grotesk';
  src: url('fonts/Roc Grotesk Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('fonts/Roc Grotesk Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('fonts/Roc Grotesk Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('fonts/Roc Grotesk Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('fonts/Roc Grotesk Extra Bold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('fonts/Roc Grotesk Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────── */
:root {
  /* Brand greens — official hex values */
  --forest:       #0F3D2E;
  --primary:      #2F6F5E;
  --mid-green:    #3B7D5E;   /* derived mid-tone */
  --mint:         #4ECF9A;
  --pale-mint:    #DDEEE8;
  --very-light:   #EEF2F1;
  --off-white:    #FAFCFB;

  /* Neutrals */
  --deep-teal:    #1E2624;
  --dark-teal:    #3A4542;
  --mid-teal:     #8FA3A0;
  --sand:         #E6E1DA;

  /* Accent */
  --amber:        #FF9F1C;

  /* Text */
  --text-primary:   #1E2624;
  --text-secondary: #3A4542;
  --text-muted:     #8FA3A0;

  /* Borders */
  --border-light:  #DDEEE8;
  --border-softer: #EEF2F1;

  /* Typography — Roc Grotesk loaded from /fonts/ */
  --font: 'Roc Grotesk', system-ui, sans-serif;

  /* Spacing & Radii */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 100px;

  --section-padding: 88px 56px;
  --max-width: 1160px;
}

/* ─────────────────────────────────────────────
   RESET
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }

/* ─────────────────────────────────────────────
   UTILITIES & WIDTH STANDARDIZATION
   ───────────────────────────────────────────── */
.center       { text-align: center; }
.container    { max-width: var(--max-width); margin: 0 auto; }

/* 
   WIDTH CONVENTION GUIDE:
   ─────────────────────
   • Main container max-width: --max-width (1160px) + horizontal padding (56px)
   • Section structure: <section> with padding, contains <div> with max-width + margin: 0 auto
   • Hero sections: Full-width background, content centered with flexbox, children left-aligned with individual max-widths
   • Text content: Headlines and paragraphs should have max-widths so they don't span full container width
   • Nested grids: Can have their own max-widths narrower than main container for specific layouts
   
   RECOMMENDED PATTERNS:
   1. Full-grid sections: <section style="padding: var(--section-padding);"><div style="max-width: var(--max-width); margin: 0 auto;">
   2. Text content: 480px–760px for single-column content, 820px max for multi-column
   3. Grids within containers: Use max-width on the grid (e.g., 900px for 4-col team grid)
   4. Headlines: 560px–760px to prevent overly wide text lines
   5. Paragraphs: 480px–620px for readability
*/
.sr-only      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─────────────────────────────────────────────
   IMAGE PLACEHOLDER SYSTEM
   Use wherever a real image/illustration is needed.
   ───────────────────────────────────────────── */
.img-placeholder {
  background: var(--pale-mint);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  min-height: 220px;
}
.img-placeholder-inner { max-width: 280px; }
.img-placeholder-icon  { font-size: 36px; margin-bottom: 12px; }
.img-placeholder-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.img-placeholder-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 0 56px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-links { justify-self: center; }
.nav-actions { justify-self: end; }
.nav-logo {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}

/* ── Solid filled amber button (nav primary CTA) ── */
.btn-solid-amber {
  display: inline-flex; align-items: center;
  font-family: var(--font); font-weight: 600; font-size: 13px;
  background: var(--amber); color: var(--forest);
  cursor: pointer; text-decoration: none;
  border-radius: var(--radius-pill); padding: 8px 18px;
  border: 2.5px solid var(--amber);
  transition: all 0.2s; white-space: nowrap;
}
.btn-solid-amber:hover { background: #e88c10; border-color: #e88c10; }

/* ── Subtle text-style login link ── */
.nav-login {
  font-family: var(--font); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.55); text-decoration: none;
  padding: 8px 10px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-login:hover { color: #fff; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a.active { font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.nav-links .has-dropdown { position: relative; }
.nav-caret {
  font-size: 9px;
  color: var(--text-muted);
  margin-left: 3px;
  display: inline-block;
  transition: transform 0.2s;
}
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--forest);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 500;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  background: var(--forest);
  border-left: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dd-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s;
}
.dd-item:hover { background: rgba(255,255,255,0.08); }
.dd-icon {
  width: 30px; height: 30px;
  background: var(--pale-mint);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
  font-size: 14px;
}
.dd-title  { font-size: 13.5px; font-weight: 600; color: #fff; display: block; line-height: 1.3; }
.dd-desc   { font-size: 11.5px; color: rgba(255,255,255,0.5); display: block; margin-top: 2px; }

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
/* Sizes */
.btn-amber     { background: var(--amber); color: var(--forest); font-weight: 700; }
.btn-amber:hover { background: #f09010; transform: translateY(-1px); }

.btn-ghost     { background: none; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--forest); }

.btn-outline   { background: none; border: 2px solid var(--border-light); color: var(--primary); }
.btn-outline:hover { border-color: var(--primary); background: var(--pale-mint); }

.btn-white     { background: #fff; color: var(--forest); font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,0.15); }

.btn-outline-white { background: none; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

/* ─────────────────────────────────────────────
   SECTION BASE
   ───────────────────────────────────────────── */
section { padding: var(--section-padding); }
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mid-green);
  margin-bottom: 14px;
  display: block;
}
.section-tag.on-dark { color: var(--mint); }
h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
h2.on-dark { color: #fff; }
h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.3;
  margin-bottom: 10px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.center .section-desc { margin-left: auto; margin-right: auto; }
.section-desc.on-dark { color: rgba(255,255,255,0.72); }

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages) — V3: green background
   ───────────────────────────────────────────── */
.page-hero {
  background: var(--primary);
  padding: 100px 56px 96px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(78,207,154,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-tag { color: rgba(255,255,255,0.5); }
.page-hero h1 { max-width: 760px; color: #fff; }
.page-hero .hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.75;
  margin-top: 4px;
}
.page-hero-cta {
  display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap;
}
.page-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
}
.page-hero-copy {
  min-width: 0;
}
.page-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 320px;
}
.page-hero-visual img {
  width: auto;
  max-width: 100%;
  max-height: 320px;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .hero-v3,
  .page-hero {
    padding: 64px 32px 72px;
  }

  .hero-content,
  .page-hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .page-hero-visual {
    justify-content: center;
    min-height: 260px;
  }

  .hero-visual img,
  .page-hero-visual img {
    max-width: 420px;
    max-height: 260px;
  }
}

/* ─────────────────────────────────────────────
   TRUST ROW
   ───────────────────────────────────────────── */
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-check {
  width: 18px; height: 18px;
  background: rgba(78,207,154,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-check svg { width: 10px; height: 10px; }

/* ─────────────────────────────────────────────
   DARK SECTION (green background)
   ───────────────────────────────────────────── */
.section-dark {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(78,207,154,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.section-forest { background: var(--forest); }
.section-offwhite { background: var(--off-white); }
.section-verylight { background: var(--very-light); }

/* ─────────────────────────────────────────────
   CARD SYSTEM
   ───────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border-softer);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
}
.card:hover { border-color: var(--pale-mint); box-shadow: 0 8px 32px rgba(15,61,46,0.06); }
.card-mint { background: var(--pale-mint); border-color: var(--border-light); }
.card-dark {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.card-icon {
  width: 46px; height: 46px;
  background: var(--pale-mint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon.on-dark { background: rgba(78,207,154,0.15); }

/* ─────────────────────────────────────────────
   PILL / BADGE
   ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}
.badge-mint {
  background: rgba(78,207,154,0.12);
  color: var(--primary);
  border: 1px solid rgba(78,207,154,0.22);
}
.badge-mint.on-dark { color: var(--mint); }
.badge-amber { background: rgba(255,159,28,0.1); color: var(--amber); border: 1px solid rgba(255,159,28,0.2); }
.badge-pill-mint { /* no border */ background: var(--pale-mint); color: var(--mid-green); }

/* ─────────────────────────────────────────────
   GRID HELPERS
   ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2-1 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 72px; align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.grid-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }

/* ─────────────────────────────────────────────
   CTA BANNER
   ───────────────────────────────────────────── */
.cta-banner {
  background: var(--primary);
  padding: var(--section-padding);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(78,207,154,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta-banner p  { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; position: relative; }
.cta-buttons   { display: flex; gap: 16px; justify-content: center; position: relative; }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
footer {
  background: var(--forest);
  color: rgba(255,255,255,0.65);
  padding: 64px 56px 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-logo:hover { color: var(--mint); }
.footer-logo .dot { color: var(--mint); }
.footer-brand {
  display: flex;
  align-items: flex-start;
}
.footer-brand p { font-size: 14px; line-height: 1.8; }
.gdpr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(78,207,154,0.1);
  color: var(--mint);
  border: 1px solid rgba(78,207,154,0.22);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 16px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.footer-col li { font-size: 14px; }
.footer-col a  { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ─────────────────────────────────────────────
   FORMS
   ───────────────────────────────────────────── */
.form-group    { margin-bottom: 20px; }
.form-label    { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 7px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,111,94,0.08);
}
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─────────────────────────────────────────────
   COMPARE TABLE
   ───────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  font-size: 13px; font-weight: 700;
  color: var(--forest); padding: 14px 18px;
  text-align: left; background: var(--pale-mint);
}
.compare-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.compare-table td {
  padding: 13px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-softer);
  vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--mint); font-weight: 700; font-size: 16px; }
.compare-table .dash  { color: var(--border-light); }
.compare-table .highlight-col { background: rgba(78,207,154,0.04); }

/* ─────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-softer); padding: 24px 0; }
.faq-q    { font-size: 17px; font-weight: 700; color: var(--forest); margin-bottom: 10px; }
.faq-a    { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }

/* ─────────────────────────────────────────────
   TIMELINE
   ───────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border-light);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -28px; top: 4px;
  width: 16px; height: 16px;
  background: var(--mint); border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--mint);
}
.timeline-year { font-size: 11px; font-weight: 700; color: var(--mid-green); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.timeline-item h3 { font-size: 17px; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.timeline-item p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─────────────────────────────────────────────
   CHECKLIST
   ───────────────────────────────────────────── */
.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border-softer);
  font-size: 15px; color: var(--text-primary); line-height: 1.5;
}
.check-list li:last-child { border-bottom: none; }
.check-list .ico {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--pale-mint); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-list .ico svg { width: 11px; height: 11px; }

/* ─────────────────────────────────────────────
   PRICING CARDS
   ───────────────────────────────────────────── */
.price-card {
  border: 2px solid var(--border-softer);
  border-radius: var(--radius-xl);
  padding: 38px 26px;
  position: relative;
  background: #fff;
  transition: all 0.3s;
}
.price-card:hover { border-color: var(--pale-mint); }
.price-card.featured {
  border-color: var(--primary);
  background: var(--forest);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 12px 48px rgba(15,61,46,0.18);
}
.price-featured-tag {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--mint); color: var(--forest);
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 16px;
  border-radius: var(--radius-pill); white-space: nowrap;
}
.price-tier  { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--mid-green); margin-bottom: 8px; }
.price-card.featured .price-tier { color: var(--mint); }
.price-amount { font-size: 44px; font-weight: 900; color: var(--forest); line-height: 1; margin-bottom: 4px; }
.price-card.featured .price-amount { color: #fff; }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.price-card.featured .price-period { color: rgba(255,255,255,0.5); }
.price-features { list-style: none; margin-bottom: 32px; }
.price-features li {
  font-size: 14px; padding: 9px 0;
  border-bottom: 1px solid var(--border-softer);
  color: var(--text-primary);
  display: flex; align-items: center; gap: 10px;
}
.price-card.featured .price-features li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.price-features li::before { content: '✓'; color: var(--mint); font-weight: 700; font-size: 13px; }
.btn-plan {
  width: 100%; padding: 13px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: var(--font);
  border: 2.5px solid var(--primary);
  background: transparent; color: var(--primary);
  transition: all 0.2s;
}
.btn-plan:hover { background: var(--primary); color: #fff; }
.price-card.featured .btn-plan {
  border-color: var(--mint); color: var(--forest);
  background: var(--mint); font-weight: 700;
}
.price-card.featured .btn-plan:hover { background: #3dc48e; border-color:#3dc48e; }

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  min-width: 860px;
}

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
.contact-layout {
  display: block;
}
.contact-info-card {
  background: var(--off-white);
  border: 1px solid var(--border-softer);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border-softer);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  background: var(--pale-mint); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; font-weight: 600; color: var(--forest); }

/* ─────────────────────────────────────────────
   SOCIAL PROOF / LOGOS
   ───────────────────────────────────────────── */
.logo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 0;
  opacity: 0.5;
  filter: grayscale(1);
}
.logo-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4px;
}

/* ─────────────────────────────────────────────
   STAT / NUMBER CALLOUT
   ───────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.stat-item { text-align: center; padding: 36px 28px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 48px; font-weight: 900; color: var(--mint); line-height: 1; margin-bottom: 8px; }
.stat-label  { font-size: 14px; color: rgba(255,255,255,0.68); line-height: 1.5; }

/* ─────────────────────────────────────────────
   V3 DESIGN SYSTEM — Outline buttons, speech
   bubbles, sharp frames, feature pairs, etc.
   ───────────────────────────────────────────── */

/* Outline pill button system */
.btn-ol {
  display: inline-flex; align-items: center;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  background: transparent; cursor: pointer; text-decoration: none;
  border-radius: var(--radius-pill); padding: 12px 28px;
  transition: all 0.2s; white-space: nowrap; border: 2.5px solid currentColor;
}
.btn-ol-sm { font-size: 13px; padding: 8px 18px; }
.btn-ol-white { color: #fff; }
.btn-ol-white:hover { background: #fff; color: var(--forest); }
.btn-ol-amber { color: var(--amber); }
.btn-ol-amber:hover { background: var(--amber); color: var(--forest); }
.btn-ol-forest { color: var(--forest); border-color: var(--forest); }
.btn-ol-forest:hover { background: var(--forest); color: #fff; }
.btn-ol-mint { color: var(--mint); border-color: var(--mint); }
.btn-ol-mint:hover { background: var(--mint); color: var(--forest); }

/* Speech bubble */
.speech-bubble {
  position: relative; background: #fff;
  border: 3px solid var(--pale-mint); border-radius: 22px;
  padding: 16px 24px; display: inline-block; max-width: 320px;
}
.speech-bubble.left-tail::before {
  content: ''; position: absolute;
  bottom: -22px; left: 24px;
  border: 13px solid transparent;
  border-top: 13px solid var(--pale-mint); border-bottom: none;
}
.speech-bubble.left-tail::after {
  content: ''; position: absolute;
  bottom: -15px; left: 27px;
  border: 10px solid transparent;
  border-top: 10px solid #fff; border-bottom: none; z-index: 1;
}
.speech-bubble.right-tail::before {
  content: ''; position: absolute;
  bottom: -22px; right: 24px;
  border: 13px solid transparent;
  border-top: 13px solid var(--pale-mint); border-bottom: none;
}
.speech-bubble.right-tail::after {
  content: ''; position: absolute;
  bottom: -15px; right: 27px;
  border: 10px solid transparent;
  border-top: 10px solid #fff; border-bottom: none; z-index: 1;
}

/* Sharp frame (replaces rounded card for image placeholders) */
.frame-sharp {
  background: var(--very-light);
  border: 1.5px solid var(--border-light);
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 28px;
}
.frame-illustration {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.frame-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Section label (replaces .section-tag in body copy) */
.slabel {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mid-teal);
  margin-bottom: 18px; display: block;
}
.slabel.on-dark { color: rgba(255,255,255,0.5); }

/* Feature pair — two-column grid with CSS border dividers */
.feature-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1.5px solid var(--border-light); margin-top: 48px;
}
.feature-pair + .feature-pair { border-top: none; margin-top: 0; }
.feature-half { padding: 48px 40px; }
.feature-half:first-child { border-right: 1.5px solid var(--border-light); }
.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  object-fit: contain;
}
.feature-half h3 { font-size: 22px; font-weight: 700; color: var(--forest); margin-bottom: 14px; }
.feature-half p  { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* Feature row — solution page layout */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row > * {
  min-width: 0;
}

.feature-row .page-hero-visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Enterprise page layout helpers */
.enterprise-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.enterprise-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.enterprise-feature-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 320px;
}

.enterprise-feature-visual .frame-illustration {
  width: 75%;
  max-width: 75%;
}

.enterprise-feature-visual-offset {
  padding-top: 52px;
}

/* Numbered list */
.num-list { list-style: none; margin-top: 24px; }
.num-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border-softer);
  font-size: 15px; color: var(--text-primary); line-height: 1.55;
}
.num-list li:last-child { border-bottom: none; }
.num-list .n {
  flex-shrink: 0; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; color: var(--mint);
  width: 24px; padding-top: 2px;
}

/* Character row (hero bubbles + mascot) */
.character-row {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 32px; max-width: 760px; margin: 0 auto;
}

/* Hero V3 (homepage hero — full green, centred) */
.hero-v3 {
  background: var(--primary);
  padding: 100px 56px 96px;
  text-align: left;
  position: relative;
}
.hero-v3 h1 {
  font-size: 60px; color: #fff;
  max-width: 820px; margin: 0 0 22px; line-height: 1.06;
}
.hero-v3 p {
  font-size: 18px; color: rgba(255,255,255,0.72);
  max-width: 520px; margin: 0 0 40px; line-height: 1.75;
}
.hero-cta-row {
  display: flex; gap: 14px; justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
}
.hero-copy {
  min-width: 0;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 320px;
}
.hero-visual img {
  width: auto;
  max-width: 100%;
  max-height: 320px;
  height: 100%;
  object-fit: contain;
}
.hero-v3 .hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.75;
  margin-top: 4px;
}

/* Model bar (white strip showing AI models) */
.model-bar {
  background: #fff; padding: 22px 56px;
  border-bottom: 1px solid var(--border-softer);
}
.model-bar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
}

/* Process step */
.process-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border-softer);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--pale-mint); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--primary);
}
.step-content h3 { font-size: 18px; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.step-content p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─────────────────────────────────────────────
   NAV TOGGLE (Hidden by default on desktop)
   ───────────────────────────────────────────── */
.nav-toggle {
  display: none;
}

/* ─────────────────────────────────────────────
   MOBILE RESPONSIVE IMPROVEMENTS
   768px (Tablets) & 480px (Phones) Breakpoints
   ───────────────────────────────────────────── */

@media (max-width: 900px) {
  
  :root {
    --section-padding: 56px 32px;
  }

  h1 {
    font-size: 44px;
    line-height: 1.1;
  }

  h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  h3 {
    font-size: 19px;
  }

  .section-desc {
    font-size: 15px;
    margin-bottom: 36px;
  }

  .nav {
    padding: 0 24px;
  }

  .nav-inner {
    height: 56px;
  }

  .nav-logo {
    font-size: 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    z-index: 99;
    box-sizing: border-box;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    padding: 16px 24px;
    display: block;
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: right;
    box-sizing: border-box;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-logo {
    order: 1;
  }

  .nav-actions {
    display: flex;
    order: 2;
    justify-self: center;
    align-items: center;
  }

  .nav-actions .nav-login,
  .nav-actions .btn-ol-white {
    display: none;
  }

  .nav-actions .btn-ol-amber {
    padding: 7px 16px;
    font-size: 13px;
    min-height: 36px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
  }

  .hero-v3 {
    padding: 28px 24px 64px;
  }

  .hero-v3 h1 {
    font-size: 44px;
    max-width: 600px;
    margin-bottom: 18px;
  }

  .h1-statement {
    font-size: 44px;
  }

  .hero-v3 p {
    font-size: 16px;
    max-width: 550px;
    margin-bottom: 32px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .hero-visual {
    order: -1;
    justify-content: center;
    min-height: auto;
    margin-bottom: 28px;
  }

  .hero-visual img {
    max-height: 280px;
  }

  .hero-cta-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-ol {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 44px;
  }

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

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

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-2-1,
  .grid-1-2,
  .grid-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .solution-icon {
    width: 56px;
    height: 56px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }

  .feature-row > * {
    min-width: 0;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-row .page-hero-visual {
    order: -1;
  }

  .enterprise-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .enterprise-feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .enterprise-feature-visual {
    order: -1;
    justify-content: center;
    min-height: auto;
  }

  .enterprise-feature-visual-offset {
    padding-top: 0;
  }

  .page-hero-visual {
    min-height: auto;
  }

  .feature-pair {
    grid-template-columns: 1fr;
  }

  .feature-half {
    padding: 32px 24px;
  }

  .feature-half:first-child {
    border-right: none;
    border-bottom: 1.5px solid var(--border-light);
  }

  .feature-body {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .feature-illustration {
    max-width: 80px;
  }

  .feature-half h3 {
    font-size: 19px;
  }

  .feature-half p {
    font-size: 14px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-number {
    font-size: 40px;
  }

  .stat-label {
    font-size: 13px;
  }

  .btn-ol-sm {
    padding: 10px 20px;
    min-height: 44px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    min-height: 44px;
    padding: 12px 14px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .btn-plan {
    padding: 14px 20px;
    min-height: 44px;
    font-size: 14px;
  }

  .cta-banner {
    padding: 56px 32px;
  }

  .cta-banner h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .cta-banner p {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .cta-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cta-buttons a {
    flex: 1 1 calc(50% - 5px);
    min-width: 140px;
  }

  footer {
    padding: 48px 24px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-col ul {
    flex-direction: column;
    gap: 8px;
  }

  .footer-col li {
    font-size: 13px;
  }

  .price-card {
    padding: 32px 20px;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 520px;
  }

  .price-card.featured {
    transform: scale(1.02);
  }

  .price-amount {
    font-size: 36px;
  }

  .faq-list {
    max-width: 100%;
  }

  .faq-item {
    padding: 18px 0;
  }

  .faq-q {
    font-size: 16px;
  }

  .faq-a {
    font-size: 14px;
  }

  .contact-layout {
    display: block;
  }

  .contact-info-card {
    padding: 24px 20px;
  }

  .card {
    padding: 24px 20px;
  }

  .speech-bubble {
    max-width: 280px;
    padding: 14px 20px;
    font-size: 14px;
  }

  .model-bar {
    padding: 18px 24px;
  }

  .model-bar-inner {
    flex-wrap: wrap;
    gap: 24px;
  }

  .logo-bar {
    gap: 24px;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-dot {
    left: -22px;
  }

  .check-list li {
    padding: 12px 0;
    font-size: 14px;
    gap: 10px;
  }

  .num-list li {
    padding: 12px 0;
    font-size: 14px;
    gap: 12px;
  }

  .nav-dropdown {
    min-width: 200px;
  }

  .dd-title {
    font-size: 12.5px;
  }

  .dd-desc {
    font-size: 11px;
  }

}

@media (max-width: 480px) {

  :root {
    --section-padding: 40px 16px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
  }

  h2 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  body {
    font-size: 15px;
    line-height: 1.55;
  }

  .section-desc {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .section-tag {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .nav {
    padding: 0 12px;
  }

  .nav-inner {
    height: 52px;
    padding: 0;
  }

  .nav-logo {
    font-size: 18px;
    padding: 0 4px;
  }

  .nav-links {
    top: 52px;
    padding: 12px 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-actions .btn-ol-amber {
    padding: 6px 14px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    font-size: 24px;
    padding: 0;
  }

  .hero-v3 {
    padding: 40px 16px 48px;
    text-align: center;
  }

  .hero-v3 h1 {
    font-size: 32px;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .h1-setup {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .h1-statement {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-v3 p {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 24px;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
    max-width: 100%;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
  }

  .hero-cta-row a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    justify-content: center;
    min-height: auto;
    margin-bottom: 40px;
  }

  .hero-visual img {
    max-width: 180px;
    max-height: 280px;
  }

  section {
    padding: 40px 16px;
  }
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .grid-2-1,
  .grid-1-2,
  .grid-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .solution-item {
    text-align: center;
  }

  .solution-icon {
    width: 48px;
    height: 48px;
  }

  .feature-pair {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }

  .feature-row > * {
    min-width: 0;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-row .page-hero-visual {
    order: -1;
  }

  .enterprise-pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .enterprise-pillar-card {
    padding: 24px 16px !important;
  }

  .enterprise-feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .enterprise-feature-visual {
    order: -1;
    justify-content: center;
    min-height: auto;
  }

  .enterprise-feature-visual-offset {
    padding-top: 0;
  }

  .feature-half {
    padding: 24px 16px;
    border: 1.5px solid var(--border-light);
  }

  .feature-half:first-child {
    border-right: none;
    border-bottom: 1.5px solid var(--border-light);
  }

  .feature-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-illustration {
    max-width: 100px;
    margin: 0 auto 8px;
  }

  .feature-half h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .feature-half p {
    font-size: 14px;
    line-height: 1.6;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-item {
    padding: 24px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-number {
    font-size: 36px;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 13px;
  }

  .btn {
    min-height: 44px;
    padding: 12px 16px;
  }

  .btn-ol {
    width: 100%;
    padding: 12px 16px;
    min-height: 44px;
    font-size: 15px;
    justify-content: center;
  }

  .btn-ol-sm {
    padding: 10px 14px;
    font-size: 13px;
  }

  .btn-sm {
    padding: 10px 14px;
    font-size: 13px;
    min-height: 44px;
  }

  .btn-md {
    padding: 12px 16px;
    min-height: 44px;
  }

  .btn-lg {
    padding: 14px 20px;
    min-height: 48px;
    font-size: 16px;
  }

  .btn-full {
    width: 100%;
  }

  .btn-plan {
    width: 100%;
    padding: 14px 16px;
    min-height: 44px;
    font-size: 15px;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    width: 100%;
    font-size: 16px;
    padding: 12px 12px;
    min-height: 44px;
    border-radius: var(--radius-sm);
  }

  .form-textarea {
    min-height: 100px;
  }

  .form-hint {
    font-size: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-banner {
    padding: 40px 16px;
  }

  .cta-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .cta-banner p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .cta-buttons a {
    width: 100%;
    flex: none;
    min-width: unset;
  }

  footer {
    padding: 32px 16px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 20px;
  }

  .footer-logo {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-brand p {
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-col h4 {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .footer-col ul {
    flex-direction: column;
    gap: 6px;
  }

  .footer-col li {
    font-size: 12px;
  }

  .footer-bottom {
    gap: 12px;
    font-size: 11px;
    padding-top: 20px;
  }

  .price-card {
    padding: 24px 16px;
    margin-bottom: 16px;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 100%;
  }

  .price-card.featured {
    transform: scale(1);
    margin-bottom: 0;
  }

  .compare-table {
    min-width: 700px;
  }

  .price-amount {
    font-size: 32px;
    margin-bottom: 2px;
  }

  .price-period {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .price-features {
    margin-bottom: 20px;
  }

  .price-features li {
    font-size: 13px;
    padding: 8px 0;
  }

  .faq-list {
    max-width: 100%;
  }

  .faq-item {
    padding: 16px 0;
  }

  .faq-q {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .faq-a {
    font-size: 14px;
    line-height: 1.65;
  }

  .contact-info-card {
    padding: 20px 16px;
  }

  .contact-info-item {
    gap: 10px;
    padding: 14px 0;
  }

  .contact-info-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .contact-info-label {
    font-size: 10px;
  }

  .contact-info-value {
    font-size: 14px;
  }

  .card {
    padding: 20px 16px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 14px;
  }

  .speech-bubble {
    max-width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .model-bar {
    padding: 16px 16px;
  }

  .model-bar-inner {
    flex-direction: column;
    gap: 16px;
  }

  .logo-bar {
    gap: 16px;
    padding: 32px 0;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-dot {
    left: -20px;
    width: 14px;
    height: 14px;
  }

  .timeline-year {
    font-size: 10px;
  }

  .timeline-item h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .timeline-item p {
    font-size: 13px;
  }

  .check-list li {
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
  }

  .check-list .ico {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }

  .num-list li {
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
  }

  .nav-dropdown {
    min-width: 180px;
    left: -16px;
    right: auto;
    transform: none;
  }

  .dd-title {
    font-size: 12px;
  }

  .dd-desc {
    font-size: 10px;
  }

  .dd-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .feature-illustration {
    max-width: 100%;
  }

  .badge {
    font-size: 11px;
    padding: 4px 12px;
  }

  .process-step {
    gap: 16px;
    padding: 20px 0;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .step-content h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .step-content p {
    font-size: 13px;
  }

  .character-row {
    gap: 16px;
    max-width: 100%;
  }

  .arch-diagram {
    max-width: 100%;
  }

  .arch-user {
    padding: 10px 16px;
    font-size: 12px;
    min-width: 140px;
  }

  .arch-haime {
    padding: 10px 0;
    font-size: 13px;
  }

  .arch-model {
    font-size: 11px;
    padding: 8px 10px;
  }

}

@media (max-width: 320px) {

  :root {
    --section-padding: 32px 12px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .hero-v3 {
    padding: 32px 12px 40px;
  }

  .hero-v3 h1 {
    font-size: 28px;
  }

  section {
    padding: 32px 12px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 12px;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-row .page-hero-visual {
    order: -1;
  }

  .enterprise-feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .enterprise-feature-visual {
    order: -1;
    justify-content: center;
    min-height: auto;
  }

  .enterprise-feature-visual-offset {
    padding-top: 0;
  }

  .btn-ol {
    padding: 10px 14px;
    font-size: 14px;
  }

  footer {
    padding: 24px 12px 16px;
  }

}
