
:root{
  --blue:#0B2F6B;
  --blue-2:#123F86;
  --navy:#071D42;
  --yellow:#F6C72F;
  --yellow-soft:#FFF3BF;
  --ink:#14213D;
  --muted:#64748B;
  --bg:#F7FAFC;
  --white:#FFFFFF;
  --line:#E2E8F0;
  --danger:#B42318;
  --good:#0B6B43;
  --shadow:0 18px 45px rgba(11,47,107,.12);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.75;
  letter-spacing:.02em;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1120px,calc(100% - 40px));margin:0 auto}
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.91);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(226,232,240,.78);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px;gap:22px}
.logo{display:flex;align-items:center;gap:10px;font-weight:950;font-size:24px;color:var(--blue);letter-spacing:.04em;white-space:nowrap}
.logo-mark{width:32px;height:32px;border-radius:11px;background:var(--blue);position:relative;box-shadow:0 8px 18px rgba(11,47,107,.18)}
.logo-mark:after{content:"";position:absolute;right:5px;top:7px;width:11px;height:18px;background:var(--yellow);border-radius:8px 8px 8px 2px}
.nav-links{display:flex;align-items:center;gap:20px;font-size:14px;font-weight:950;color:#22314A;white-space:nowrap}
.nav-links a{position:relative}
.nav-links a:not(.nav-cta):after{
  content:"";position:absolute;left:0;right:0;bottom:-8px;height:3px;background:var(--yellow);
  border-radius:999px;transform:scaleX(0);transform-origin:center;transition:.18s ease
}
.nav-links a:not(.nav-cta):hover{color:var(--blue)}
.nav-links a:not(.nav-cta):hover:after{transform:scaleX(1)}
.nav-cta{padding:12px 18px;background:var(--blue);color:white!important;border-radius:999px;box-shadow:0 10px 22px rgba(11,47,107,.22);font-weight:950}
.mobile-note{display:none}

.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(246,199,47,.32), transparent 34%),
    radial-gradient(circle at 15% 20%, rgba(11,47,107,.08), transparent 26%),
    linear-gradient(180deg,#F8FBFF 0%,#FFFFFF 72%);
}
.hero .container{display:grid;grid-template-columns:1.02fr .98fr;gap:54px;align-items:center;padding:88px 0 76px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 13px;border:1px solid #DCE8F7;border-radius:999px;
  background:white;color:var(--blue);font-weight:900;font-size:13px;
}
.badge-dot{width:9px;height:9px;border-radius:99px;background:var(--yellow)}
h1,h2,h3{line-height:1.25;margin:0;color:var(--blue)}
h1{font-size:clamp(38px,6vw,72px);letter-spacing:-.055em;margin-top:20px}
h1 .highlight{position:relative;white-space:nowrap}
h1 .highlight:after{
  content:"";position:absolute;left:1%;right:1%;bottom:.07em;height:.28em;
  background:var(--yellow);z-index:-1;border-radius:999px
}
.lead{font-size:clamp(17px,2vw,21px);color:#334155;margin:24px 0 0;font-weight:700}
.sublead{font-size:15px;color:var(--muted);font-weight:700;margin-top:16px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 20px;border-radius:999px;font-weight:950;border:1px solid transparent;
  transition:.18s ease;cursor:pointer;text-align:center
}
.btn-primary{background:var(--blue);color:white;box-shadow:0 14px 30px rgba(11,47,107,.22)}
.btn-primary:hover{transform:translateY(-2px);background:var(--blue-2)}
.btn-secondary{background:white;color:var(--blue);border-color:#CBD5E1}
.btn-secondary:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.trust-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.trust{font-size:12px;font-weight:900;padding:7px 10px;border-radius:999px;background:#EDF4FF;color:var(--blue)}
.trust.yellow{background:#FFF3BF;color:#6B4B00}
.hero-card{
  background:white;border:1px solid #E5EDF7;border-radius:32px;padding:24px;
  box-shadow:var(--shadow);position:relative
}
.mock-window{border-radius:24px;background:#F8FAFC;border:1px solid #E2E8F0;overflow:hidden}
.mock-top{height:44px;background:white;border-bottom:1px solid #E2E8F0;display:flex;align-items:center;padding:0 16px;gap:7px}
.dot{width:10px;height:10px;border-radius:99px;background:#CBD5E1}
.mock-body{padding:24px;display:grid;gap:14px}
.status-card{background:white;border:1px solid #E2E8F0;border-radius:18px;padding:16px}
.status-title{font-weight:950;color:var(--blue);font-size:15px}
.status-large{font-size:30px;font-weight:950;color:var(--ink);line-height:1.25}
.status-muted{font-size:13px;color:var(--muted);font-weight:700}
.call-card{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:center;background:var(--blue);color:white;border-radius:18px;padding:16px}
.avatar{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#FFFFFF,#DDEBFF)}
.call-card strong{display:block;font-size:16px}
.call-card span{font-size:13px;opacity:.82}
.pill-row{display:flex;gap:10px;flex-wrap:wrap}
.pill{font-size:12px;font-weight:950;padding:7px 10px;border-radius:999px;background:#EDF4FF;color:var(--blue)}
.pill.yellow{background:#FFF3BF;color:#6B4B00}

.section{padding:84px 0}
.section.alt{background:var(--bg)}
.section.dark{background:var(--navy);color:white}
.section.dark h2,.section.dark h3{color:white}
.section.dark p{color:rgba(255,255,255,.78)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:36px}
.kicker{font-size:13px;color:var(--blue);font-weight:950;letter-spacing:.12em;margin-bottom:10px}
.section.dark .kicker{color:var(--yellow)}
h2{font-size:clamp(28px,4vw,46px);letter-spacing:-.035em}
.section-head p,.section-intro{color:var(--muted);font-weight:700;margin:14px 0 0;max-width:760px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.card{
  background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;
  box-shadow:0 8px 24px rgba(15,23,42,.04)
}
.section.dark .card{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15)}
.card h3{font-size:21px;margin-bottom:10px}
.card p{margin:0;color:#475569;font-weight:700}
.section.dark .card p{color:rgba(255,255,255,.74)}
.icon{
  width:44px;height:44px;border-radius:16px;background:#EDF4FF;color:var(--blue);
  display:flex;align-items:center;justify-content:center;font-weight:950;margin-bottom:16px
}
.section.dark .icon{background:rgba(246,199,47,.18);color:var(--yellow)}
.problem-list{display:grid;gap:12px}
.problem-item{display:flex;gap:12px;align-items:flex-start;background:white;border:1px solid var(--line);padding:16px;border-radius:18px;font-weight:800}
.check{flex:0 0 auto;width:24px;height:24px;border-radius:999px;background:var(--yellow);display:grid;place-items:center;color:var(--blue);font-weight:950}
.metric{background:white;border:1px solid var(--line);border-radius:22px;padding:22px}
.metric-number{font-size:32px;font-weight:950;color:var(--blue);line-height:1.1}
.metric-label{font-size:13px;color:var(--muted);font-weight:800;margin-top:6px}
.compare{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:white}
.compare th,.compare td{padding:18px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-weight:750}
.compare th{background:#F8FAFC;color:var(--blue);font-weight:950}
.compare tr:last-child td{border-bottom:0}
.before{color:#7A271A}
.after{color:#064E3B}
.flow{display:grid;gap:14px;counter-reset:step}
.flow-item{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;background:white;border:1px solid var(--line);border-radius:20px;padding:18px}
.flow-item:before{
  counter-increment:step;content:counter(step);
  width:34px;height:34px;border-radius:12px;background:var(--blue);color:white;font-weight:950;display:grid;place-items:center
}
.flow-item h3{font-size:18px;margin:0 0 4px}
.flow-item p{margin:0;color:var(--muted);font-weight:700}
.cta-band{
  background:linear-gradient(135deg,var(--blue),#09234F);
  color:white;border-radius:34px;padding:44px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;
  overflow:hidden;position:relative
}
.cta-band:after{content:"";position:absolute;right:-80px;top:-90px;width:260px;height:260px;background:rgba(246,199,47,.22);border-radius:999px}
.cta-band h2{color:white}
.cta-band p{color:rgba(255,255,255,.82);font-weight:700;margin:12px 0 0}
.cta-band .btn{background:var(--yellow);color:var(--blue);position:relative;z-index:1}
.page-hero{background:linear-gradient(180deg,#F8FBFF,#FFFFFF);padding:72px 0 52px;border-bottom:1px solid #EEF2F7}
.page-hero h1{font-size:clamp(34px,5vw,58px)}
.page-hero p{max-width:800px}
.faq{display:grid;gap:14px}
.faq details{background:white;border:1px solid var(--line);border-radius:18px;padding:18px 20px}
.faq summary{font-weight:950;color:var(--blue);cursor:pointer}
.faq p{margin:10px 0 0;color:#475569;font-weight:700}
.form-card{background:white;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
label{font-size:13px;font-weight:950;color:#334155}
input,textarea,select{
  width:100%;margin-top:6px;border:1px solid #CBD5E1;border-radius:14px;padding:13px 14px;font:inherit;background:white
}
textarea{min-height:140px;resize:vertical}
.full{grid-column:1/-1}
.google-frame{
  width:100%;min-height:780px;border:1px solid var(--line);border-radius:22px;background:#fff;
}
.notice{background:#FFF8D6;border:1px solid #F8E08E;border-radius:18px;padding:16px;color:#5C4700;font-weight:800}
.legal-doc h2{margin-top:36px;font-size:28px}
.legal-doc h3{margin-top:24px;font-size:20px}
.legal-doc p,.legal-doc li{font-weight:650;color:#334155}
.legal-doc .placeholder{background:#FFF8D6;border:1px dashed #D9A400;padding:2px 6px;border-radius:8px;font-weight:900;color:#5C4700}
.table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:white}
.table th,.table td{padding:16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.table th{background:#F8FAFC;color:var(--blue)}
.table tr:last-child td{border-bottom:0}
.footer{background:#071D42;color:white;padding:48px 0 32px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.footer p{color:rgba(255,255,255,.72);margin:12px 0 0}
.footer-links{display:grid;gap:8px;justify-items:end}
.footer-links a{color:rgba(255,255,255,.82);font-weight:800}
.small{font-size:12px;color:var(--muted)}
.footer .small{color:rgba(255,255,255,.58)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px;display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between}
.footer-bottom a{font-size:12px;color:rgba(255,255,255,.68);font-weight:800}
@media (max-width:980px){
  .nav-links{display:none}
  .mobile-note{display:block;font-size:12px;font-weight:900;color:var(--blue)}
  .hero .container{grid-template-columns:1fr;padding:56px 0}
  .grid-4,.grid-3,.grid-2,.footer-grid,.cta-band{grid-template-columns:1fr}
  .section-head{display:block}
  .form-grid{grid-template-columns:1fr}
  .cta-band{padding:30px}
  .footer-links{justify-items:start}
  .compare{font-size:14px}
}

.sales-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:22px;align-items:stretch}
.sales-main{
  background:linear-gradient(135deg,#FFFFFF,#F8FBFF);
  border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow)
}
.sales-main h3{font-size:28px;color:var(--blue);margin-bottom:12px}
.sales-main p{font-weight:750;color:#334155;margin:0 0 18px}
.sales-points{display:grid;gap:12px;margin-top:18px}
.sales-point{
  display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start;
  background:#F8FAFC;border:1px solid #E2E8F0;border-radius:18px;padding:14px
}
.sales-point strong{display:block;color:var(--blue);font-weight:950;margin-bottom:2px}
.sales-point span{font-size:14px;color:#475569;font-weight:700}
.sales-num{width:34px;height:34px;border-radius:12px;background:var(--yellow);color:var(--blue);font-weight:950;display:grid;place-items:center}
.risk-card{
  background:#071D42;color:white;border-radius:28px;padding:30px;position:relative;overflow:hidden
}
.risk-card:after{content:"";position:absolute;right:-48px;top:-48px;width:160px;height:160px;border-radius:999px;background:rgba(246,199,47,.2)}
.risk-card h3{color:white;font-size:26px;margin-bottom:14px}
.risk-card p{color:rgba(255,255,255,.78);font-weight:750;margin:0 0 18px}
.risk-list{display:grid;gap:12px;position:relative;z-index:1}
.risk-list div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:13px;font-weight:850}
.mini-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
@media (max-width:980px){.sales-grid{grid-template-columns:1fr}}


/* =========================================================
   v7 mobile UI improvements
   PC layout is intentionally unchanged.
   These overrides apply only to smartphone/tablet widths.
   ========================================================= */

@media (max-width: 980px) {
  body {
    line-height: 1.68;
    letter-spacing: .01em;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .header {
    position: sticky;
    top: 0;
  }

  .nav {
    height: auto;
    min-height: 0;
    padding: 12px 0 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .logo {
    font-size: 21px;
    width: 100%;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .mobile-note {
    display: none;
  }

  .nav-links {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    margin: 0 -2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    padding: 10px 12px;
    border-radius: 999px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #22314A;
    white-space: nowrap;
  }

  .nav-links a:not(.nav-cta):after {
    display: none;
  }

  .nav-links a.nav-cta {
    padding: 10px 14px;
    background: var(--blue);
    color: #fff !important;
    box-shadow: none;
  }

  .hero .container {
    padding: 34px 0 42px;
    gap: 28px;
  }

  .badge {
    font-size: 11px;
    padding: 7px 10px;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.18;
    letter-spacing: -.045em;
    margin-top: 16px;
  }

  h2 {
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.28;
    letter-spacing: -.025em;
  }

  h3 {
    line-height: 1.32;
  }

  .lead {
    font-size: 16px;
    line-height: 1.75;
    margin-top: 18px;
  }

  .sublead {
    font-size: 13px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }

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

  .trust-row {
    margin-top: 16px;
    gap: 8px;
  }

  .trust,
  .pill {
    font-size: 11px;
    padding: 7px 9px;
  }

  .hero-card {
    border-radius: 24px;
    padding: 14px;
  }

  .mock-window {
    border-radius: 20px;
  }

  .mock-top {
    height: 36px;
  }

  .mock-body {
    padding: 16px;
    gap: 12px;
  }

  .status-card {
    padding: 14px;
    border-radius: 16px;
  }

  .status-title {
    font-size: 13px;
  }

  .status-large {
    font-size: 24px;
  }

  .status-muted {
    font-size: 12px;
    line-height: 1.55;
  }

  .call-card {
    grid-template-columns: 44px 1fr;
    padding: 14px;
    border-radius: 16px;
  }

  .avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .call-card strong {
    font-size: 14px;
  }

  .call-card span {
    font-size: 12px;
    line-height: 1.55;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p,
  .section-intro {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 12px;
  }

  .kicker {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    gap: 14px;
  }

  .card {
    padding: 18px;
    border-radius: 18px;
  }

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

  .card p {
    font-size: 14px;
    line-height: 1.75;
  }

  .icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    margin-bottom: 12px;
    font-size: 13px;
  }

  .problem-list {
    gap: 10px;
  }

  .problem-item {
    padding: 13px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.55;
  }

  .check {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .metric {
    padding: 18px;
    border-radius: 18px;
  }

  .metric-number {
    font-size: 26px;
  }

  .metric-label {
    font-size: 12px;
  }

  .sales-grid {
    gap: 16px;
  }

  .sales-main,
  .risk-card {
    padding: 20px;
    border-radius: 22px;
  }

  .sales-main h3,
  .risk-card h3 {
    font-size: 22px;
  }

  .sales-main p,
  .risk-card p {
    font-size: 14px;
    line-height: 1.75;
  }

  .sales-points {
    gap: 10px;
  }

  .sales-point {
    grid-template-columns: 30px 1fr;
    padding: 12px;
    border-radius: 15px;
  }

  .sales-num {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    font-size: 13px;
  }

  .sales-point strong {
    font-size: 14px;
  }

  .sales-point span {
    font-size: 12px;
    line-height: 1.65;
  }

  .risk-list {
    gap: 10px;
  }

  .risk-list div {
    font-size: 13px;
    line-height: 1.6;
    padding: 12px;
  }

  .mini-cta-row {
    gap: 10px;
  }

  .flow {
    gap: 10px;
  }

  .flow-item {
    grid-template-columns: 30px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .flow-item:before {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    font-size: 13px;
  }

  .flow-item h3 {
    font-size: 15px;
  }

  .flow-item p {
    font-size: 13px;
    line-height: 1.65;
  }

  .compare,
  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
  }

  .compare th,
  .compare td,
  .table th,
  .table td {
    padding: 13px;
    font-size: 13px;
    line-height: 1.65;
  }

  .page-hero {
    padding: 42px 0 34px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .page-hero p {
    max-width: 100%;
  }

  .cta-band {
    padding: 24px;
    border-radius: 24px;
    gap: 18px;
  }

  .cta-band h2 {
    font-size: 25px;
  }

  .cta-band p {
    font-size: 14px;
    line-height: 1.75;
  }

  .cta-band .btn {
    width: 100%;
  }

  .faq details {
    padding: 15px 16px;
    border-radius: 16px;
  }

  .faq summary {
    font-size: 14px;
    line-height: 1.6;
  }

  .faq p {
    font-size: 13px;
    line-height: 1.75;
  }

  .form-card {
    padding: 18px;
    border-radius: 22px;
  }

  input,
  textarea,
  select {
    padding: 13px;
    border-radius: 12px;
    font-size: 16px;
  }

  label {
    font-size: 12px;
  }

  textarea {
    min-height: 130px;
  }

  .footer {
    padding: 38px 0 28px;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-bottom {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  .nav {
    padding-top: 10px;
  }

  .nav-links a {
    font-size: 11px;
    padding: 9px 10px;
  }

  h1 {
    font-size: clamp(30px, 11vw, 40px);
  }

  h2 {
    font-size: clamp(24px, 8vw, 31px);
  }

  .lead {
    font-size: 15px;
  }

  .section {
    padding: 46px 0;
  }

  .card,
  .sales-main,
  .risk-card,
  .form-card {
    padding: 16px;
  }

  .hero-card {
    margin-left: -2px;
    margin-right: -2px;
  }
}


/* =========================================================
   v8 mobile cutoff fix
   PC layout is intentionally unchanged.
   Prevents horizontal overflow / right-side clipping on phones.
   ========================================================= */

@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    position: relative;
  }

  main,
  section,
  .hero,
  .section,
  .section.alt,
  .section.dark,
  .page-hero,
  .footer {
    max-width: 100%;
    overflow-x: clip;
  }

  .container {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    margin-left: auto;
    margin-right: auto;
  }

  /* Header nav can scroll horizontally, but must not widen the page */
  .header {
    max-width: 100%;
    overflow-x: clip;
  }

  .nav {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .nav-links {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
  }

  .nav-links a {
    max-width: 78vw;
  }

  .nav-links a.nav-cta {
    max-width: 84vw;
  }

  /* Grid/card children must be allowed to shrink */
  .hero .container,
  .grid-4,
  .grid-3,
  .grid-2,
  .sales-grid,
  .footer-grid,
  .cta-band,
  .call-card,
  .flow-item,
  .sales-point {
    min-width: 0;
    max-width: 100%;
  }

  .hero .container > *,
  .grid-4 > *,
  .grid-3 > *,
  .grid-2 > *,
  .sales-grid > *,
  .footer-grid > *,
  .cta-band > *,
  .call-card > *,
  .flow-item > *,
  .sales-point > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero-card,
  .mock-window,
  .mock-body,
  .status-card,
  .call-card,
  .card,
  .sales-main,
  .risk-card,
  .form-card,
  .cta-band,
  .problem-item,
  .flow-item,
  .metric,
  .notice {
    width: 100%;
    max-width: 100%;
  }

  /* Japanese headings: force safer wrapping on mobile */
  h1,
  h2,
  h3,
  .lead,
  .sublead,
  .section-head p,
  .section-intro,
  .card p,
  .status-large,
  .status-muted,
  .call-card strong,
  .call-card span,
  .sales-main p,
  .risk-card p,
  .problem-item,
  .flow-item p,
  .faq summary,
  .faq p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* Avoid huge cropped headings on iPhone */
  h1 {
    max-width: 100%;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(24px, 6.8vw, 32px);
  }

  .section-head h2 {
    font-size: clamp(24px, 6.6vw, 32px);
  }

  /* Mock UI in hero was the main source of width overflow */
  .hero-card {
    margin-left: 0;
    margin-right: 0;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .call-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .call-card div:last-child {
    min-width: 0;
  }

  .pill-row,
  .trust-row {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pill-row::-webkit-scrollbar,
  .trust-row::-webkit-scrollbar {
    display: none;
  }

  .pill,
  .trust {
    flex: 0 0 auto;
  }

  /* Tables should scroll inside themselves, not widen the page */
  .compare,
  .table {
    max-width: 100%;
    overflow-x: auto;
  }

  .compare tbody,
  .compare thead,
  .compare tr,
  .table tbody,
  .table thead,
  .table tr {
    max-width: 100%;
  }

  /* Forms */
  input,
  textarea,
  select,
  button {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .hero .container {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-card {
    margin-left: 0;
    margin-right: 0;
    padding: 12px;
  }

  .mock-body {
    padding: 14px;
  }

  h1 {
    font-size: clamp(30px, 10vw, 38px);
  }

  h2,
  .section-head h2 {
    font-size: clamp(23px, 6.8vw, 30px);
  }
}
