/* ===== TOKENS ===== */
:root {
  --blue-950: #061a4a;
  --blue-900: #0a2470;
  --blue-800: #0f3095;
  --blue-700: #1a52c9;
  --blue: #1d6fe8;
  --blue-bright: #2f80ed;
  --cyan: #38bdf8;
  --sky: #7cc4fb;
  --ink: #0b1730;
  --slate: #45557a;
  --muted: #6b7896;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eaf2ff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(8, 26, 74, .04), 0 4px 16px rgba(8, 26, 74, .06);
  --shadow-md: 0 2px 6px rgba(8, 26, 74, .05), 0 10px 30px rgba(8, 26, 74, .09);
  --shadow-lg: 0 8px 24px rgba(8, 26, 74, .08), 0 30px 64px rgba(8, 26, 74, .16);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);
  --grad: linear-gradient(135deg, var(--blue-700), var(--cyan));
  --grad-deep: linear-gradient(118deg, #05123a 0%, #12246e 38%, #2536b6 70%, #2f80ed 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
em { font-style: normal; color: var(--blue); font-weight: 600; }
::selection { background: rgba(56,189,248,.35); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(29,111,232,.45); outline-offset: 2px; }
section { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; line-height: 1; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29, 111, 232, .38); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(29, 111, 232, .5); }
.btn--light { background: #fff; color: var(--blue-900); border-color: var(--line); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--blue); }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #eaf2ff, #d5e6ff); box-shadow: inset 0 0 0 1px rgba(29,111,232,.15); }
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--blue-900); }
.brand__ai { color: var(--cyan); }
.brand__mark-img { height: 40px; width: auto; display: block; }
.brand__word { height: 19px; width: auto; display: block; }
.brand--footer { margin-bottom: 18px; }
.brand--footer .brand__mark-img { height: 50px; }
.brand--footer .brand__word { height: 24px; }
.nav__links { display: flex; gap: 28px; margin-left: 8px; }
.nav__links a { position: relative; padding: 5px 0; font-size: 15px; font-weight: 500; color: var(--slate); transition: color .15s ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== NAV DROPDOWN ===== */
.nav__links { align-items: center; }
.nav__item--drop { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav__toggle .chev { color: var(--muted); transition: transform .2s ease; }
.nav__item--drop:hover .nav__toggle .chev { transform: rotate(180deg); }
.nav__menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 214px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 130; }
.nav__menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item--drop:hover .nav__menu, .nav__item--drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.nav__menu a { display: block; position: static; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--slate); white-space: nowrap; }
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: var(--bg-tint); color: var(--ink); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; color: #fff; padding: 122px 0 150px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), 0 100%); }
.hero__bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(1000px 520px at 84% -12%, rgba(56,189,248,.5), transparent 60%),
  radial-gradient(720px 460px at 8% 12%, rgba(124,196,251,.26), transparent 55%),
  radial-gradient(760px 520px at 62% 128%, rgba(99,102,241,.42), transparent 62%),
  var(--grad-deep); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(900px 500px at 50% 0%, #000, transparent 75%); opacity: .55; }
.hero__inner { position: relative; z-index: 1; max-width: 860px; }
.hero__copy { min-width: 0; }
.hero__title { overflow-wrap: break-word; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow--light { color: var(--sky); }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 6.4vw, 76px); line-height: 1.03; letter-spacing: -.03em; }
.hero__sub { font-size: clamp(17px, 1.7vw, 21px); color: #cfe0fb; margin: 26px 0 0; max-width: 640px; }
.hero__sub strong { color: #fff; }
.hero__sub2 { font-size: 15px; line-height: 1.6; color: #a9c0ea; margin: 16px 0 0; max-width: 620px; }
.hero__sub2 em { font-style: normal; font-weight: 700; color: var(--cyan); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 26px; font-size: 14px; color: #8fabe0; }
.hero__loop { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 54px; }
.loopchip { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.loopchip b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; font-family: var(--display); font-size: 17px; color: #fff; }
.loopchip span { font-weight: 600; font-size: 15px; color: #eaf2ff; }
.loopchip--s b { background: linear-gradient(135deg, #1a52c9, #2f80ed); }
.loopchip--c b { background: linear-gradient(135deg, #2f80ed, #38bdf8); }
.loopchip--a b { background: linear-gradient(135deg, #38bdf8, #5cc9f5); }
.loopchip--d b { background: linear-gradient(135deg, #1a52c9, #38bdf8); }

/* ===== HERO SPLIT (home, Stripe-style product visual) ===== */
.grad-text { background: linear-gradient(100deg, #8fd0ff, #38bdf8 45%, #a5b4fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero--split { padding: 112px 0 190px; }
.hero--split .hero__inner { max-width: var(--maxw); display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.hero--split .hero__title { font-size: clamp(38px, 4.4vw, 60px); }
.hero--split .hero__sub { font-size: clamp(16px, 1.4vw, 18.5px); }
.hero__visual { position: relative; z-index: 1; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); background: #fff; box-shadow: 0 30px 70px rgba(2, 8, 34, .5); }
.shot img { display: block; width: 100%; height: auto; }
.shot--main { transform: perspective(1600px) rotateY(-10deg) rotateX(3deg); }
.shot--float { position: absolute; width: 46%; right: -10px; bottom: -34px; border-radius: 12px; transform: perspective(1200px) rotateY(-9deg); box-shadow: 0 22px 55px rgba(2, 8, 34, .55); }
@media (max-width: 1080px) {
  .hero--split { padding: 96px 0 130px; }
  .hero--split .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { display: none; }
}

/* ===== TRUST ===== */
.trust { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.trust__label { font-size: 14px; font-weight: 600; color: var(--muted); max-width: 340px; }
.trust__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.trust__stats div { text-align: center; }
.trust__stats strong { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.02em; }
.trust__stats span { font-size: 13px; color: var(--muted); }

/* ===== SECTION HEAD ===== */
.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.7vw, 46px); line-height: 1.1; letter-spacing: -.025em; }
.section-lead { color: var(--slate); font-size: 18px; margin-top: 16px; }

/* ===== PROBLEM ===== */
.problem { padding: 104px 0; }
.walls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wall { padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-soft); transition: transform .2s ease, box-shadow .2s ease; }
.wall:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wall__n { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--cyan); letter-spacing: .1em; }
.wall h3 { font-size: 21px; font-weight: 700; margin: 12px 0 10px; letter-spacing: -.01em; }
.wall p { color: var(--slate); font-size: 15.5px; }

/* ===== SCAD LOOP ===== */
.scadloop { padding: 108px 0; background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.step--s::before { background: linear-gradient(90deg, #1a52c9, #2f80ed); }
.step--c::before { background: linear-gradient(90deg, #2f80ed, #38bdf8); }
.step--a::before { background: linear-gradient(90deg, #38bdf8, #5cc9f5); }
.step--d::before { background: linear-gradient(90deg, #1a52c9, #38bdf8); }
.step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step__letter { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-family: var(--display); font-weight: 800; font-size: 20px; color: #fff; background: var(--grad); }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { color: var(--slate); font-size: 15px; }
.step__arrow { display: grid; place-items: center; font-size: 24px; color: var(--sky); font-weight: 700; }
.scadloop__foot { text-align: center; margin-top: 34px; font-size: 16px; color: var(--slate); font-weight: 500; }
.scadloop__foot { --x: 0; }

/* ===== AI PHILOSOPHY ===== */
.ai { position: relative; overflow: hidden; color: #fff; padding: 120px 0; }
.ai__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(800px 420px at 78% 20%, rgba(56,189,248,.4), transparent 60%), var(--grad-deep); }
.ai__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.ai__title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 14px 0 22px; }
.ai__copy > p { color: #cfe0fb; font-size: 16.5px; margin-bottom: 16px; }
.ai__copy em { color: #fff; font-weight: 600; font-style: italic; }
.ai__contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 18px; }
.ai__col { padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.ai__col--new { background: rgba(56,189,248,.14); border-color: rgba(56,189,248,.4); }
.ai__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fc4f5; margin-bottom: 8px; }
.ai__tag--hl { color: var(--cyan); }
.ai__col p { font-size: 15px; color: #dfeafb; }
.ai__col strong { color: #fff; }
.ai__note { font-size: 13.5px; color: #8fabe0 !important; margin-top: 4px; }
.ai__chat { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.bubble { max-width: 82%; padding: 13px 17px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.bubble--user { align-self: flex-end; background: #fff; color: var(--ink); border-bottom-right-radius: 5px; }
.bubble--ai { align-self: flex-start; background: linear-gradient(135deg, var(--blue-700), var(--blue)); color: #fff; border-bottom-left-radius: 5px; }
.conv { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.conv__in { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14.5px; flex: 1; }
.conv__in i { font-style: normal; font-size: 18px; }
.conv__arrow { color: var(--cyan); font-weight: 700; }
.conv__out { color: #cfe0fb; font-size: 14px; text-align: right; flex: 1; }

/* ===== FEATURES ===== */
.features { padding: 108px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfe0ff; }
.feat--wide { grid-column: span 1; background: linear-gradient(160deg, #fff, #f1f7ff); border-color: #d7e6ff; }
.feat h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.feat p { color: var(--slate); font-size: 15px; }
.feat__sub { margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.ai__contrast--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .ai__contrast--3 { grid-template-columns: 1fr; } }
.feat__icon { width: 50px; height: 50px; border-radius: 13px; margin-bottom: 18px; background: var(--bg-tint); position: relative; }
.feat__icon::after { content: ""; position: absolute; inset: 0; background: var(--blue); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 25px; mask-size: 25px; }
.icon-stack::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3l9 5-9 5-9-5 9-5z'/%3E%3Cpath d='M3 12l9 5 9-5M3 16.5l9 5 9-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3l9 5-9 5-9-5 9-5z'/%3E%3Cpath d='M3 12l9 5 9-5M3 16.5l9 5 9-5'/%3E%3C/svg%3E"); }
.icon-chat::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 5h16v11H8l-4 4V5z'/%3E%3Cpath d='M9 10h.01M13 10h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 5h16v11H8l-4 4V5z'/%3E%3Cpath d='M9 10h.01M13 10h.01'/%3E%3C/svg%3E"); }
.icon-award::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M9 14l-2 7 5-3 5 3-2-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M9 14l-2 7 5-3 5 3-2-7'/%3E%3C/svg%3E"); }
.icon-dash::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 4v16h16'/%3E%3Crect x='7' y='11' width='3' height='6'/%3E%3Crect x='13' y='7' width='3' height='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 4v16h16'/%3E%3Crect x='7' y='11' width='3' height='6'/%3E%3Crect x='13' y='7' width='3' height='10'/%3E%3C/svg%3E"); }
.icon-report::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.icon-org::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='9' y='2' width='6' height='5'/%3E%3Crect x='3' y='17' width='6' height='5'/%3E%3Crect x='15' y='17' width='6' height='5'/%3E%3Cpath d='M12 7v5M6 17v-3h12v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='9' y='2' width='6' height='5'/%3E%3Crect x='3' y='17' width='6' height='5'/%3E%3Crect x='15' y='17' width='6' height='5'/%3E%3Cpath d='M12 7v5M6 17v-3h12v3'/%3E%3C/svg%3E"); }

.icon-chart::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 4v16h16'/%3E%3Cpath d='M8 14l3-4 3 3 4-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 4v16h16'/%3E%3Cpath d='M8 14l3-4 3 3 4-6'/%3E%3C/svg%3E"); }
.icon-merge::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 3v6a5 5 0 0 0 5 5h5'/%3E%3Cpath d='M17 3v6a5 5 0 0 1-5 5H7'/%3E%3Cpath d='M14 17l3-3-3-3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 3v6a5 5 0 0 0 5 5h5'/%3E%3Cpath d='M17 3v6a5 5 0 0 1-5 5H7'/%3E%3Cpath d='M14 17l3-3-3-3'/%3E%3C/svg%3E"); }
.icon-people::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Cpath d='M16 4a3.5 3.5 0 0 1 0 7M21 20c0-2.6-1.5-4.8-3.7-5.7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Cpath d='M16 4a3.5 3.5 0 0 1 0 7M21 20c0-2.6-1.5-4.8-3.7-5.7'/%3E%3C/svg%3E"); }

/* ===== VS ===== */
.vs { padding: 108px 0; background: var(--bg-soft); }
.vs-table { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.vs-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row > span { padding: 18px 22px; font-size: 15px; color: var(--slate); }
.vs-row--head > span { font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.vs-pdca { color: var(--muted) !important; background: var(--bg-soft); }
.vs-scad { color: var(--blue-900) !important; background: var(--bg-tint); }
.vs-row:not(.vs-row--head) > span:nth-child(3) { background: rgba(234,242,255,.5); color: var(--ink); font-weight: 500; }
.vs-k { font-weight: 700 !important; color: var(--ink) !important; }

/* ===== SUITE ===== */
.suite { padding: 110px 0; }
.loopdiagram { position: relative; max-width: 960px; margin: 0 auto 60px; height: 400px; }
.node { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; text-align: center; font-weight: 700; }
.node--emp, .node--cust { width: 138px; height: 138px; border-radius: 50%; border: 3px solid var(--blue); color: var(--blue-900); background: var(--bg-tint); font-size: 18px; box-shadow: var(--shadow-md); }
.node--emp { left: 0; }
.node--cust { right: 0; }
.node--hub { left: 50%; transform: translate(-50%, -50%); width: 188px; height: 188px; border-radius: 50%; background: var(--grad-deep); color: #fff; box-shadow: var(--shadow-lg); flex-direction: column; border: 5px solid #fff; align-content: center; }
.node__hub-mark { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; background: #fff; color: var(--blue-700); padding: 7px 18px; border-radius: 999px; border: 1.5px solid var(--sky); box-shadow: var(--shadow-md); }
.node__hub-co { font-size: 14px; font-weight: 700; color: #fff; margin-top: 4px; letter-spacing: .08em; }
.node__hub-sub { font-size: 11px; color: var(--sky); font-weight: 700; letter-spacing: .05em; margin-top: 4px; }
.flow { position: absolute; height: 5px; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 5px; }
.flow span { position: absolute; top: -46px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: var(--blue-900); white-space: nowrap; background: #fff; padding: 3px 11px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.flow__app { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #fff; border: 1.5px solid var(--sky); box-shadow: var(--shadow-md); color: var(--blue-700); white-space: nowrap; font-style: normal; }
.flow::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.flow--exec { top: 35%; left: 154px; width: calc(50% - 154px - 102px); }
.flow--exec::after { right: -2px; transform: translateY(-50%); border-left: 11px solid var(--cyan); }
.flow--value { top: 35%; right: 154px; width: calc(50% - 154px - 102px); }
.flow--value::after { right: -2px; transform: translateY(-50%); border-left: 11px solid var(--cyan); }
.flow--rev { top: 65%; right: 154px; width: calc(50% - 154px - 102px); background: linear-gradient(90deg, var(--cyan), var(--blue-800)); }
.flow--rev::after { left: -2px; transform: translateY(-50%); border-right: 11px solid var(--blue-800); }
.flow--pay { top: 65%; left: 154px; width: calc(50% - 154px - 102px); background: linear-gradient(90deg, var(--blue-800), var(--cyan)); }
.flow--pay::after { left: -2px; transform: translateY(-50%); border-right: 11px solid var(--blue-800); }
.app-badge { position: absolute; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #fff; border: 1.5px solid var(--sky); box-shadow: var(--shadow-md); color: var(--blue-700); }
.app-badge--aibou { top: 12%; left: calc(25% + 26px); margin-left: -40px; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app { display: block; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.app:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfe0ff; }
.app__more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--blue); }
.app--hub .app__more { color: var(--sky); }
.app--hub { background: var(--grad-deep); color: #fff; box-shadow: var(--shadow-lg); }
.app.app--hub .app__role { color: var(--sky); }
.app.app--hub p { color: #cfe0fb; }
.app--soon { border-style: dashed; background: var(--bg-soft); }
.app__role { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.app h3 { font-family: var(--display); font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.app p { color: var(--slate); font-size: 15px; }

/* ===== METHOD ===== */
.method { position: relative; overflow: hidden; color: #fff; padding: 120px 0; }
.method__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(700px 400px at 20% 20%, rgba(56,189,248,.32), transparent 60%), linear-gradient(135deg, #061a4a, #0d2f7a 55%, #123a8f); }
.method__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.method__title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.7vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 22px; }
.method__copy > p { color: #cfe0fb; font-size: 16.5px; margin-bottom: 16px; }
.method__copy strong { color: #fff; }
.method__sign { border-left: 3px solid var(--cyan); padding-left: 18px; color: #fff !important; font-weight: 500; }
.method__sign em { color: var(--cyan); font-style: italic; }
.method__pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pillar span { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--cyan); margin-bottom: 8px; }
.pillar p { font-size: 14px; color: #cfe0fb; }
.method__mission { position: relative; z-index: 1; margin-top: 64px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.16); text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; color: #fff; }
.method__mission span { background: linear-gradient(135deg, var(--sky), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== PRICING ===== */
.pricing { padding: 110px 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow-sm); }
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan__ribbon { position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .03em; }
.plan h3 { font-family: var(--display); font-size: 22px; font-weight: 700; }
.plan__price { margin: 14px 0 4px; }
.plan__price strong { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--blue-900); }
.plan__price span { color: var(--muted); font-size: 15px; font-weight: 500; }
.plan__tag { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; min-height: 20px; }
.plan ul { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; color: var(--slate); }
.plan li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6fe8' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan__foot { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ===== CTA ===== */
.cta { padding: 110px 0; }
.cta__inner { position: relative; overflow: hidden; text-align: center; color: #fff; background: radial-gradient(900px 400px at 50% -20%, rgba(56,189,248,.5), transparent 60%), var(--grad-deep); border-radius: 32px; padding: 82px 32px; box-shadow: var(--shadow-lg); }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.025em; }
.cta p { color: #cfe0fb; font-size: 19px; max-width: 560px; margin: 18px auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.cta__contact { font-size: 14px !important; color: #8fabe0 !important; margin-top: 30px !important; }

/* ===== FOOTER ===== */
.footer { padding: 72px 0 36px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; }
.brand__text--footer { display: inline-block; margin-bottom: 16px; }
.footer__brand p { color: var(--slate); font-weight: 600; max-width: 380px; }
.footer__brand p span { font-weight: 400; color: var(--muted); font-size: 14px; }
.footer__addr { font-weight: 400 !important; font-size: 13.5px; margin-top: 12px; color: var(--muted) !important; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__col h4 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--slate); font-size: 14.5px; padding: 5px 0; transition: color .15s ease; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ===== CHECKOUT MODAL ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(6, 20, 55, .55); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 860px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2,.8,.3,1); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__x { position: absolute; top: 16px; right: 18px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); color: var(--slate); font-size: 24px; line-height: 1; cursor: pointer; transition: background .15s ease; }
.modal__x:hover { background: var(--bg-tint); color: var(--ink); }
.co { display: grid; grid-template-columns: .92fr 1.08fr; }
.co__side { background: var(--grad-deep); color: #fff; padding: 38px 32px; border-radius: 24px 0 0 24px; }
.co__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.co__plan { font-family: var(--display); font-size: 28px; font-weight: 800; margin: 8px 0 6px; }
.co__plandesc { color: #cfe0fb; font-size: 14.5px; margin-bottom: 24px; }
.co__seats label { display: block; font-size: 13px; font-weight: 600; color: #cfe0fb; margin-bottom: 8px; }
.co__stepper { display: flex; align-items: center; gap: 8px; }
.co__stepper button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-size: 20px; cursor: pointer; transition: background .15s ease; }
.co__stepper button:hover { background: rgba(255,255,255,.2); }
.co__stepper input { width: 90px; height: 40px; text-align: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; font-size: 17px; font-weight: 700; -moz-appearance: textfield; }
.co__stepper input::-webkit-outer-spin-button, .co__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co__hint { font-size: 12.5px; color: #9fc4f5; margin-top: 10px; }
.co__lines { list-style: none; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; gap: 12px; }
.co__lines li { display: flex; justify-content: space-between; font-size: 14.5px; color: #dfeafb; }
.co__lines li span:last-child { font-weight: 600; color: #fff; }
.co__lines li.co__line--muted span { color: #9fc4f5; }
.co__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.co__total span { font-size: 14px; color: #cfe0fb; }
.co__total strong { font-family: var(--display); font-size: 30px; font-weight: 800; }
.co__tax { font-size: 12px; color: #9fc4f5; margin-top: 6px; }
.co__main { padding: 44px 36px 36px; position: relative; }
.co__form { display: flex; flex-direction: column; gap: 16px; }
.co__row { display: grid; gap: 16px; }
.co__row--2 { grid-template-columns: 1fr 1fr; }
.co__form label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); }
.co__form input { width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; font-size: 15px; font-family: var(--font); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.co__form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,232,.15); }
.co__pay { margin-top: 4px; }
.co__paylabel { font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.co__card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-soft); opacity: .8; }
.co__cardrow { display: flex; align-items: center; gap: 10px; padding: 13px 15px; font-size: 14px; color: var(--muted); }
.co__cardrow + .co__cardrow { border-top: 1px solid var(--line); }
.co__cardicon { font-size: 16px; }
.co__cardph { margin-left: auto; letter-spacing: .06em; }
.co__cardrow--split { justify-content: space-between; }
.co__soon { font-size: 12.5px; color: var(--muted); background: var(--bg-tint); border-radius: 10px; padding: 11px 13px; margin-top: 10px; line-height: 1.5; }
.co__trust { text-align: center; font-size: 12.5px; color: var(--muted); }
.co__done { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.co__done[hidden] { display: none; }
.co__form[hidden] { display: none; }
.co__check { width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 30px; }
.co__done h3 { font-family: var(--display); font-size: 24px; font-weight: 700; }
.co__done p { color: var(--slate); font-size: 15px; max-width: 380px; }
.co__done .btn { margin-top: 8px; }
body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .co { grid-template-columns: 1fr; }
  .co__side { border-radius: 24px 24px 0 0; }
  .co__row--2 { grid-template-columns: 1fr; }
  .co__main { padding: 30px 24px; }
}

/* ===== ACTIVE NAV ===== */
.nav__links a.active { color: var(--blue); font-weight: 600; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 6px 15px; border-radius: 999px; margin-bottom: 18px; }
.badge--live { background: rgba(56,189,248,.16); color: #eaf6ff; border: 1px solid rgba(56,189,248,.4); }
.badge--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34e5a0; box-shadow: 0 0 0 3px rgba(52,229,160,.22); }
.app-tagline { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.01em; text-align: center; color: var(--blue-900); max-width: 780px; margin: 0 auto; }
.app-tagline span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== SUB-PAGE HERO ===== */
.hero--sub { padding: 104px 0 90px; }
.hero--sub .hero__inner { max-width: 840px; margin: 0 auto; text-align: center; }
.hero--sub .hero__title { font-size: clamp(34px, 5vw, 60px); }
.hero--sub .hero__sub { margin-left: auto; margin-right: auto; }
.hero--sub .hero__actions { justify-content: center; }
.page-section { padding: 96px 0; }
.page-section.alt { background: var(--bg-soft); }
.lead-narrow { max-width: 720px; margin: 0 auto; text-align: center; color: var(--slate); font-size: 18px; }

/* ===== CONTACT FORM ===== */
.cform { max-width: 580px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.cform label { font-size: 13px; font-weight: 600; color: var(--slate); display: block; }
.cform input, .cform textarea, .cform select { width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.cform textarea { min-height: 120px; resize: vertical; }
.cform input:focus, .cform textarea:focus, .cform select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,232,.15); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__note { font-size: 13px; color: var(--muted); text-align: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; max-width: 1000px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .ci { display: flex; gap: 14px; }
.contact-info .ci b { display: block; font-size: 15px; }
.contact-info .ci span { color: var(--slate); font-size: 14.5px; }
.contact-info .ci em { font-style: normal; color: var(--blue); font-weight: 600; }

/* ===== VALUE PROPS (why grid) ===== */
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.prop { padding: 30px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; position: relative; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--blue), var(--cyan)); }
.prop h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; padding-left: 18px; letter-spacing: -.01em; }
.prop p { color: var(--slate); font-size: 15px; padding-left: 18px; }
@media (max-width: 820px) { .why__grid { grid-template-columns: 1fr; } }

/* ===== SECI QUADRANT ===== */
.seci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 780px; margin: 0 auto; }
.seci-cell { border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; background: #fff; box-shadow: var(--shadow-sm); }
.seci-cell .k { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.seci-s .k { background: linear-gradient(135deg, #1a52c9, #2f80ed); }
.seci-e .k { background: linear-gradient(135deg, #2f80ed, #38bdf8); }
.seci-i .k { background: linear-gradient(135deg, #1a52c9, #38bdf8); }
.seci-c .k { background: linear-gradient(135deg, #38bdf8, #5cc9f5); }
.seci-cell h4 { font-size: 17px; font-weight: 700; }
.seci-cell .conv { font-size: 12px; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin: 5px 0 9px; }
.seci-cell p { color: var(--slate); font-size: 14.5px; }
.seci-note { text-align: center; color: var(--muted); font-size: 14px; margin: 24px auto 0; max-width: 660px; line-height: 1.6; }

/* ===== PENTALOOP STEPS ===== */
.penta { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; }
.pstep { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; box-shadow: var(--shadow-sm); }
.pstep .num { font-family: var(--display); font-weight: 800; font-size: 14px; color: #fff; background: var(--grad); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.pstep h4 { font-size: 16px; font-weight: 700; }
.pstep .role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pstep p { font-size: 13.5px; color: var(--slate); margin-top: 9px; }
.penta-note { text-align: center; margin: 24px auto 0; color: var(--slate); font-weight: 600; font-size: 15px; }
.penta-note span { color: var(--blue); }
@media (max-width: 900px) { .penta { grid-template-columns: 1fr 1fr; } .seci-grid { max-width: 520px; } }
@media (max-width: 560px) { .penta, .seci-grid { grid-template-columns: 1fr; } }
.penta--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px) { .penta--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .penta--6 { grid-template-columns: 1fr 1fr; } }

/* ===== KUNO QUOTE ===== */
.kuno { max-width: 840px; margin: 0 auto; text-align: center; }
.kuno blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 33px); line-height: 1.32; letter-spacing: -.01em; color: var(--ink); margin: 0; }
.kuno blockquote span { color: var(--blue); }
.kuno cite { display: block; margin-top: 20px; color: var(--muted); font-style: normal; font-weight: 600; font-size: 15px; }

/* ===== COMPANY FACTS ===== */
.facts { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.facts .fact { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 18px 28px; border-top: 1px solid var(--line); font-size: 15px; }
.facts .fact:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-weight: 600; margin: 0; }
.facts dd { margin: 0; color: var(--ink); }
.facts dd a { color: var(--blue); font-weight: 600; }
@media (max-width: 560px) { .facts .fact { grid-template-columns: 1fr; gap: 4px; } }

/* ===== FAQ ===== */
.faqs { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; }
.faq h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.faq p { color: var(--slate); font-size: 15px; }

/* ===== PRODUCT SCREENS ===== */
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.screen { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.screen:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.screen__frame { position: relative; background: #eef1f6; padding: 32px 0 0; }
.screen__frame i { position: absolute; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: #cbd3e2; }
.screen__frame i:nth-child(1) { left: 16px; } .screen__frame i:nth-child(2) { left: 32px; } .screen__frame i:nth-child(3) { left: 48px; }
.screen__frame img { display: block; width: 100%; height: auto; border-top: 1px solid var(--line); }
.screen figcaption { padding: 20px 24px 26px; }
.screen figcaption h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.screen figcaption p { color: var(--slate); font-size: 14.5px; }
.screens-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }
@media (max-width: 900px) { .screens-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 620px) { .cform__row { grid-template-columns: 1fr; } }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
/* ナビは日本語ラベルが長いため、コンテンツより広い幅(1120px)でハンバーガー化する */
@media (max-width: 1120px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: flex; margin-left: 12px; }
  .nav__cta { margin-left: auto; }
  .nav.is-open .nav__item--drop { display: block; width: 100%; }
  .nav.is-open .nav__toggle { display: flex; justify-content: space-between; width: 100%; }
  .nav.is-open .nav__toggle .chev { transform: rotate(180deg); }
  .nav.is-open .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 2px 0 8px 14px; min-width: 0; background: transparent; }
  .nav.is-open .nav__menu a { padding: 8px 0; }
}
@media (max-width: 980px) {
  .walls, .feat-grid, .apps { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step__arrow { display: none; }
  .ai__inner, .method__inner { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .loopdiagram { display: none; }
  .trust__inner { justify-content: center; text-align: center; }
}
@media (max-width: 620px) {
  .hero { padding: 88px 0 92px; }
  .hero--split { padding: 88px 0 96px; }
  .hero__title, .hero--split .hero__title { font-size: clamp(31px, 8.4vw, 42px); line-height: 1.06; }
  .section-title { font-size: clamp(26px, 7.2vw, 34px); }
  .walls, .feat-grid, .apps, .steps { grid-template-columns: 1fr; }
  .ai__contrast, .method__pillars { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr; }
  .vs-row > span { padding: 12px 18px; }
  .vs-row--head { display: none; }
  .trust__inner { display: block; }
  .trust__label { max-width: none; margin-bottom: 22px; }
  .trust__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .cta__inner { padding: 56px 22px; }
  .brand__mark-img { height: 34px; }
  .brand__word { height: 16px; }
  .container { padding: 0 20px; }
  .nav__inner { gap: 10px; }
  .nav__cta { gap: 8px; }
  .nav__burger { margin-left: 4px; padding: 6px; }
  .nav__cta .btn--primary { padding: 9px 15px; font-size: 14px; }
}

/* mobile menu */
.nav.is-open .nav__links { display: flex; position: absolute; top: 74px; left: 0; right: 0; margin-left: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 18px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.nav.is-open .nav__links a { padding: 12px 0; font-size: 16px; width: 100%; text-align: left; }

/* ===== BRAND ACCENT: red (matches the logo) — blue stays the base ===== */
:root { --brand-red: #d63a2f; --brand-red-d: #b0261b; --brand-red-light: #ff8f80; }
.btn--primary { background: var(--brand-red); box-shadow: 0 6px 18px rgba(214,58,47,.38); }
.btn--primary:hover { background: var(--brand-red-d); box-shadow: 0 10px 26px rgba(214,58,47,.5); }
.eyebrow { color: var(--brand-red); }
.eyebrow--light { color: var(--brand-red-light); }
.grad-text { background: linear-gradient(100deg, #ff9585, #e0483a 45%, #ff7a6b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan--featured { border-color: var(--brand-red); }
.plan__ribbon { background: var(--brand-red); }
.badge--live::before { background: var(--brand-red-light); box-shadow: 0 0 0 3px rgba(255,143,128,.22); }

/* ===== LEGAL PAGES ===== */
.legal { max-width: 800px; }
.legal h2 { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 700; margin: 36px 0 10px; color: var(--ink); }
.legal p { color: var(--slate); font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 20px; }
.legal li { color: var(--slate); font-size: 15.5px; line-height: 1.75; margin-bottom: 8px; }
.legal a { color: var(--blue); text-decoration: underline; }
.footer__legal a { color: inherit; text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
/* ===== HERO PENTALOOP RING (card style) ===== */
.hero__visual--ring { display: flex; align-items: center; justify-content: center; }
.ringcard {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 60px rgba(3, 12, 40, .45), 0 2px 0 rgba(255, 255, 255, .08) inset;
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
}
.ringcard { width: min(460px, 100%); }
.ringcard img { display: block; width: 100%; height: auto; }
.ringcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 25, 74, 0) 68%, rgba(6, 16, 52, .38) 100%);
  box-shadow: inset 0 0 60px rgba(6, 16, 52, .25);
}
/* ===== CHECKOUT PAYMENT METHOD ===== */
.co__methods { display: flex; flex-direction: column; gap: 10px; }
.co__method { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.co__method:hover { border-color: #b9c6e8; }
.co__method:has(input:checked) { border-color: var(--brand-red, #d63a2f); background: #fff7f6; }
.co__method input { margin-top: 3px; accent-color: var(--brand-red, #d63a2f); }
.co__method strong { display: block; font-size: 14.5px; }
.co__method small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
/* ===== CHECKOUT APP SELECT & CONSENT ===== */
.co__select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14.5px; background: #fff; color: var(--ink); cursor: pointer; }
.co__select:focus { outline: 2px solid var(--brand-red, #d63a2f); outline-offset: 1px; }
.co__consent { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.co__consent a { color: var(--blue); text-decoration: underline; }

/* ===== NAV WRAP GUARD ===== */
.nav__links a { white-space: nowrap; }

/* tap target: footer legal links */
.footer__legal a { display: inline-block; padding: 8px 2px; }

/* ===== MOBILE QA FIXES (2026-07) ===== */
/* SCAD vs PDCA 比較表: モバイルでヘッダ行が消えるため、どちらの値か各セルにラベルを付ける */
@media (max-width: 620px) {
  .vs-row:not(.vs-row--head) > span:nth-child(2)::before { content: "PDCA — "; font-weight: 700; color: var(--muted); }
  .vs-row:not(.vs-row--head) > span:nth-child(3)::before { content: "SCAD — "; font-weight: 700; color: var(--blue); }
  /* 変換フロー行(.conv): 3カラムが潰れて語中割れするため縦積みに */
  .conv { flex-direction: column; align-items: flex-start; gap: 6px; }
  .conv__out { text-align: left; }
}
/* 日本語見出しの不自然な折返し（「へ。」だけの行・語中割れ）を軽減 */
html[lang="ja"] .hero__title,
html[lang="ja"] .section-title,
html[lang="ja"] .ai__title,
html[lang="ja"] .cta h2,
html[lang="ja"] .app-tagline { text-wrap: balance; }
html[lang="ja"] body, html[lang="ja"] { line-break: strict; }

/* feature card as link (tap-to-see-screenshot) */
a.feat { display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.feat:hover h3 { color: var(--blue); }