/* ============================================================
   NEXTAS LP
   Theme: black canvas / FACTAS red accent / white text.
   Real product screenshots are the focal point — bled to the edge.
   ============================================================ */

:root {
  --bg:        #0b0b0d;
  --bg-soft:   #101015;
  --surface:   #141419;
  --surface-2: #1a1a21;
  --line:      #26262e;
  --line-soft: #1c1c23;

  --text:      #f4f4f6;
  --text-dim:  #b6b6c0;
  --text-mute: #7c7c88;

  --red:       #e1232a;   /* FACTAS red (from logo) */
  --red-bright:#ff3b41;   /* emphasis on dark */
  --red-deep:  #a30d12;

  --maxw:      1180px;
  --gutter:    28px;
  --header-h:  72px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  /* distance from viewport edge to where the centered container begins */
  --edge:      max(var(--gutter), calc((100vw - var(--maxw)) / 2));

  --font-jp:   "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-disp: "Zen Kaku Gothic New", var(--font-jp);
  --font-num:  "Inter", var(--font-jp);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--red-bright); }
.nowrap { white-space: nowrap; }

/* Better Japanese line wrapping: break at natural phrase boundaries,
   balance line lengths, and avoid orphan characters.
   (word-break:auto-phrase is progressive — older browsers fall back to balance.) */
h1, h2, h3, h4 { text-wrap: balance; line-break: strict; word-break: auto-phrase; }
.sec-lead, .hero-lead, .problem-bridge, .feature-text > p { text-wrap: pretty; line-break: strict; word-break: auto-phrase; }
p { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 15px 30px; border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -8px rgba(225,35,42,.6); }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(225,35,42,.75); }
.btn-line { background: transparent; border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--text-dim); transform: translateY(-2px); }
.btn-lg { padding: 18px 44px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: rgba(11,11,13,.55); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(11,11,13,.92); border-bottom-color: var(--line-soft); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a { font-size: 14px; font-weight: 500; color: var(--text-dim); transition: color .2s; position: relative; }
.nav > a:not(.nav-cta):hover { color: #fff; }
.nav > a:not(.nav-cta)::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--red); transform:scaleX(0); transition:transform .25s var(--ease); transform-origin:left; }
.nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { background: var(--red); color: #fff !important; font-weight: 700; padding: 9px 20px; border-radius: 6px; }
.nav-cta:hover { background: var(--red-bright); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }

/* ---------- Section scaffolding ---------- */
.section { padding: 120px 0; position: relative; }
.sec-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; max-width: none; }
.sec-index { display: inline-block; font-family: var(--font-num); font-weight: 700; font-size: 13px; letter-spacing: .25em; color: var(--red); margin-bottom: 20px; }
.sec-index::before { content: "— "; }
.sec-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--text-mute); margin-bottom: 14px; }
.sec-label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--red); margin-bottom: 16px; }
.sec-title { font-family: var(--font-disp); font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1.4; letter-spacing: .01em; }
.sec-lead { margin-top: 24px; color: var(--text-dim); font-size: 16.5px; }

/* ---------- Browser frame (screenshots, 16:9) ---------- */
.browser {
  border-radius: 12px; overflow: hidden; background: #0e0e12; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #16161b; border-bottom: 1px solid var(--line); }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #34343d; }
.browser-bar .dot:first-child { background: var(--red); }
.browser-url { margin-left: 10px; font-size: 11.5px; color: var(--text-mute); letter-spacing: .02em; font-family: var(--font-num); }
.browser-shot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; display: block; }

/* ---------- Hero (full-bleed) ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 35%, #000 8%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 70% 35%, #000 8%, transparent 62%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  align-items: center; gap: clamp(20px, 3vw, 48px);
}
.hero-copy { padding-left: var(--edge); padding-right: 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--text-mute); margin-bottom: 24px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--red); vertical-align: middle; margin-right: 12px; }
.hero-title { font-family: var(--font-disp); font-size: clamp(36px, 4.9vw, 60px); font-weight: 900; line-height: 1.2; letter-spacing: .005em; margin-bottom: 28px; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-lead { color: var(--text-dim); font-size: 17px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-visual { position: relative; z-index: 1; }
/* Laptop is intentionally oversized so its right edge runs off-screen (clipped by .hero overflow:hidden) */
.hero-laptop { width: 132%; max-width: none; height: auto; display: block; filter: drop-shadow(0 44px 66px rgba(0,0,0,.6)); position: relative; z-index: 1; }
.hero-laptop-glow {
  position: absolute; z-index: 0; left: 6%; right: -20%; top: 6%; bottom: -4%;
  background: radial-gradient(50% 50% at 52% 50%, rgba(225,35,42,.30), transparent 70%);
  filter: blur(22px); animation: glowPulse 7s ease-in-out infinite;
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { position: relative; padding: 44px 34px; border-radius: 14px; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.pillar-no { position: absolute; top: 28px; right: 30px; font-family: var(--font-num); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
/* icon-only (no surrounding box) */
.pillar-ic { display: block; color: var(--red); margin-bottom: 20px; }
.pillar-ic svg { width: 48px; height: 48px; }
.pillar h3 { font-family: var(--font-disp); font-size: 27px; font-weight: 900; margin-bottom: 14px; }
.pillar p { font-size: 15px; }
.pillars-note { max-width: 900px; margin: 52px auto 0; text-align: center; font-size: 16.5px; }
.pillars-note strong { font-weight: 700; border-bottom: 2px solid var(--red); padding-bottom: 1px; }

/* ---------- Problem ---------- */
.problem-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.problem-list li { background: var(--bg); padding: 34px 32px; }
.problem-list h3 { display: inline-block; font-size: 20px; font-weight: 700; margin-bottom: 12px; padding-left: 18px; position: relative; }
.problem-list h3::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.problem-list p { color: var(--text-dim); font-size: 14.5px; padding-left: 18px; }
.problem-bridge { text-align: center; margin-top: 52px; font-size: clamp(21px, 2.7vw, 31px); font-weight: 700; line-height: 1.7; }

/* ---------- Chapters & full-bleed feature rows ---------- */
.chapter.alt { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(28px, 4vw, 72px); width: 100%; margin: 0 0 100px;
}
.feature-row:last-of-type { margin-bottom: 96px; }
.feature-text { max-width: 680px; }
/* normal: text left (aligned to container), media bleeds to right edge */
.feature-row:not(.reverse) .feature-text { padding-left: var(--edge); justify-self: end; }
.feature-row:not(.reverse) .feature-media { border-radius: 14px 0 0 14px; }
/* reverse: media bleeds to left edge, text right (aligned to container) */
.feature-row.reverse .feature-text { order: 2; padding-right: var(--edge); justify-self: start; }
.feature-row.reverse .feature-media { order: 1; border-radius: 0 14px 14px 0; }

.feature-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  color: #15151a; background: #ffffff;
  border-radius: 999px; padding: 9px 18px 9px 15px; margin-bottom: 22px;
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.4) inset;
}
.feature-tag::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--red);
  box-shadow: 0 0 0 4px rgba(225,35,42,.22); animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(225,35,42,.25); } 50% { box-shadow: 0 0 0 7px rgba(225,35,42,.05); } }
.feature-text h3 { font-family: var(--font-disp); font-size: clamp(23px, 2.9vw, 32px); font-weight: 900; line-height: 1.48; margin-bottom: 18px; }
.feature-text > p { color: var(--text-dim); font-size: 15.5px; margin-bottom: 22px; }

/* ticks */
.ticks { list-style: none; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 10px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); border-radius: 1px; }
.ticks.lg li { font-size: 15.5px; padding-left: 30px; margin-bottom: 2px; }

/* mini cards */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-grid.two { grid-template-columns: repeat(2, 1fr); }
.mini-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; transition: border-color .25s, transform .25s var(--ease); }
.mini-card:hover { border-color: #34343f; transform: translateY(-3px); }
.mini-card h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 11px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini-card p { color: var(--text-dim); font-size: 14px; }
.badge-mini { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }

/* ---------- AI band ---------- */
.ai-band { background: linear-gradient(180deg, var(--bg), #0d0d12); }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ai-item { padding: 36px 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ai-ic { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 11px; background: rgba(225,35,42,.1); color: var(--red-bright); margin-bottom: 20px; }
.ai-ic svg { width: 26px; height: 26px; }
.ai-item h3 { font-family: var(--font-disp); font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.ai-item p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Flexible ---------- */
.flexible-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.flexible-copy, .flexible-side { min-width: 0; }   /* allow grid tracks to shrink below content min-width (prevents mobile overflow) */
.flexible .sec-title { text-align: left; }
.flexible .sec-lead { margin-left: 0; }
.flexible .btn { margin-top: 30px; }
.industry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.industry-list span { display: grid; place-items: center; aspect-ratio: 1.7 / 1; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--text-dim); transition: .25s var(--ease); }
.industry-list span:hover { color: #fff; border-color: #34343f; transform: translateY(-3px); }
.industry-list span.self { background: rgba(225,35,42,.12); border-color: var(--red); color: #fff; }
.industry-note { margin-top: 18px; font-size: 13px; color: var(--text-mute); }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(60% 80% at 50% -10%, rgba(225,35,42,.1), transparent 60%), var(--bg); }
.contact-form { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 22px; display: flex; flex-direction: column; }
.form-field label { font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.req { font-size: 11px; color: var(--red-bright); border: 1px solid var(--red); border-radius: 4px; padding: 1px 6px; margin-left: 6px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: #fff; padding: 14px 16px; font-size: 15px; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-mute); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,35,42,.18); }
.form-field textarea { resize: vertical; }
.form-actions { text-align: center; margin-top: 6px; }
.form-note { margin-top: 16px; font-size: 14px; min-height: 20px; }
.form-note.ok { color: #4ade80; }
.form-note.err { color: var(--red-bright); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 44px 0; background: #08080a; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { height: 28px; width: auto; }
.footer-copy { color: var(--text-mute); font-size: 13px; }

/* ============================================================
   Section tone variants (rhythm / contrast)
   ============================================================ */
/* ---- Light sections (inverted) ---- */
.section--light { background: #f5f5f7; color: #15151a; border-top: 1px solid #e6e6ea; border-bottom: 1px solid #e6e6ea; }
.section--light-gray { background: #ececed; }
.section--light .sec-title { color: #121218; }
.section--light .sec-lead { color: #50505b; }
.section--light .sec-index { color: var(--red); }
.section--light .sec-label { color: var(--red); }
.section--light .accent { color: var(--red); }

/* pillars on light */
.pillars-sec.section--light .pillar { background: #ffffff; border: 1px solid #e7e7ec; box-shadow: 0 14px 34px -22px rgba(0,0,0,.4); }
.pillars-sec.section--light .pillar:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(0,0,0,.45); }
.pillars-sec.section--light .pillar h3 { color: #121218; }
.pillars-sec.section--light .pillar p { color: #55555f; }
.pillars-sec.section--light .pillar-no { color: #c2c2cc; }
.pillars-sec.section--light .pillars-note { color: #46464f; }
.pillars-sec.section--light .pillars-note strong { color: #121218; }

/* flexible on light */
.section--light .ticks li { color: #1c1c22; }
.section--light .ticks li::before { border-color: var(--red); }
.section--light .industry-list span { background: #ffffff; border: 1px solid #e2e2e8; color: #55555f; }
.section--light .industry-list span:hover { color: #121218; border-color: #c9c9d2; }
.section--light .industry-list span.self { background: var(--red); border-color: var(--red); color: #fff; }
.section--light .industry-note { color: #82828c; }

/* ---- Problem: red alert section ---- */
.problem--red { background: linear-gradient(155deg, #d31a22 0%, #a50f15 100%); color: #fff; border-top: 1px solid rgba(0,0,0,.15); }
.problem--red .sec-label { color: rgba(255,255,255,.85); }
.problem--red .sec-title { color: #fff; font-size: clamp(32px, 5vw, 56px); line-height: 1.34; }
.problem--red .sec-title .accent { color: #1a0103; }   /* near-black on red = alarm */
.problem--red .problem-list { background: rgba(0,0,0,.22); border-color: rgba(255,255,255,.18); }
.problem--red .problem-list li { background: rgba(18,0,2,.26); }
.problem--red .problem-list h3 { color: #fff; }
.problem--red .problem-list h3::before { background: #fff; }
.problem--red .problem-list p { color: rgba(255,255,255,.86); }
.problem--red .problem-bridge { color: #fff; }
.problem--red .problem-bridge .accent { color: #1a0103; }

/* highlighter-marker underline, drawn on scroll-in */
.problem--red .problem-list h3::after {
  content: ""; position: absolute; left: 18px; right: 0; bottom: -2px; height: 7px;
  background: linear-gradient(90deg, #ffe14d, #ffc400); border-radius: 2px; opacity: .92;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .7s var(--ease) .2s;
}
.problem--red .problem-list li.in h3::after { transform: scaleX(1); }

/* scroll-down cue */
.scroll-cue { display: flex; flex-direction: column; align-items: center; width: max-content; margin: 44px auto 0; color: #fff; }
.scroll-cue-arrow { display: inline-flex; animation: bob 1.8s ease-in-out infinite; }
.scroll-cue-arrow svg { width: 26px; height: 26px; }
.scroll-cue:hover .scroll-cue-arrow { animation-play-state: paused; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .65; } 50% { transform: translateY(7px); opacity: 1; } }

.pc-br { display: inline; }

/* ============================================================
   Animations
   ============================================================ */
/* Hero entrance (runs on load) */
.hero-anim { opacity: 0; transform: translateY(26px); animation: heroUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero-visual { opacity: 0; transform: translateX(60px) scale(.97); animation: laptopIn 1.1s var(--ease) forwards; animation-delay: .4s; }
.hero-laptop { animation: floaty 6.5s ease-in-out 1.6s infinite; }

@keyframes heroUp { to { opacity: 1; transform: none; } }
@keyframes laptopIn { to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes glowPulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }

/* Scroll reveal */
.reveal-up   { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-side { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.feature-row:not(.reverse) .reveal-side { transform: translateX(56px); }
.feature-row.reverse .reveal-side { transform: translateX(-56px); }
.reveal-up.in, .reveal-side.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-anim, .hero-visual, .reveal-up, .reveal-side { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-laptop, .hero-laptop-glow, .scroll-cue-arrow, .feature-tag::before { animation: none !important; }
  .problem--red .problem-list h3::after { transition: none !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding: 0 var(--gutter); }
  .hero-visual { padding: 0 var(--gutter); max-width: 680px; }
  .hero-laptop { width: 100%; }
  .hero-lead { max-width: none; }

  .feature-row { grid-template-columns: 1fr; gap: 26px; margin-bottom: 72px; }
  .feature-text { max-width: none; padding: 0 var(--gutter) !important; }
  .feature-row .feature-text { order: 2; justify-self: stretch; }
  .feature-row .feature-media { order: 1; border-radius: 0 !important; border-left: none; border-right: none; }
  /* full-width media on mobile: reveal vertically so it never shifts off-screen horizontally */
  .feature-row:not(.reverse) .reveal-side,
  .feature-row.reverse .reveal-side { transform: translateY(30px); }
  .feature-row .reveal-side.in { transform: none; }

  .flexible-inner { grid-template-columns: 1fr; gap: 44px; }
  .flexible .sec-title { text-align: left; }
  .mini-grid, .ai-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 44px; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: rgba(11,11,13,.98); flex-direction: column; gap: 0; padding: 8px 0 16px; border-bottom: 1px solid var(--line); transform: translateY(-135%); transition: transform .35s var(--ease); }
  .nav.open { transform: none; }
  .nav > a { width: 100%; padding: 15px var(--gutter); }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta { margin: 10px var(--gutter) 0; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pillars, .mini-grid, .mini-grid.two, .ai-grid, .problem-list { grid-template-columns: 1fr; }
  .industry-list { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px; }
  .hero-title { font-size: clamp(34px, 9vw, 46px); }
  .pc-br { display: none; }
}
