:root {
  --navy: #07152f;
  --navy-2: #0d2650;
  --navy-3: #123260;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #dce3ed;
  --surface: #f5f7fa;
  --surface-2: #edf2f7;
  --white: #fff;
  --green: #16a75a;
  --green-dark: #0f7d43;
  --green-soft: #e9f8ef;
  --blue: #2563eb;
  --blue-soft: #edf3ff;
  --violet: #6d28d9;
  --violet-light: #8b5cf6;
  --violet-soft: #f3eeff;
  --danger: #dc2626;
  --amber: #c76b0a;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-h: 68px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.8; }
[hidden], [data-menu-icon][hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 6px #1d4ed8; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.mobile-copy { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; color: var(--white); background: var(--navy); border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.container.narrow { max-width: 1040px; }

.site-header { position: sticky; top: 0; z-index: 1000; min-height: var(--header-h); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(214,222,233,.82); box-shadow: 0 3px 12px rgba(15,23,42,.045); backdrop-filter: blur(14px); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Inter, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand.brand-lockup img { width: auto; height: 38px; border-radius: 0; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a, .text-link { min-height: 44px; display: inline-flex; align-items: center; color: #334155; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover, .text-link:hover { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.menu-button { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.mobile-menu { padding: 10px 24px 22px; background: var(--white); border-top: 1px solid var(--line); }
.mobile-menu a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid #eef2f6; font-weight: 700; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; line-height: 1.35; text-align: center; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.button-large { min-height: 56px; padding-inline: 30px; }
.button-primary { color: var(--white); background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 12px 32px rgba(15,125,67,.2); }
.button-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button-ghost { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-outline { color: var(--green-dark); background: var(--white); border-color: #87d5aa; }
.button-outline:hover { background: var(--green-soft); }
.button-ai { color: var(--white); background: var(--violet); border-color: var(--violet); }
.button-ai:hover { background: #5521aa; border-color: #5521aa; }

.hero { position: relative; isolation: isolate; min-height: 690px; display: grid; align-items: center; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--navy); }
.hero-media img { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(7,21,47,.04) 0%, rgba(7,21,47,.1) 58%, rgba(7,21,47,.3) 100%), linear-gradient(90deg, rgba(3,12,28,.92) 0%, rgba(4,17,38,.86) 34%, rgba(5,20,45,.56) 52%, rgba(5,20,45,.2) 70%, rgba(5,20,45,.08) 100%); }
.final-network { position: absolute; inset: 0; z-index: -2; background: url('/assets/lp-dark-city-network-1440.webp') center/cover no-repeat; opacity: .46; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,21,47,.5); }
.hero .container { width: min(calc(100% - 64px), 1320px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 620px); align-items: center; justify-content: start; padding-block: 74px 66px; }
.hero-copy { position: relative; z-index: 2; }
.hero-mobile-preview { display: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--green-dark); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.eyebrow > span:first-child { width: 32px; height: 2px; background: currentColor; }
.eyebrow-light { color: #7ee2a8; }
.eyebrow-violet { color: #bba3ff; }
.hero h1 { max-width: 620px; margin: 0; color: var(--white); font-size: clamp(38px, 3vw, 46px); line-height: 1.3; letter-spacing: -.035em; font-weight: 900; text-shadow: 0 3px 18px rgba(0,0,0,.42); line-break: strict; text-wrap: balance; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-lead { max-width: 590px; margin: 26px 0 0; color: #edf3fa; font-size: 16px; line-height: 1.85; font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,.38); }
.hero-lead > span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-inline { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0 0; padding: 0; color: #cad8ea; list-style: none; font-size: 14px; font-weight: 700; }
.trust-inline li { display: inline-flex; align-items: center; gap: 7px; }
.trust-inline svg { width: 18px; height: 18px; color: #64db94; }

.capability-bar { border-bottom: 1px solid var(--line); background: var(--white); }
.capability-bar ul { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.capability-bar li { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px; color: #334155; border-right: 1px solid #edf1f5; font-size: 13px; font-weight: 700; text-align: center; }
.capability-bar li:last-child { border-right: 0; }
.capability-bar svg { color: var(--green); }

.section { padding-block: 88px; }
.section h2, .resource-section h2, .final-cta h2 { max-width: 900px; margin: 0; color: var(--ink); font-size: clamp(34px, 3vw, 42px); line-height: 1.35; letter-spacing: -.035em; font-weight: 900; line-break: strict; word-break: normal; overflow-wrap: normal; text-wrap: balance; }
.title-line, .body-line { display: block; }
.title-line { white-space: nowrap; }
.no-break { white-space: nowrap; }
.mobile-line-break { display: none; }
.mobile-copy-break { display: none; }
.body-line { text-wrap: pretty; }
.section-lead { max-width: 720px; margin: 22px 0 0; color: var(--slate); font-size: 17px; line-height: 1.9; }
.section-lead.centered { margin-inline: auto; text-align: center; }
.section-heading-center { max-width: 940px; margin-inline: auto; text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }
.section-heading-center h2, .section-heading-center .section-lead { margin-inline: auto; }
.section-kicker { margin: 0 0 10px; color: var(--green-dark); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.value-section { background: var(--surface); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.value-grid article { min-height: 300px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.value-grid article > span { color: var(--green-dark); font-family: Inter, sans-serif; font-size: 13px; font-weight: 800; }
.value-grid svg { display: block; width: 30px; height: 30px; margin: 30px 0 20px; color: var(--green-dark); }
.value-grid h3 { margin: 0; font-size: 22px; line-height: 1.45; }
.value-grid p { margin: 12px 0 0; color: var(--slate); font-size: 15px; }
.problems { background: var(--white); }
.problem-panel { padding: 54px 42px 42px; background: linear-gradient(145deg, #fbfefc 0%, #f5faf7 100%); border: 1px solid #d6e6dc; border-radius: 30px; }
.problem-label { width: fit-content; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 9px 18px; color: var(--green-dark); background: var(--white); border: 1px solid #dce5ee; border-radius: 999px; box-shadow: 0 12px 30px rgba(15,23,42,.08); font-size: 14px; font-weight: 800; }
.problem-label svg { width: 22px; height: 22px; color: var(--green); }
.problem-title-accent { color: #16a34a; }
.problems .section-lead { max-width: none; text-align: center; white-space: nowrap; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.problem-grid article { min-height: 294px; padding: 28px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 34px rgba(15,23,42,.06); text-align: center; }
.problem-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto; color: var(--green-dark); background: var(--green-soft); border-radius: 50%; }
.problem-icon svg { width: 27px; height: 27px; }
.problem-grid h3 { margin: 18px 0 0; font-size: 18px; line-height: 1.4; }
.problem-rule { width: 34px; height: 3px; display: block; margin: 18px auto; background: var(--green); border-radius: 999px; }
.problem-grid p { margin: 0; color: var(--slate); font-size: 13.5px; line-height: 1.75; }

.outcomes .container { display: grid; grid-template-columns: .86fr 1.14fr; gap: 96px; align-items: start; }
.outcomes h2 { font-size: clamp(36px, 3.45vw, 48px); }
.outcome-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.outcome-list article { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.outcome-list article > span { color: var(--green); font-family: Inter, sans-serif; font-size: 15px; font-weight: 800; }
.outcome-list h3 { margin: 0; font-size: 22px; }
.outcome-list p { margin: 8px 0 0; color: var(--slate); }

.workflow { background: var(--surface); text-align: center; }
.workflow .eyebrow { justify-content: center; }
.workflow h2 { max-width: none; margin-inline: auto; }
.workflow h2 .title-line { display: inline; white-space: normal; }
.workflow-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 56px; }
.workflow-steps::before { content: ""; position: absolute; left: 9%; right: 9%; top: 28px; z-index: 0; height: 2px; background: #cdd8e4; }
.workflow-steps::after { content: ""; position: absolute; left: 9%; right: 9%; top: 28px; z-index: 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue), var(--violet)); transform: scaleX(0); transform-origin: left center; }
.motion-ready .workflow-steps.has-motion.is-running::after { transform: scaleX(1); transition: none; }
.workflow-steps article { position: relative; z-index: 1; padding: 0 12px; }
.workflow-steps article > span { position: relative; z-index: 2; width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 22px; color: var(--white); background: var(--green-dark); border: 7px solid var(--surface); border-radius: 50%; font-family: Inter, sans-serif; font-weight: 800; }
.workflow-steps article:last-child > span { background: var(--violet); }
.workflow-steps svg { width: 30px; height: 30px; color: var(--blue); }
.workflow-steps h3 { margin: 12px 0 4px; font-size: 18px; }
.workflow-steps p { margin: 0; color: var(--slate); font-size: 14px; }
.center-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 58px; }
.center-actions span { color: var(--muted); font-size: 13px; }

.product-tour { overflow: hidden; }
.product-tour > .container > h2 { margin-bottom: 52px; }
.product-band { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); gap: 52px; align-items: center; padding: 44px 0 64px; border-top: 1px solid var(--line); }
.product-band-reverse { grid-template-columns: .78fr 1fr; }
.product-band-reverse .mobile-screens-wrap { order: 2; }
.product-band-reverse .product-copy { order: 1; }
.product-visual { min-width: 0; }
.product-image { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(15,23,42,.1); }
.product-image img { width: 100%; }
.product-image picture, .dashboard-image picture { display: block; }
.product-browser-shell { border-color: #cad6e3; border-radius: 14px; background: var(--white); box-shadow: 0 26px 74px rgba(15,23,42,.14); }
.product-browser-bar { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #dbe4ee; background: #f5f7fa; }
.product-browser-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #f06d68; }
.product-browser-dot:nth-child(2) { background: #efc052; }
.product-browser-dot:nth-child(3) { background: #63bd76; }
.product-browser-address { min-width: 0; flex: 1; margin-left: 6px; padding: 6px 10px; overflow: hidden; color: #64748b; background: var(--white); border: 1px solid #dde5ed; border-radius: 7px; font-family: Inter, sans-serif; font-size: 11px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.product-browser-label { color: var(--green-dark); font-size: 11px; font-weight: 800; white-space: nowrap; }
.product-description { margin: 20px 0 0; color: var(--slate); font-size: 15px; line-height: 1.85; }
.product-screen-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.product-screen-facts li { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 14px; background: #f7fafc; border: 1px solid #dce5ee; border-radius: 12px; }
.product-screen-facts svg { width: 20px; height: 20px; color: var(--blue); }
.product-screen-facts span { min-width: 0; display: grid; gap: 2px; }
.product-screen-facts strong { color: var(--ink); font-size: 13px; line-height: 1.35; }
.product-screen-facts small { color: var(--slate); font-size: 11.5px; line-height: 1.45; }
.product-copy h3 { margin: 0; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.45; letter-spacing: -.03em; }
.check-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #334155; }
.check-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--green); }
.mobile-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; justify-items: center; gap: 14px; padding: 28px; background: var(--surface); border-radius: var(--radius-lg); }
.phone-composite { position: relative; width: 100%; aspect-ratio: 1 / 2; }
.phone-composite > .phone-composite-screen,
.phone-composite > .phone-composite-frame { position: absolute; display: block; }
.phone-composite > .phone-composite-screen { z-index: 1; left: 10.16%; top: 5.89%; width: 78.87%; height: 87.82%; object-fit: cover; object-position: center; border-radius: 9.5% / 4.7%; }
.phone-composite > .phone-composite-frame { z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.mobile-screen-device { position: relative; width: min(100%, 230px); padding: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.mobile-screen-device > .phone-composite { filter: drop-shadow(0 20px 30px rgba(15,23,42,.2)); }
.mobile-screen-device:last-child { transform: translateY(22px); }
.mobile-screen-device .iphone-notch { position: relative; top: auto; left: auto; z-index: 4; width: 34%; min-width: 64px; max-width: 88px; height: 19px; display: block; margin: 6px auto 5px; background: #000; border-radius: 999px; transform: none; pointer-events: none; }
.mobile-screen-device .iphone-notch::before { content: ""; position: absolute; inset: 3px auto 3px 8px; width: 45%; background: #090b0f; border-radius: 999px; }
.mobile-screen-device .iphone-notch::after { content: ""; position: absolute; top: 5px; right: 8px; width: 7px; height: 7px; background: #101b2b; border: 1px solid #263950; border-radius: 50%; }
.mobile-screen-tabs { display: none; }
.mobile-screens-hint { display: none; }
.action-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.action-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.action-list li > span { display: flex; align-items: center; gap: 8px; color: var(--green-dark); font-weight: 800; }
.action-list p { margin: 0; color: var(--slate); }

/* Desktop reading rhythm: keep the established layout while making hierarchy
   and line endings easier to scan on wide screens. */
@media (min-width: 901px) {
  /* Desktop polish for the three-screen product panel. The clean frame asset
     itself is shared across desktop and mobile. */
  #customer-workflow-screens .mobile-screens {
    padding: 32px 30px 34px;
    background: #f4f7f5;
    border: 1px solid #e0e8e3;
    box-shadow: 0 20px 54px rgba(15, 23, 42, .08);
  }

  #customer-workflow-screens .mobile-screen-device > .phone-composite {
    filter: drop-shadow(0 16px 22px rgba(15, 23, 42, .17));
  }

  #customer-workflow-screens .mobile-screen-device:last-child {
    transform: none;
  }

  .section h2,
  .resource-section h2,
  .final-cta h2 {
    font-weight: 800;
    letter-spacing: -.025em;
  }

  .section-lead {
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: .005em;
  }

  .problem-grid h3,
  .value-grid h3,
  .feature-list h3,
  .trust-grid h3,
  .product-copy h3 {
    font-weight: 700;
    letter-spacing: -.012em;
  }

  .problem-grid p {
    font-size: 14px;
    line-height: 1.8;
  }

  .value-grid p,
  .product-description,
  .action-list p,
  .trust-grid p {
    font-size: 15px;
    line-height: 1.8;
  }

  .value-grid p {
    text-wrap: pretty;
  }

  .value-grid article {
    min-height: 270px;
  }

  .value-grid svg {
    margin-top: 24px;
    margin-bottom: 18px;
  }

  .value-grid p .body-line {
    white-space: nowrap;
  }

}

@media (min-width: 1200px) {
  .product-description .body-line,
  .ai-safety .body-line,
  .trust-grid .body-line {
    white-space: nowrap;
  }
}

.features-detail { background: var(--surface); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 38px; margin-top: 50px; }
.feature-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid #d7e0ea; }
.feature-list article:nth-child(-n+3) { border-top: 1px solid #d7e0ea; }
.feature-list > article > svg { width: 30px; height: 30px; padding: 10px; box-sizing: content-box; color: var(--blue); background: var(--white); border-radius: 14px; }
.feature-list h3 { margin: 0; font-size: 20px; }
.feature-list p { margin: 6px 0 0; color: var(--slate); }

.dashboard-section { background: var(--white); }
.dashboard-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.dashboard-copy h2 { font-size: clamp(34px, 2.7vw, 40px); }
.dashboard-image { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(15,23,42,.1); }
.dashboard-mobile-label { display: none; }
.iphone-notch { display: none; }
.metric-list { display: grid; gap: 0; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.metric-list li { display: grid; gap: 3px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.metric-list span { color: var(--green-dark); font-size: 13px; font-weight: 800; }
.metric-list strong { font-size: 16px; }

.ai-section { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy); }
.ai-section::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('/assets/lp-dark-city-network-1440.webp') center/cover no-repeat; opacity: .22; }
.ai-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,21,47,.72); }
.ai-section h2 { color: var(--white); }
.ai-main h2 { max-width: 760px; font-size: clamp(35px, 2.7vw, 40px); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(330px, .7fr); grid-template-areas: "main functions" "safety functions"; gap: 18px 28px; align-items: start; }
.ai-main { grid-area: main; }
.ai-lead { max-width: 720px; margin: 22px 0 0; color: #cbd8e9; font-size: 17px; line-height: 1.85; }
.ai-dayflow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.ai-dayflow article { min-height: 170px; padding: 22px 20px; background: #102957; border: 1px solid #31517c; border-radius: 16px; }
.ai-dayflow span { color: #7ee2a8; font-family: Inter, sans-serif; font-size: 13px; font-weight: 800; }
.ai-dayflow svg { display: block; width: 28px; height: 28px; margin: 18px 0 10px; color: #d8ccff; }
.ai-dayflow h3 { margin: 0; font-size: 17px; }
.ai-dayflow p { margin: 6px 0 0; color: #b9c8dd; font-size: 14px; }
.ai-safety { grid-area: safety; display: grid; grid-template-columns: 48px 1fr; gap: 18px; margin: 0; padding: 24px; background: #0d2650; border: 1px solid #31517c; border-radius: 16px; }
.ai-safety > svg { width: 34px; height: 34px; color: #7ee2a8; }
.ai-safety h3 { margin: 0; font-size: 18px; }
.ai-safety p { margin: 7px 0 0; color: #c8d5e8; font-size: 15px; }
.ai-functions { grid-area: functions; align-self: stretch; display: flex; flex-direction: column; padding: 26px; background: #231b5d; border: 1px solid #5e50aa; border-radius: 22px; }
.ai-functions-header { display: grid; gap: 4px; margin-bottom: 18px; }
.ai-functions-header span { color: #cbbdff; font-family: Inter, sans-serif; font-size: 13px; font-weight: 800; }
.ai-functions-header strong { font-size: 24px; }
.ai-functions-header small { color: #c6bdea; }
.ai-functions ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ai-functions li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 13px; background: #2b236b; border: 1px solid #6557ad; border-radius: 12px; }
.ai-functions li > svg { color: #8fe7b1; }
.ai-functions li div { display: grid; gap: 3px; }
.ai-functions li strong { font-size: 15px; }
.ai-functions li span { color: #c9c2e6; font-size: 12px; line-height: 1.65; }
.ai-limit { margin: auto 0 0; padding-top: 18px; color: #cbbdff; font-size: 13px; font-weight: 800; text-align: center; }

.usecases { background: var(--surface); }
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.usecase-grid a { display: flex; min-height: 230px; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease; }
.usecase-grid a:hover { transform: translateY(-3px); border-color: #91d5af; }
.usecase-grid a > span { color: var(--green); font-family: Inter, sans-serif; font-size: 13px; font-weight: 800; }
.usecase-grid h3 { margin: 30px 0 12px; font-size: 24px; }
.usecase-grid p { max-width: 470px; margin: 0; color: var(--slate); }
.usecase-grid strong { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; color: var(--green-dark); }
.usecase-grid strong svg { width: 17px; height: 17px; }

.migration-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 84px; align-items: center; }
.migration-grid h2 { font-size: clamp(34px, 2.7vw, 40px); }
.migration-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-weight: 800; }
.arrow-link svg { width: 18px; height: 18px; }
.migration-options { display: grid; gap: 14px; }
.migration-options article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.migration-options svg { width: 30px; height: 30px; padding: 10px; box-sizing: content-box; color: var(--green); background: var(--white); border-radius: 13px; }
.migration-options h3 { margin: 0; font-size: 20px; }
.migration-options p { margin: 5px 0 0; color: var(--slate); }

.pricing { background: var(--surface); text-align: center; }
.pricing .eyebrow { justify-content: center; }
.pricing > .container > h2 { max-width: 920px; margin-inline: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; text-align: left; }
.pricing-group-heading { margin-top: 50px; text-align: left; }
.pricing-group-heading > span { display: block; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.pricing-group-heading h3 { margin: 7px 0 0; color: var(--ink); font-size: 26px; line-height: 1.35; }
.pricing-group-heading p { margin: 7px 0 0; color: var(--slate); font-size: 14px; line-height: 1.7; }
.pricing-group-heading p small { display: block; margin-top: 2px; color: inherit; font-size: .9em; }
.pricing-group-heading + .pricing-grid { margin-top: 22px; }
.pricing-group-heading-team { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.pricing-grid-team { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 530px; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.price-card-featured { border: 2px solid var(--blue); }
.price-card-ai { border: 2px solid var(--violet); background: #fbfaff; }
.price-card-team { border: 2px solid var(--green); background: #f8fffc; }
.price-card-enterprise { background: #f8fafc; }
.price-badge { position: absolute; top: 12px; right: 16px; z-index: 2; padding: 5px 14px; color: var(--white); background: var(--blue); border-radius: 999px; font-size: 12px; font-weight: 800; }
.price-head > span { color: var(--green-dark); font-family: Inter, sans-serif; font-size: 17px; font-weight: 800; }
.price-card-featured .price-head > span { color: var(--blue); }
.price-card-ai .price-head > span { color: var(--violet); }
.price-card-team .price-head > span { color: var(--green); }
.price-head h3 { margin: 16px 0 0; font-size: 18px; line-height: 1.4; }
.price-head h3 strong { font-family: Inter, sans-serif; font-size: 46px; letter-spacing: -.04em; }
.price-head h3 small { color: var(--slate); font-size: 13px; }
.price-head p { min-height: 54px; margin: 12px 0 0; color: var(--slate); }
.price-card ul { display: grid; gap: 13px; margin: 24px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.price-card li { position: relative; padding-left: 24px; color: #334155; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.price-card-ai li::before { background: var(--violet); }
.price-card-team li::before { background: var(--green); }
.price-card .price-ai-features ol { display: grid; gap: 4px; margin: 9px 0 0; padding-left: 22px; color: #475569; font-size: 13px; line-height: 1.55; list-style: decimal; }
.price-card .price-ai-features ol li { padding-left: 2px; }
.price-card .price-ai-features ol li::before { content: none; }
.price-card .button { width: 100%; margin-top: auto; }
.pricing-note { margin: 24px 0 0; color: var(--slate); font-size: 13px; }
.centered-link { justify-content: center; margin-top: 20px; }

.trust-section { text-align: center; }
.trust-section .eyebrow { justify-content: center; }
.trust-section > .container > h2 { margin-inline: auto; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 960px; margin: 48px auto 0; text-align: left; }
.trust-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.trust-grid svg { width: 30px; height: 30px; color: var(--green); }
.trust-grid article:nth-child(3) svg { color: var(--violet); }
.trust-grid h3 { margin: 22px 0 8px; font-size: 19px; }
.trust-grid p { margin: 0; color: var(--slate); font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 34px; }
.legal-links a { color: var(--slate); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.faq { background: var(--surface); }
.faq-container { display: grid; grid-template-columns: .82fr 1.18fr; gap: 68px; align-items: start; }
.faq-heading { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-heading h2 { font-size: clamp(34px, 3vw, 43px); }
.faq-heading p:last-child { color: var(--slate); }
.faq-heading a { color: var(--green-dark); font-weight: 800; text-decoration: underline; }
.faq-list { border-top: 1px solid #cfd9e4; }
.faq-list details { border-bottom: 1px solid #cfd9e4; }
.faq-list summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 4px; cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 auto; transition: transform .2s ease; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 40px 22px 4px; color: var(--slate); }

.resource-section { padding-block: 76px 88px; }
.resource-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; }
.resource-links a { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 800; }
.resource-links a:hover { border-color: #83d3a6; }
.resource-links svg { flex: 0 0 auto; color: var(--green); }

.final-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: 100px; color: var(--white); background: var(--navy); text-align: center; }
.final-cta h2 { color: var(--white); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta p:not(.eyebrow) { max-width: 720px; margin: 24px auto 34px; color: #cbd8e9; font-size: 18px; }
.final-cta .trust-inline { justify-content: center; }

.site-footer { padding-block: 50px 22px; color: #cbd5e1; background: #061126; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand { color: var(--white); }
.footer-main > div > p { margin: 10px 0 0; font-size: 13px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.footer-main nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }
.footer-main nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 34px; padding-top: 20px; border-top: 1px solid #1e2d47; font-size: 12px; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 18px; }

/* Progressive motion: content stays visible and indexable until JavaScript opts in. */
.motion-ready .motion-reveal {
  opacity: .94;
  transform: translate3d(0, 6px, 0);
  transition: transform .32s ease-out, opacity .28s ease-out;
  will-change: opacity, transform;
}
.motion-ready .motion-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); will-change: auto; }
.motion-ready .workflow-steps.has-motion article > span { background: #94a3b8; transition: none; }
.motion-ready .workflow-steps.has-motion article > svg { color: #94a3b8; transition: none; }
.motion-ready .workflow-steps.has-motion article.is-complete > span { background: var(--green-dark); box-shadow: none; transform: none; }
.motion-ready .workflow-steps.has-motion article.is-complete > svg { color: var(--blue); transform: none; }
.motion-ready .workflow-steps.has-motion article:last-child.is-complete > span { background: var(--violet); box-shadow: 0 0 0 5px rgba(109,40,217,.1); }
.motion-ready .product-image,
.motion-ready .dashboard-image,
.motion-ready .mobile-screens { transition-property: opacity, transform, box-shadow; }
.motion-ready .motion-reveal.is-visible.product-image,
.motion-ready .motion-reveal.is-visible.dashboard-image { box-shadow: 0 28px 78px rgba(15,23,42,.14); }

@media (max-width: 1080px) {
  .desktop-nav, .desktop-only { display: none; }
  .menu-button { display: inline-flex; }
  .hero-grid { grid-template-columns: minmax(0, 620px); }
  .capability-bar ul { grid-template-columns: repeat(3, 1fr); }
  .capability-bar li:nth-child(3n) { border-right: 0; }
  .capability-bar li:nth-child(-n+3) { border-bottom: 1px solid #edf1f5; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .product-band { grid-template-columns: 1fr; }
  .product-band-reverse .mobile-screens-wrap, .product-band-reverse .product-copy { order: initial; }
  .mobile-screens { max-width: 700px; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .feature-list article:nth-child(3) { border-top: 0; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-image { max-width: 860px; }
  .ai-grid { grid-template-columns: 1fr; grid-template-areas: "main" "functions" "safety"; }
  .ai-functions { max-width: 760px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 641px) {
  .problem-title-accent { white-space: nowrap; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .desktop-nav, .desktop-only { display: none; }
  .menu-button { display: inline-flex; }
  .hero { min-height: auto; }
  .hero-media img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; opacity: .72; }
  .hero-scrim { background: rgba(7,21,47,.68); }
  .hero-grid { grid-template-columns: 1fr; padding-block: 58px 50px; }
  .hero-copy { text-align: left; }
  .hero-copy .eyebrow, .hero-actions, .hero-copy .trust-inline { justify-content: flex-start; }
  .hero-lead { margin-inline: 0; }
  .title-line { display: block; white-space: normal; }
  .body-line { display: inline; white-space: normal; }
  .value-grid { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
  .value-grid article { min-height: auto; }
  .outcomes .container { grid-template-columns: 1fr; gap: 48px; }
  .workflow-steps { grid-template-columns: 1fr; max-width: 700px; margin: 42px auto 0; overflow: visible; padding-bottom: 0; }
  .workflow-steps article { display: grid; grid-template-columns: 54px 42px 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; min-width: 0; padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .workflow-steps article > span { grid-column: 1; grid-row: 1 / span 2; width: 46px; height: 46px; margin: 0; border-width: 5px; }
  .workflow-steps article > svg { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .workflow-steps article > h3 { grid-column: 3; grid-row: 1; margin: 0; }
  .workflow-steps article > p { grid-column: 3; grid-row: 2; }
  .workflow-steps::before { display: none; }
  .workflow-steps::after { display: none; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article:nth-child(2), .feature-list article:nth-child(3) { border-top: 0; }
  .migration-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .pricing-group-heading { max-width: 620px; margin-inline: auto; }
  .price-card { min-height: auto; }
  .faq-container { grid-template-columns: 1fr; gap: 44px; }
  .faq-heading { position: static; }
  .resource-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .problems .section-lead { white-space: normal; }
  .problem-panel { padding: 32px 18px 22px; border-radius: 20px; }
  .problem-label { width: 100%; justify-content: center; padding: 9px 12px; font-size: 12px; text-align: center; }
  .problem-title-accent { display: block; }
  .problem-grid { gap: 12px; margin-top: 34px; }
  .problem-grid article { min-height: 0; padding: 24px 18px; }
  .header-inner { gap: 10px; }
  .brand span { font-size: 18px; }
  .header-actions { gap: 8px; }
  .button-small { padding-inline: 14px; font-size: 12px; }
  .section { padding-block: 68px; }
  .hero .container { width: min(calc(100% - 28px), var(--container)); }
  .hero-media img { inset: 0; width: 100%; height: 100%; object-position: 70% center; opacity: .48; }
  .hero-scrim { background: rgba(7,21,47,.74); }
  .hero-grid { padding-top: 46px; padding-bottom: 42px; }
  .hero-copy .eyebrow { max-width: 330px; font-size: 12px; line-height: 1.65; letter-spacing: .04em; }
  .hero h1 { max-width: 100%; font-size: clamp(22px, 6.15vw, 24px); line-height: 1.45; letter-spacing: -.03em; }
  .hero h1 span { display: block; }
  .hero-lead { max-width: 100%; margin-top: 22px; font-size: 15px; line-height: 1.8; font-weight: 500; }
  .hero-lead span { display: block; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .trust-inline { gap: 12px 16px; font-size: 12px; }
  .capability-bar ul { grid-template-columns: repeat(2, 1fr); }
  .capability-bar li { min-height: 66px; justify-content: flex-start; padding-inline: 14px; text-align: left; }
  .capability-bar li:nth-child(3n) { border-right: 1px solid #edf1f5; }
  .capability-bar li:nth-child(2n) { border-right: 0; }
  .capability-bar li:nth-child(4) { border-right: 0; }
  .capability-bar li:nth-child(-n+4) { border-bottom: 1px solid #edf1f5; }
  .section h2, .resource-section h2, .final-cta h2 { font-size: 28px; line-height: 1.4; text-align: left; word-break: normal; overflow-wrap: normal; }
  .mobile-line-break { display: block; }
  .section-heading-center { text-align: left; }
  .section-heading-center .eyebrow { justify-content: flex-start; }
  .problems .narrow > h2, .problems .narrow > .section-lead { text-align: left; margin-inline: 0; }
  .problems .eyebrow, .workflow .eyebrow, .pricing .eyebrow, .trust-section .eyebrow { justify-content: flex-start; }
  .workflow, .pricing, .trust-section { text-align: left; }
  .pricing .section-lead.centered { margin-inline: 0; text-align: left; }
  .section-lead { font-size: 16px; }
  .value-grid { margin-top: 36px; }
  .value-grid article { padding: 24px; }
  .value-grid svg { margin: 22px 0 16px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid article { padding: 24px; }
  .outcome-list article { grid-template-columns: 44px 1fr; }
  .workflow-steps { grid-template-columns: 1fr; margin-inline: 0; padding-inline: 0; }
  .center-actions .button { width: 100%; }
  .product-band { gap: 34px; padding: 34px 0 54px; }
  .product-copy h3 { font-size: 29px; }
  .mobile-screens { grid-template-columns: 1fr; gap: 18px; padding: 22px 14px; }
  .mobile-screen-device { width: min(100%, 280px); }
  .mobile-screen-device:last-child { transform: none; }
  .action-list li { grid-template-columns: 108px 1fr; font-size: 14px; }
  .feature-list article { grid-template-columns: 48px 1fr; gap: 14px; }
  .feature-list > article > svg { width: 26px; height: 26px; padding: 8px; }
  .dashboard-grid { gap: 42px; }
  .ai-dayflow { grid-template-columns: 1fr 1fr; }
  .ai-dayflow article { min-height: 150px; }
  .ai-safety { grid-template-columns: 38px 1fr; padding: 20px; }
  .ai-functions { padding: 20px 16px; }
  .usecase-grid { grid-template-columns: 1fr; }
  .usecase-grid a { min-height: 220px; padding: 26px; }
  .migration-actions { display: grid; }
  .migration-actions .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .resource-links { grid-template-columns: 1fr; }
  .resource-links a { min-height: 66px; }
  .footer-main { display: grid; }
  .footer-main nav { justify-content: flex-start; gap: 8px 20px; }
  .footer-bottom { display: grid; }
  .final-cta { padding-block: 80px 96px; }
  .final-cta h2 { text-align: center; }

  /* Mobile-first LP composition: use dedicated assets and shorter scan paths. */
  .container, .hero .container { width: min(calc(100% - 40px), var(--container)); }
  .section { padding-block: 60px; }
  .eyebrow { gap: 10px; margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
  .eyebrow span { width: 28px; }
  .section h2, .resource-section h2, .final-cta h2 {
    font-size: clamp(27px, 7.2vw, 30px);
    line-height: 1.42;
    letter-spacing: -.025em;
    text-wrap: pretty;
  }
  .section-lead { margin-top: 18px; font-size: 15.5px; line-height: 1.85; }
  .body-line { display: inline; }

  .hero-media {
    background: url('/assets/lp-dark-city-network-1440.webp') center top / cover no-repeat;
  }
  .hero-media img { display: none; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(7,21,47,.58) 0%, rgba(7,21,47,.74) 58%, rgba(7,21,47,.9) 100%);
  }
  .hero-grid { padding-block: 38px 36px; }
  .hero-copy .eyebrow { max-width: 100%; margin-bottom: 14px; font-size: 12px; line-height: 1.55; }
  .hero h1 { font-size: clamp(24px, 6.45vw, 27px); line-height: 1.42; letter-spacing: -.025em; }
  .hero h1 span { white-space: nowrap; }
  .hero-lead { margin-top: 18px; font-size: 15px; line-height: 1.8; text-wrap: pretty; }
  .hero-lead > span { display: block; }
  .hero-lead > span + span { margin-top: 2px; }
  .hero-actions { gap: 12px; margin-top: 26px; }
  .hero-actions .button { min-height: 52px; }
  .trust-inline { gap: 10px 14px; margin-top: 20px; font-size: 11.5px; }
  .hero-mobile-preview {
    position: relative;
    display: block;
    aspect-ratio: 1.4 / 1;
    margin-top: 24px;
    overflow: hidden;
    background: #eaf0f7;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 18px;
    box-shadow: 0 20px 46px rgba(0,0,0,.3);
  }
  .hero-mobile-preview img { width: 100%; height: 100%; object-fit: cover; }

  .capability-bar .container { width: 100%; }
  .capability-bar li { min-height: 62px; gap: 8px; padding: 12px 16px; font-size: 12px; }
  .capability-bar svg { width: 18px; height: 18px; }

  .value-grid { gap: 12px; margin-top: 30px; }
  .value-grid article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    padding: 20px;
    border-radius: 16px;
  }
  .value-grid article > span { align-self: center; }
  .value-grid svg { justify-self: end; width: 26px; height: 26px; margin: 0; }
  .value-grid h3, .value-grid p { grid-column: 1 / -1; }
  .value-grid h3 { margin-top: 14px; font-size: 20px; line-height: 1.45; }
  .value-grid p { margin-top: 7px; font-size: 14.5px; line-height: 1.75; }

  .workflow h2 { font-size: clamp(26px, 7vw, 30px); }
  .workflow h2 .title-line { display: block; }
  .workflow-steps { margin-top: 30px; }
  .workflow-steps article {
    grid-template-columns: 38px 30px minmax(0, 1fr);
    gap: 2px 12px;
    padding: 14px 0;
  }
  .workflow-steps article > span { width: 38px; height: 38px; border-width: 4px; }
  .workflow-steps article > svg { width: 24px; height: 24px; }
  .workflow-steps h3 { font-size: 16.5px; }
  .workflow-steps p { font-size: 13.5px; }
  .center-actions { margin-top: 30px; }

  .product-tour > .container > h2 { margin-bottom: 28px; }
  .product-band { gap: 24px; padding: 28px 0 46px; }
  .product-image-wide { aspect-ratio: 1.4 / 1; border-radius: 16px; }
  .product-image-wide picture, .product-image-wide img { width: 100%; height: 100%; }
  .product-image-wide img { object-fit: cover; }
  .product-browser-bar { display: none; }
  .product-browser-shell { border-radius: 16px; box-shadow: 0 20px 48px rgba(15,23,42,.13); }
  .product-description { margin-top: 16px; font-size: 14.5px; line-height: 1.8; }
  .product-screen-facts { gap: 8px; margin-top: 10px; }
  .product-screen-facts li { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 10px; border-radius: 10px; }
  .product-screen-facts svg { width: 18px; height: 18px; }
  .product-screen-facts strong { font-size: 12px; }
  .product-screen-facts small { font-size: 10.5px; }
  .product-copy h3 { font-size: clamp(25px, 6.8vw, 28px); line-height: 1.48; }
  .check-list { gap: 11px; margin-top: 22px; font-size: 14.5px; }
  .product-band-reverse .product-copy { order: 1; }
  .product-band-reverse .mobile-screens-wrap { order: 2; min-width: 0; }
  .mobile-screens {
    display: flex;
    gap: 12px;
    max-width: none;
    padding: 16px;
    overflow-x: auto;
    background: var(--surface);
    border-radius: 18px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .mobile-screens::-webkit-scrollbar { display: none; }
  .mobile-screen-device {
    flex: 0 0 min(72vw, 280px);
    width: min(72vw, 280px);
    scroll-snap-align: center;
  }
  .mobile-screen-device:last-child { transform: none; }
  .mobile-screens:focus-visible { outline-color: var(--blue); }
  .mobile-screens-hint { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px 0 0; color: var(--muted); font-size: 12px; }
  .mobile-screens-hint svg { width: 16px; height: 16px; }
  .action-list { margin-top: 22px; }
  .action-list li { grid-template-columns: 94px 1fr; gap: 12px; padding: 14px 0; font-size: 13.5px; }

  .feature-list { margin-top: 34px; }
  .feature-list article { padding: 20px 0; }
  .feature-list h3 { font-size: 18px; }
  .feature-list p { font-size: 14px; }

  .dashboard-grid { gap: 28px; }
  .metric-list { margin-top: 24px; }
  .metric-list li { padding: 14px 0; }
  .dashboard-image { width: min(100%, 340px); margin-inline: auto; border-radius: 16px; }
  .dashboard-image picture, .dashboard-image img { width: 100%; height: auto; }

  .ai-grid { gap: 22px; }
  .ai-main h2 { font-size: clamp(25px, 6.4vw, 27px); }
  .ai-lead { margin-top: 18px; font-size: 15px; line-height: 1.8; }
  .ai-dayflow { gap: 10px; margin-top: 28px; }
  .ai-dayflow article { min-height: 132px; padding: 16px; }
  .ai-dayflow svg { width: 24px; height: 24px; margin: 13px 0 8px; }
  .ai-dayflow h3 { font-size: 15.5px; white-space: nowrap; }
  .ai-dayflow p { font-size: 12.5px; line-height: 1.6; }
  .ai-functions { max-width: none; padding: 20px 16px; border-radius: 18px; }
  .ai-functions li { padding: 13px 12px; }
  .ai-functions li span { font-size: 12.5px; }
  .ai-safety { grid-template-columns: 34px 1fr; gap: 12px; padding: 18px; }
  .ai-safety > svg { width: 28px; height: 28px; }
  .ai-safety h3 { font-size: 16px; }
  .ai-safety p { font-size: 13.5px; line-height: 1.75; }

  .usecase-grid { gap: 12px; margin-top: 34px; }
  .usecase-grid a { min-height: 0; padding: 22px; }
  .usecase-grid h3 { margin: 16px 0 8px; font-size: 21px; }
  .usecase-grid p { font-size: 14.5px; }
  .usecase-grid strong { padding-top: 18px; font-size: 14px; }

  .migration-grid { gap: 34px; }
  .migration-options { gap: 10px; }
  .migration-options article { grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; }
  .migration-options svg { width: 24px; height: 24px; padding: 8px; }
  .migration-options h3 { font-size: 18px; }
  .migration-options p { font-size: 14px; }

  .pricing-grid { gap: 16px; margin-top: 36px; }
  .pricing-group-heading { margin-top: 38px; }
  .pricing-group-heading-team { margin-top: 48px; padding-top: 38px; }
  .pricing-group-heading + .pricing-grid { margin-top: 18px; }
  .price-card { padding: 26px 22px; border-radius: 16px; }
  .price-head h3 strong { font-size: 42px; }
  .price-head p { min-height: 0; margin-top: 10px; }
  .price-card ul { gap: 11px; margin: 20px 0 24px; padding-top: 18px; }
  .pricing-note { line-height: 1.75; text-align: left; }

  .trust-grid { gap: 12px; margin-top: 34px; }
  .trust-grid article { padding: 22px; }
  .trust-grid h3 { margin-top: 16px; }

  .faq-container { gap: 30px; }
  .faq-heading p:last-child { overflow-wrap: normal; }
  .faq-list summary { min-height: 64px; gap: 12px; padding: 17px 0; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
  .faq-list summary svg { width: 20px; height: 20px; }
  .faq-list details p { padding: 0 28px 20px 0; font-size: 15px; line-height: 1.8; }
  .resource-section { padding-block: 60px; }
  .final-cta { padding-block: 72px 84px; }
}

@media (max-width: 640px) {
  /* Smartphone-only art direction. Desktop rules remain untouched. */
  :root { --header-h: 60px; }
  .desktop-copy { display: none !important; }
  .mobile-copy { display: block !important; }
  .container, .hero .container { width: min(calc(100% - 40px), var(--container)); }
  .site-header { min-height: 60px; }
  .header-inner { min-height: 60px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 19px; }
  .header-actions .button-small, .header-actions .desktop-only { display: none; }
  .menu-button { width: 42px; height: 42px; border-color: #d8e0e9; border-radius: 13px; }
  .mobile-menu { padding: 8px 20px 18px; box-shadow: 0 20px 40px rgba(15,23,42,.12); }

  .hero { min-height: auto; align-items: start; background: var(--navy); }
  .hero-media { background: #07152f url('/assets/hero-moonlight-city-mobile-20260726-q78.jpg') center top / cover no-repeat; }
  .hero-media img { display: none; }
  .hero-scrim { background: linear-gradient(180deg, rgba(3,12,28,.2) 0%, rgba(4,15,35,.44) 54%, rgba(5,18,41,.76) 100%), linear-gradient(90deg, rgba(3,12,28,.2) 0%, rgba(4,16,38,.1) 62%, rgba(4,16,38,.02) 100%); }
  .hero-grid { padding: 30px 0 24px; }
  .hero-copy .eyebrow { gap: 9px; margin-bottom: 16px; color: #7ee2a8; font-size: 12.5px; line-height: 1.5; letter-spacing: .035em; }
  .hero-copy .eyebrow > span:first-child { width: 26px; }
  .hero-copy .eyebrow .mobile-copy { width: auto; height: auto; background: none; }
  .hero h1 { max-width: 360px; margin: 0 auto; color: #fff; font-size: clamp(31px, 8.2vw, 33px); line-height: 1.34; letter-spacing: -.04em; text-align: center; text-wrap: balance; }
  .hero h1 .mobile-copy > span { display: block; white-space: normal; }
  .hero h1 .mobile-copy > span:last-child { color: #fff; }
  .hero h1 .mobile-copy > span:last-child::first-letter { color: inherit; }
  .hero-lead { max-width: 356px; margin: 24px auto 0; color: #f0f5fb; font-size: 15.5px; line-height: 1.9; font-weight: 700; letter-spacing: -.015em; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.24); }
  .hero-actions { display: none; }
  .hero-actions .button-primary { width: 100%; min-height: 54px; font-size: 16px; box-shadow: 0 16px 34px rgba(22,167,90,.26); }
  .hero-secondary, .hero .trust-inline { display: none !important; }
  .mobile-hero-reassurance { display: flex !important; align-items: center; justify-content: center; gap: 7px; margin: 13px 0 0; color: #d5e2ef; font-size: 12.5px; font-weight: 700; }
  .mobile-hero-reassurance svg { width: 17px; height: 17px; color: #74e0a0; }
  .hero-mobile-preview {
    display: block;
    width: calc(100% + 40px);
    aspect-ratio: auto;
    margin: 18px -20px -24px;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    isolation: isolate;
  }
  .hero-mobile-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(5,18,41,.2) 0%, transparent 24%, transparent 72%, rgba(5,18,41,.98) 100%);
  }
  .hero-mobile-preview img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 82%, transparent 100%);
  }
  .phone-composite {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 2;
  }
  :is(.hero-mobile-preview, .product-real-device) .phone-composite-screen,
  :is(.hero-mobile-preview, .product-real-device) .phone-composite-frame {
    position: absolute;
    display: block;
  }
  :is(.hero-mobile-preview, .product-real-device) .phone-composite-screen {
    z-index: 1;
    left: 10.16%;
    top: 5.89%;
    width: 78.87%;
    height: 87.82%;
    object-fit: cover;
    object-position: center;
    border-radius: 9.5% / 4.7%;
  }
  :is(.hero-mobile-preview, .product-real-device) .phone-composite-frame {
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  .capability-bar { display: none; }

  .section { padding-block: 64px; }
  .section h2, .resource-section h2, .final-cta h2 { font-size: clamp(26px, 7.1vw, 29px); line-height: 1.42; letter-spacing: -.03em; text-align: left; }
  .section-lead { margin-top: 16px; font-size: 15.5px; line-height: 1.85; }
  .eyebrow { margin-bottom: 14px; font-size: 12.5px; letter-spacing: .045em; }

  .problems { padding-top: 54px; background: #fbfdfc; }
  .problem-panel { width: min(calc(100% - 40px), var(--container)); padding: 0; background: none; border: 0; border-radius: 0; }
  .problem-label { width: auto; justify-content: flex-start; margin-bottom: 18px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-size: 12.5px; text-align: left; }
  .problem-label svg { width: 18px; height: 18px; }
  .problem-title-accent { display: inline; }
  .problems .section-lead { margin-inline: 0; text-align: left; white-space: normal; }
  .problem-grid { gap: 0; margin-top: 30px; border-top: 1px solid #dce5df; }
  .problem-grid article { min-height: 0; display: grid; grid-template-columns: 46px minmax(0,1fr); grid-template-rows: auto auto; gap: 4px 14px; align-items: center; padding: 20px 0; background: transparent; border: 0; border-bottom: 1px solid #dce5df; border-radius: 0; box-shadow: none; text-align: left; }
  .problem-icon { grid-column: 1; grid-row: 1 / span 2; width: 46px; height: 46px; margin: 0; }
  .problem-icon svg { width: 22px; height: 22px; }
  .problem-grid h3 { grid-column: 2; margin: 0; font-size: 17px; line-height: 1.45; }
  .problem-grid h3 br, .problem-grid p br { display: none; }
  .problem-grid p .mobile-copy br { display: block; }
  .problem-rule { display: none; }
  .problem-grid p { grid-column: 2; margin: 0; font-size: 13.5px; line-height: 1.65; }

  .value-section { background: #f2f6f4; }
  .value-section .section-heading-center { text-align: left; }
  .value-grid { gap: 0; margin-top: 28px; border-top: 1px solid #d7e0dc; }
  .value-grid article { min-height: 0; display: grid; grid-template-columns: 34px minmax(0,1fr) 28px; gap: 4px 10px; padding: 18px 0; background: transparent; border: 0; border-bottom: 1px solid #d7e0dc; border-radius: 0; }
  .value-grid article > span { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 4px; font-size: 12px; }
  .value-grid svg { grid-column: 3; grid-row: 1; width: 23px; height: 23px; margin: 0; }
  .value-grid h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 18px; }
  .value-grid p { grid-column: 2 / 4; grid-row: 2; margin: 5px 0 0; font-size: 14px; line-height: 1.75; }

  .workflow { padding-block: 64px 58px; background: #fff; }
  .workflow-steps { margin-top: 28px; }
  .workflow-steps::before { display: block; left: 18px; top: 20px; bottom: 20px; right: auto; width: 2px; height: auto; background: #d7e3dc; }
  .workflow-steps::after {
    left: 18px;
    top: 20px;
    bottom: 20px;
    right: auto;
    width: 2px;
    height: auto;
    display: block;
    background: linear-gradient(180deg, var(--green) 0%, var(--blue) 72%, var(--violet) 100%);
    transform: scaleY(var(--workflow-progress, 0));
    transform-origin: top center;
    transition: none;
  }
  .workflow-steps article { grid-template-columns: 38px 30px minmax(0,1fr); gap: 2px 11px; padding: 14px 0; border-bottom: 0; }
  .workflow-steps article > span { width: 38px; height: 38px; border: 4px solid #fff; }
  .workflow-steps article > svg { width: 23px; height: 23px; }
  .workflow-steps h3 { font-size: 16.5px; }
  .workflow-steps p { font-size: 13px; }
  .center-actions { align-items: stretch; margin-top: 28px; text-align: center; }
  .center-actions .button { min-height: 52px; }

  .product-tour { padding-top: 30px; background: #f5f7fa; }
  .mobile-entry-cta {
    margin: 0 0 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d7e2ed;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(15, 38, 68, .13);
  }
  .mobile-entry-body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    min-height: 104px;
    overflow: hidden;
    background: #f8fbff;
  }
  .mobile-entry-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 15px 0 14px 18px;
  }
  .mobile-entry-copy small {
    display: block;
    margin-bottom: 6px;
    color: #2770b8;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .12em;
  }
  .mobile-entry-copy strong {
    display: block;
    color: #092f5b;
    font-size: 16.5px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -.02em;
    text-align: left;
  }
  .mobile-entry-visual {
    position: relative;
    min-width: 0;
    margin: 0;
  }
  .mobile-entry-visual img {
    position: absolute;
    top: 7px;
    right: 13px;
    width: 70px;
    height: 116px;
    object-fit: cover;
    object-position: center top;
    border: 4px solid #fff;
    border-radius: 9px;
    box-shadow: 0 12px 28px rgba(10, 47, 91, .22);
    transform: rotate(5deg);
  }
  .mobile-entry-cta a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 9px 18px;
    color: #fff;
    background: #0756a3;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    isolation: isolate;
    overflow: hidden;
  }
  .mobile-entry-cta a::before {
    content: none;
  }
  .mobile-entry-cta a svg {
    width: 18px;
    height: 18px;
    animation: none;
    transition: transform .2s ease;
  }
  .mobile-entry-cta a:active svg { transform: translateX(3px); }

  @media (prefers-reduced-motion: reduce) {
    .mobile-entry-cta a::before,
    .mobile-entry-cta a svg { animation: none; }
  }
  .product-tour > .container > h2 { margin-bottom: 26px; }
  .product-band { display: flex; flex-direction: column; gap: 22px; padding: 26px 0 44px; }
  .product-tour .product-band:not(.product-band-reverse) .product-screen-facts,
  .product-tour .product-band:not(.product-band-reverse) > .product-copy {
    display: none !important;
  }
  .product-tour .product-band:not(.product-band-reverse) {
    gap: 0;
    padding-bottom: 8px;
  }
  .product-band .product-copy { order: 1; }
  .product-band .product-visual, .product-band .mobile-screens-wrap { order: 2; }
  .product-band:not(.product-band-reverse) .product-visual { order: 1; }
  .product-band:not(.product-band-reverse) .product-copy { order: 2; }
  .product-real-device {
    position: relative;
    width: min(70vw, 258px);
    margin-inline: auto;
    filter: drop-shadow(0 28px 42px rgba(15,23,42,.22));
  }
  .product-image-wide {
    position: relative;
    width: min(calc(100vw - 52px), 310px);
    margin-inline: auto;
    padding: 0 7px 7px;
    aspect-ratio: auto;
    overflow: hidden;
    background: linear-gradient(145deg, #171b24 0%, #05070b 58%, #171b24 100%);
    border: 1px solid #343a45;
    border-radius: 44px;
    box-shadow: 0 24px 54px rgba(15,23,42,.22), inset 0 0 0 1px rgba(255,255,255,.06);
  }
  .product-image-wide picture { display: block; overflow: hidden; background: #fff; border-radius: 0 0 37px 37px; }
  .product-image-wide picture, .product-image-wide img { width: 100%; height: auto; }
  .product-image-wide img { object-fit: contain; object-position: center; border-radius: 0 0 37px 37px; }
  .iphone-notch {
    position: relative;
    top: auto;
    left: auto;
    z-index: 4;
    width: 34%;
    min-width: 70px;
    max-width: 96px;
    height: 20px;
    display: block !important;
    margin: 6px auto 5px;
    background: #000;
    border-radius: 999px;
    transform: none;
    pointer-events: none;
  }
  .iphone-notch::before {
    content: "";
    position: absolute;
    inset: 3px auto 3px 8px;
    width: 45%;
    background: #090b0f;
    border-radius: 999px;
    transform: none;
  }
  .iphone-notch::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 8px;
    width: 7px;
    height: 7px;
    background: #101b2b;
    border: 1px solid #263950;
    border-radius: 50%;
  }
  .product-description { margin-top: 13px; font-size: 14.5px; }
  .product-screen-facts { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .product-screen-facts::-webkit-scrollbar { display: none; }
  .product-screen-facts li { flex: 0 0 68%; min-height: 68px; scroll-snap-align: start; }
  .check-list { display: none; }
  .mobile-screens { padding: 14px 12px; background: #f2f6f4; }
  .mobile-screen-device { flex-basis: 76vw; width: 76vw; }
  .action-list li { grid-template-columns: 86px 1fr; }

  .features-detail { background: #f4f7f5; }
  .feature-list { margin-top: 28px; }
  .feature-list article { grid-template-columns: 42px minmax(0,1fr); gap: 12px; padding: 17px 0; }
  .feature-list > article > svg { width: 22px; height: 22px; padding: 7px; border-radius: 11px; }
  .feature-list h3 { font-size: 17px; }
  .feature-list p { font-size: 13.5px; }

  .dashboard-section { padding-block: 64px; }
  .dashboard-grid { gap: 28px; }
  .dashboard-copy h2 { font-size: 28px; }
  .metric-list { margin-top: 24px; }
  .metric-list li { padding: 14px 0; }
  .dashboard-image {
    position: relative;
    width: min(78vw, 280px);
    margin-inline: auto;
    padding: 0 7px 7px;
    overflow: hidden;
    background: linear-gradient(145deg, #171b24 0%, #05070b 58%, #171b24 100%);
    border: 1px solid #343a45;
    border-radius: 44px;
    box-shadow: 0 22px 48px rgba(15,23,42,.2);
  }
  .dashboard-mobile-label { display: none; }
  .dashboard-image picture { overflow: hidden; background: #fff; border-radius: 0 0 37px 37px; }
  .dashboard-image img { display: block; width: 100%; height: auto; border-radius: 0 0 37px 37px; }

  .ai-section { padding-block: 68px; }
  .ai-grid, .ai-main, .ai-functions, .ai-safety { min-width: 0; }
  .ai-main h2 { font-size: 28px; }
  .ai-lead { width: 100%; max-width: 100%; font-size: 15px; overflow-wrap: normal; }
  .ai-dayflow { display: flex; gap: 10px; margin-top: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ai-dayflow::-webkit-scrollbar { display: none; }
  .ai-dayflow article { flex: 0 0 68%; min-height: 148px; scroll-snap-align: start; }
  .ai-functions { padding: 20px 16px; }
  .ai-functions li:nth-child(n+4) { display: none; }
  .ai-functions-header strong { font-size: 21px; }
  .ai-safety { margin-top: 0; }

  .usecases { overflow: hidden; }
  .usecase-grid { display: flex; gap: 12px; margin-right: -20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .usecase-grid::-webkit-scrollbar { display: none; }
  .usecase-grid a { flex: 0 0 82%; min-height: 250px; scroll-snap-align: start; }

  .migration-grid { gap: 30px; }
  .migration-options article { background: #f5f8f6; }
  .pricing-grid { gap: 14px; }
  .price-card { min-height: 0; padding: 24px 20px; }
  .price-head h3 strong { font-size: 40px; }
  .trust-grid article { padding: 20px; }
  .faq-list summary { font-size: 15.5px; }
  .resource-links { gap: 8px; }
  .final-cta { padding-block: 76px 112px; }
  .final-cta h2 { text-align: center; }
  .site-footer { padding-bottom: 28px; }

  /* Mobile precision pass: intentional Japanese line lengths and complete screen previews. */
  .hero h1,
  .section h2,
  .resource-section h2,
  .final-cta h2,
  .workflow h2,
  .dashboard-copy h2,
  .ai-main h2 {
    font-size: clamp(22px, 6.3vw, 25px);
    line-height: 1.4;
    letter-spacing: -.025em;
    line-break: strict;
    word-break: normal;
    overflow-wrap: normal;
    text-wrap: pretty;
  }
  .hero h1 .mobile-heading-lines > span,
  .section h2 .title-line,
  .section h2 .mobile-heading-lines > span,
  .resource-section h2 .title-line,
  .final-cta h2 .title-line {
    display: block;
    white-space: nowrap;
  }
  .hero h1 .mobile-heading-lines > span { white-space: nowrap; }
  .hero-lead,
  .section-lead,
  .product-description,
  .value-grid p,
  .problem-grid p,
  .feature-list p,
  .ai-lead,
  .ai-safety p,
  .migration-options p,
  .pricing-note,
  .faq-heading p,
  .faq-list details p {
    line-break: strict;
    word-break: normal;
    overflow-wrap: normal;
    text-wrap: pretty;
  }
  .mobile-line-break { display: none; }
  .hero-lead { max-width: none; font-size: 15px; line-height: 1.75; }
  .section-lead { font-size: 15px; line-height: 1.8; }
  .product-copy h3 { font-size: clamp(21px, 6vw, 24px); line-height: 1.42; }
  .product-copy h3 .title-line { display: block; white-space: nowrap; }
  .problem-grid p, .feature-list p { font-size: 14px; }
  .workflow-steps p { font-size: 13.5px; }
  .product-screen-facts small { font-size: 12px; }
  .ai-dayflow p, .ai-functions li span { font-size: 13.5px; }
  .ai-lead { overflow-wrap: normal; }
  .faq-heading p:last-child { overflow-wrap: normal; }

  .product-band { align-items: stretch; }
  .product-band-reverse .mobile-screens-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .mobile-screen-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px;
    background: #e8eeeb;
    border-radius: 14px;
  }
  .mobile-screen-tabs button {
    min-height: 44px;
    padding: 8px 12px;
    color: #526174;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }
  .mobile-screen-tabs button[aria-pressed="true"] {
    color: var(--green-dark);
    background: #fff;
    box-shadow: 0 3px 12px rgba(15,23,42,.09);
  }
  .mobile-screen-tabs button:focus-visible { outline: 3px solid rgba(37,99,235,.32); outline-offset: 2px; }
  .mobile-screens {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 12px;
    padding: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
  }
  .mobile-screen-device {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    user-select: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .mobile-screen-device img { width: 100%; max-width: 100%; height: auto; border-radius: 0 0 31px 31px; box-shadow: none; }
  .mobile-screens-hint { margin-top: 10px; font-size: 12.5px; }
}

/* Mobile type system: one readable hierarchy across the full landing page. */
@media (max-width: 640px) {
  :root {
    --mobile-type-display: clamp(22px, 6.3vw, 25px);
    --mobile-type-subhead: clamp(21px, 5.8vw, 24px);
    --mobile-type-card-title: 17px;
    --mobile-type-body: 16px;
    --mobile-type-body-small: 14.5px;
    --mobile-type-meta: 13px;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", system-ui, sans-serif;
    font-size: var(--mobile-type-body);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
  }

  .hero h1,
  .section h2,
  .resource-section h2,
  .final-cta h2,
  .workflow h2,
  .dashboard-copy h2,
  .ai-main h2 {
    font-size: var(--mobile-type-display);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.015em;
  }

  .hero h1 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, .34);
  }

  .product-copy h3 {
    font-size: var(--mobile-type-subhead);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -.012em;
  }

  .hero-lead,
  .section-lead,
  .product-description,
  .ai-lead,
  .final-cta p:not(.eyebrow) {
    font-size: var(--mobile-type-body);
    font-weight: 400;
    line-height: 1.78;
    letter-spacing: 0;
  }

  .hero-lead {
    color: #e4edf7;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
  }

  .eyebrow,
  .problem-label,
  .section-kicker {
    font-size: var(--mobile-type-meta);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .035em;
  }

  .problem-grid h3,
  .value-grid h3,
  .workflow-steps h3,
  .feature-list h3,
  .metric-list strong,
  .ai-dayflow h3,
  .ai-safety h3,
  .usecase-grid h3,
  .migration-options h3,
  .trust-grid h3 {
    font-size: var(--mobile-type-card-title);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.005em;
  }

  .problem-grid p,
  .value-grid p,
  .workflow-steps p,
  .product-description,
  .feature-list p,
  .ai-dayflow p,
  .ai-safety p,
  .usecase-grid p,
  .migration-options p,
  .trust-grid p,
  .price-head p,
  .price-card li,
  .pricing-note,
  .faq-list details p,
  .faq-heading p:last-child,
  .action-list p {
    font-size: var(--mobile-type-body-small);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
  }

  .product-description,
  .faq-heading p:last-child {
    font-size: var(--mobile-type-body);
  }

  .value-grid article > span,
  .workflow-steps article > span,
  .metric-list span,
  .ai-dayflow span,
  .ai-functions-header span,
  .ai-limit,
  .usecase-grid a > span,
  .center-actions span,
  .pricing-note,
  .dashboard-mobile-label,
  .mobile-screens-hint {
    font-size: var(--mobile-type-meta);
    font-weight: 700;
    line-height: 1.55;
  }

  .hero-preview-head span,
  .hero-preview-head small,
  .hero-preview-copy > p,
  .hero-preview-copy li,
  .product-screen-facts small,
  .ai-functions li span,
  .ai-functions-header small,
  .mobile-hero-reassurance {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .hero-preview-head span,
  .hero-preview-copy > p,
  .mobile-hero-reassurance {
    font-weight: 700;
  }

  .hero-preview-copy > strong {
    font-size: clamp(16px, 4.8vw, 18px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.01em;
  }

  .product-screen-facts strong,
  .action-list li > span,
  .ai-functions li strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
  }

  .ai-functions-header strong {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
  }

  .faq-list summary {
    min-height: 64px;
    font-size: var(--mobile-type-body);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .resource-links a,
  .arrow-link,
  .legal-links a,
  .footer-main nav a {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.55;
  }

  .button,
  .mobile-screen-tabs button {
    min-height: 52px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .price-head > span {
    font-size: 16px;
    font-weight: 700;
  }

  .price-head h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
  }

  .price-head h3 strong {
    font-size: 40px;
    font-weight: 700;
  }

  .price-head h3 small {
    font-size: var(--mobile-type-meta);
    line-height: 1.5;
  }

  .footer-main > div > p,
  .footer-bottom {
    font-size: var(--mobile-type-meta);
    line-height: 1.65;
  }

  .mobile-copy-break { display: block; }
  .problem-grid p,
  .value-grid p,
  .feature-list p,
  .usecase-grid p,
  .migration-options p,
  .trust-grid p,
  .faq-list details p {
    font-size: 15px;
    line-height: 1.75;
  }
}

@media (max-width: 640px) {
  .motion-ready .workflow-steps.has-motion.is-scroll-progress article > span {
    background: #94a3b8 !important;
    box-shadow: none !important;
  }
  .motion-ready .workflow-steps.has-motion.is-scroll-progress article.is-complete > span {
    background: var(--green-dark) !important;
    box-shadow: 0 0 0 5px rgba(22,167,90,.1) !important;
  }
  .motion-ready .workflow-steps.has-motion.is-scroll-progress article:last-child.is-complete > span {
    background: var(--violet) !important;
    box-shadow: 0 0 0 5px rgba(109,40,217,.1) !important;
  }
}

@media (max-width: 374px) {
  :root {
    --mobile-type-display: clamp(20px, 6.35vw, 22px);
    --mobile-type-subhead: clamp(20px, 6.2vw, 22px);
  }

  .container,
  .hero .container,
  .problem-panel {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { min-width: 0; }
  .hero h1 .mobile-heading-lines > span,
  .section h2 .mobile-heading-lines > span { white-space: normal; }

  .hero h1,
  .section h2,
  .resource-section h2,
  .final-cta h2,
  .workflow h2,
  .dashboard-copy h2,
  .ai-main h2 {
    letter-spacing: -.02em;
  }

  .hero-preview-stage {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 10px;
    padding-inline: 11px;
  }

  .hero-preview-copy > strong { font-size: 15.5px; }
  .hero-preview-copy li { gap: 5px; font-size: 11.5px; }
  .product-image-wide { width: min(calc(100vw - 42px), 292px); }

  .hero h1 {
    font-size: clamp(31px, 8.2vw, 33px);
    font-weight: 900;
    line-height: 1.34;
    letter-spacing: -.04em;
  }

  .hero .hero-lead {
    max-width: 356px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.9;
    letter-spacing: -.015em;
  }
}

@supports (word-break: auto-phrase) {
  @media (max-width: 640px) {
    .hero-lead,
    .section-lead,
    .product-description,
    .value-grid p,
    .problem-grid p,
    .feature-list p,
    .ai-lead,
    .ai-safety p,
    .migration-options p,
    .pricing-note,
    .faq-heading p,
    .faq-list summary,
    .faq-list details p { word-break: auto-phrase; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
