:root {
    --ink: #183153;
    --ink-soft: #425775;
    --blue: #1268ef;
    --blue-dark: #0756ce;
    --cyan: #29cbc5;
    --yellow: #ffd95a;
    --coral: #ff7b62;
    --green: #27b77a;
    --cream: #fff9e8;
    --sky: #edf7ff;
    --mint: #e8faf3;
    --paper: #ffffff;
    --line: #dce6f0;
    --soft-line: #edf2f7;
    --max: 1160px;
    --pad: clamp(20px, 4vw, 40px);
    --font: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.aig {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .015em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.aig img { display: block; max-width: 100%; }
.aig a { color: inherit; text-decoration: none; }
.aig button, .aig input, .aig select, .aig textarea { font: inherit; }
.aig h1, .aig h2, .aig h3, .aig p, .aig ul, .aig ol { margin-top: 0; }
.aig [id] { scroll-margin-top: 92px; }
.aig ::selection { color: var(--ink); background: rgba(255, 217, 90, .8); }
.aig :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.shell {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 50%;
    z-index: 1000;
    transform: translateX(-50%);
    padding: 12px 20px;
    color: #fff !important;
    background: var(--ink);
    border-radius: 0 0 12px 12px;
    font-weight: 800;
}

.skip-link:focus { top: 0; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .93);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.site-header[data-stuck] {
    border-bottom-color: var(--soft-line);
    box-shadow: 0 8px 30px rgba(24, 49, 83, .06);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    margin: 0;
}

.brand-service {
    position: relative;
    z-index: 0;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .005em;
    white-space: nowrap;
}

/* 見出しと同じマーカーの意匠でサービス名を主役にする */
.brand-service::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -.05em;
    right: -.05em;
    bottom: .04em;
    height: .3em;
    background: var(--yellow);
    border-radius: 2px;
}

.brand-by {
    display: flex;
    align-items: center;
    gap: 7px;
}

.brand-by > span {
    color: var(--ink-soft);
    font: 700 11px/1 'Inter', sans-serif;
    letter-spacing: .04em;
}

.brand-by img { width: 84px; height: auto; }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 800;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 2px;
    background: var(--blue);
    transition: right .2s ease;
}

.desktop-nav a:hover::after { right: 0; }

/* Shared */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 14px 25px;
    color: #fff !important;
    background: var(--blue);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 6px 0 #0648ad;
    font-weight: 900;
    line-height: 1.4;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover {
    background: var(--blue-dark);
    transform: translateY(2px);
    box-shadow: 0 4px 0 #043b90;
}

.button--small {
    min-height: 44px;
    padding: 10px 18px;
    box-shadow: 0 4px 0 #0648ad;
    font-size: 13px;
}

.button--large { min-height: 60px; padding: 16px 28px; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 2px solid currentColor;
    color: var(--blue) !important;
    font-weight: 900;
    line-height: 1.4;
}

.text-link::after { content: '→'; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.text-link--dark { color: var(--ink) !important; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}

.eyebrow > span {
    width: 24px;
    height: 6px;
    border-radius: 20px;
    background: var(--yellow);
    transform: rotate(-6deg);
}

.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #bfe1ff; }
.eyebrow--light > span { background: var(--yellow); }

.section { padding: clamp(82px, 10vw, 132px) 0; }

.section-heading {
    max-width: 760px;
    margin: 0 auto clamp(44px, 6vw, 72px);
    text-align: center;
}

.section-heading--left { margin-left: 0; text-align: left; }

.section-heading h2,
.reason-copy h2,
.contact-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.42;
    letter-spacing: -.035em;
}

.section-heading h2 em,
.reason-copy h2 em {
    position: relative;
    z-index: 0;
    color: inherit;
    font-style: normal;
    white-space: nowrap;
}

.section-heading h2 em::after,
.reason-copy h2 em::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -.08em;
    right: -.08em;
    bottom: .08em;
    height: .34em;
    background: var(--yellow);
    border-radius: 60% 40% 50% 40%;
    transform: rotate(-1deg);
}

.section-heading > p:last-child {
    max-width: 610px;
    margin-bottom: 0;
    color: var(--ink-soft);
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(58px, 7vw, 92px) 0 clamp(24px, 3vw, 44px);
    background: var(--cream);
    border-bottom: 1px solid #f2e9cc;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    left: -150px;
    top: 40px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: .14;
}

.hero-dots {
    position: absolute;
    width: 190px;
    height: 150px;
    top: 75px;
    right: 0;
    opacity: .22;
    background-image: radial-gradient(var(--blue) 2px, transparent 2px);
    background-size: 18px 18px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}

.hero-copy { padding-bottom: 70px; }

.hero-copy h1 {
    margin: 0 0 26px;
    font-size: clamp(40px, 5.4vw, 67px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.05em;
}

.hero-copy h1 em {
    position: relative;
    z-index: 0;
    color: var(--blue);
    font-style: normal;
    white-space: nowrap;
}

.hero-copy h1 em::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -.05em;
    right: -.06em;
    bottom: .04em;
    height: .24em;
    background: var(--yellow);
    border-radius: 50%;
    transform: rotate(-2deg);
}

.hero-lead {
    max-width: 600px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: clamp(16px, 1.7vw, 19px);
    font-weight: 600;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
}

.aig .hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: clamp(30px, 3vw, 38px) 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 800;
}

.hero-notes li::before { content: '✓'; margin-right: 7px; color: var(--green); font-weight: 900; }

.hero-visual {
    align-self: end;
    max-width: 560px;
    justify-self: center;
}

.hero-visual img { width: 100%; height: auto; }

/* Problems */
.problem { background: #fff; }

.problem-board {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    max-width: 970px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--sky);
    border: 2px solid var(--ink);
    border-radius: 24px;
    box-shadow: 9px 10px 0 #cbe9ff;
}

.problem-person {
    position: relative;
    border-right: 2px solid var(--ink);
    overflow: hidden;
}

.problem-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.problem-list {
    display: grid;
    gap: 0;
    align-content: center;
    margin: 0;
    padding: 34px clamp(24px, 5vw, 56px);
    list-style: none;
}

.problem-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 19px 0; border-bottom: 1px dashed #b9cfe1; }
.problem-list li:last-child { border-bottom: 0; }
.problem-list span { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: var(--coral); border-radius: 50%; font: 900 12px/1 'Inter', sans-serif; }
.problem-list p { margin: 0; font-size: clamp(14px, 1.6vw, 17px); font-weight: 800; line-height: 1.65; }

.aig .problem-answer { margin: clamp(44px, 4.5vw, 62px) auto 0; font-size: clamp(18px, 2.2vw, 24px); text-align: center; }
.problem-answer strong { color: var(--blue); background: linear-gradient(transparent 65%, var(--yellow) 65%); }

/* Deliverables */
.deliverables { background: var(--sky); }

.deliverable-showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
.deliverable-showcase article { background: #fff; border: 2px solid var(--ink); border-radius: 20px; }

.deliverable-main { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 28px 32px; box-shadow: 8px 9px 0 #c4e6ff; }
.deliverable-main > div:last-child { padding-right: 4px; }
.deliverable-showcase h3 { margin-bottom: 10px; font-size: 21px; font-weight: 900; }
.deliverable-showcase article p:last-child { margin: 0; color: var(--ink-soft); font-size: 14px; }
.item-number { margin-bottom: 8px !important; color: var(--blue) !important; font: 900 11px/1.4 'Inter', sans-serif !important; letter-spacing: .13em; }

.doc-preview {
    width: 100%;
    height: auto;
}

.deliverable-side { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.deliverable-side article { display: flex; flex-direction: column; padding: 22px 22px 24px; box-shadow: 7px 8px 0 #c4e6ff; }
.mini-output {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Support */
.support { background: #fff; }
.support-flow { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; gap: 12px; align-items: start; }
.support-flow article { min-width: 0; }
.support-flow h3 { margin-bottom: 9px; font-size: 21px; font-weight: 900; }
.support-flow article > p:last-child { margin: 0; color: var(--ink-soft); font-size: 14px; }
.flow-arrow { padding-top: clamp(56px, calc((min(1080px, 100vw - 80px) - 144px) / 3 * .3733 - 15px), 102px); color: var(--blue); font: 900 29px/1 'Inter', sans-serif; text-align: center; }

.support-illustration {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    border: 2px solid var(--ink);
    border-radius: 20px;
}

/* Effect — 費用対効果シミュレーター */
.effect { background: var(--sky); }

.sim {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(26px, 3.4vw, 40px);
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 20px;
    box-shadow: 9px 10px 0 #c4e6ff;
}

.sim-scenario {
    margin-bottom: clamp(26px, 3vw, 34px);
    padding-bottom: clamp(24px, 3vw, 32px);
    border-bottom: 1px dashed #b9cfe1;
}

.aig .sim-scenario-label {
    margin: 0 0 14px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.sim-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.sim-presets button {
    display: grid;
    gap: 5px;
    padding: 13px 15px;
    color: var(--ink);
    text-align: left;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.sim-presets button small { color: var(--ink-soft); font: 700 11px/1.5 'Inter', var(--font); letter-spacing: .01em; }
.sim-presets button:hover { border-color: var(--blue); }

.sim-presets button[aria-pressed="true"] {
    color: #fff;
    background: var(--blue);
    border-color: var(--ink);
}

.sim-presets button[aria-pressed="true"] small { color: #d7e8ff; }

.sim-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 52px); }

.sim-controls { display: grid; align-content: start; gap: clamp(20px, 2.4vw, 28px); }
.sim-controls label { display: grid; gap: 12px; }

.sim-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.sim-label strong {
    flex: none;
    color: var(--blue);
    font: 900 17px/1.2 'Inter', var(--font);
    font-variant-numeric: tabular-nums;
}

.sim input[type="range"] {
    width: 100%;
    height: 8px;
    margin: 0;
    background: #dbe9f6;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.sim input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    background: var(--blue);
    border: 2px solid var(--ink);
    border-radius: 50%;
    -webkit-appearance: none;
    appearance: none;
    cursor: grab;
}

.sim input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--blue);
    border: 2px solid var(--ink);
    border-radius: 50%;
    cursor: grab;
}

.sim-results { display: grid; align-content: center; gap: 4px; }

.sim-row { padding: clamp(14px, 1.8vw, 18px) 0; border-top: 1px dashed #b9cfe1; }
.sim-row:first-child { border-top: 0; padding-top: 0; }
.sim-row > p:first-child { margin: 0 0 6px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }

.sim-value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font: 900 clamp(28px, 3.4vw, 40px)/1.15 'Inter', var(--font);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

.sim-value small { font: 800 12px/1.4 var(--font); color: var(--ink-soft); letter-spacing: 0; }
.sim-row--lead .sim-value { color: var(--blue); }

.aig .sim-note {
    max-width: 780px;
    margin: clamp(24px, 3vw, 32px) 0 0;
    padding-top: clamp(18px, 2vw, 24px);
    border-top: 1px solid var(--soft-line);
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.8;
}

/* Voice — 導入企業の声 */
.voice { background: var(--cream); }

.voice-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.voice-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(22px, 2.4vw, 28px);
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 20px;
    box-shadow: 7px 8px 0 var(--yellow);
}

.voice-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.voice-n { padding: 4px 9px; color: #fff; background: var(--ink); border-radius: 5px; font: 900 10px/1.4 'Inter', sans-serif; letter-spacing: .1em; }
.voice-meta > span:last-child { color: var(--ink-soft); font-size: 11px; font-weight: 800; }

.aig .voice-headline { margin: 0 0 14px; font-size: 18px; font-weight: 900; line-height: 1.6; }

.voice-card blockquote {
    flex: 1;
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.95;
}

.voice-card figcaption { padding-top: 15px; border-top: 1px solid var(--soft-line); color: var(--ink-soft); font-size: 12px; font-weight: 800; }

/* Reason */
.reason { color: #fff; background: var(--ink); }
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 100px); align-items: center; }
.reason-copy > p:not(.eyebrow) { max-width: 580px; color: #c8d4e2; }
.reason-copy h2 em::after {
    background: var(--cyan);
    border-radius: 2px;
    opacity: .85;
    transform: none;
}
.reason-copy .text-link { margin-top: 20px; color: #fff !important; }
.reason-points { display: grid; gap: 14px; }
.reason-points article { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; padding: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; }
.reason-icon { display: grid; width: 58px; height: 58px; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-size: 15px; font-weight: 900; }
.reason-points article:nth-child(2) .reason-icon { background: var(--cyan); }
.reason-points article:nth-child(3) .reason-icon { background: var(--coral); }
.reason-points h3 { margin: 0 0 4px; font-size: 17px; font-weight: 900; }
.reason-points p { margin: 0; color: #c8d4e2; font-size: 13px; }

.aig .reason-creds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 40px;
    margin: clamp(46px, 5vw, 66px) auto 0;
    padding-top: clamp(28px, 3vw, 38px);
    border-top: 1px solid rgba(255, 255, 255, .16);
    list-style: none;
}

.reason-creds li { display: flex; align-items: baseline; gap: 14px; }
.reason-creds strong { flex: none; color: var(--yellow); font: 900 14px/1.6 'Inter', var(--font); letter-spacing: .04em; }
.reason-creds span { color: #c8d4e2; font-size: 13px; font-weight: 700; line-height: 1.6; }

/* Timeline */
.flow { background: var(--cream); }
.flow-header { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 52px; }
.flow-header .section-heading { margin-bottom: 0; }
.flow-header > p { margin: 0 0 11px; color: var(--ink-soft); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; counter-reset: flow; list-style: none; border: 2px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 8px 9px 0 var(--yellow); overflow: hidden; }
.timeline li { position: relative; min-height: 245px; padding: 28px 24px; border-right: 1px dashed #b9c7d5; }
.timeline li:last-child { border-right: 0; }
.timeline li:not(:last-child)::after { content: '›'; position: absolute; z-index: 2; top: 50%; right: -12px; display: grid; width: 23px; height: 34px; place-items: center; color: var(--blue); background: #fff; font: 900 26px/1 'Inter', sans-serif; transform: translateY(-50%); }
.timeline-num { display: grid; width: 44px; height: 44px; margin-bottom: 38px; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font: 900 12px/1 'Inter', sans-serif; }
.timeline strong { display: block; margin-bottom: 9px; font-size: 17px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.timeline small { position: absolute; left: 24px; bottom: 22px; color: var(--blue); font-size: 11px; font-weight: 900; }

/* FAQ */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 100px); align-items: start; }
.faq-grid .section-heading { position: sticky; top: 115px; margin-bottom: 0; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 38px 1fr 24px; gap: 14px; align-items: center; padding: 25px 4px; list-style: none; font-weight: 900; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font: 900 14px/1 'Inter', sans-serif; }
.faq-list summary::after { content: '+'; color: var(--blue); font: 700 25px/1 'Inter', sans-serif; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { margin: -4px 36px 25px 56px; color: var(--ink-soft); font-size: 14px; }

/* Contact */
.contact { position: relative; padding: clamp(78px, 9vw, 118px) 0; color: #fff; background: var(--blue); overflow: hidden; }
.contact-shape { position: absolute; border-radius: 50%; opacity: .22; }
.contact-shape--one { width: 430px; height: 430px; top: -250px; left: -100px; background: var(--cyan); }
.contact-shape--two { width: 320px; height: 320px; right: -120px; bottom: -180px; background: var(--yellow); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 100px); align-items: start; }
.contact-copy h2 { font-size: clamp(31px, 4vw, 48px); }
.contact-copy > p:not(.eyebrow) { color: #d7e9ff; }
.contact-copy ul { margin: 35px 0 0; padding: 0; list-style: none; }
.contact-copy li { margin: 12px 0; font-weight: 800; }
.contact-copy li span { display: inline-grid; width: 25px; height: 25px; margin-right: 10px; place-items: center; color: var(--blue); background: var(--yellow); border-radius: 50%; font-size: 12px; }

.contact-form { display: grid; gap: 17px; padding: clamp(26px, 4vw, 42px); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 20px; box-shadow: 10px 11px 0 #074eb7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: block; font-size: 13px; font-weight: 900; }
.contact-form label b { display: inline-block; margin-left: 6px; padding: 1px 6px; color: #fff; background: var(--coral); border-radius: 3px; font-size: 9px; vertical-align: 2px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; color: var(--ink); background: #f8fbfe; border: 1px solid #bacbdd; border-radius: 8px; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 104, 239, .14); }
.button--submit { width: 100%; margin-top: 5px; background: var(--ink); box-shadow: 0 6px 0 #091b32; }
.button--submit:hover { background: #0c2546; box-shadow: 0 4px 0 #061426; }
.form-note { margin: 0; color: #71829a; font-size: 10px; text-align: center; }

/* Footer */
.footer { padding: 44px 0 96px; background: #fff; }
.footer-inner { display: grid; grid-template-columns: 170px 1fr auto; gap: 30px; align-items: center; }
.footer-brand img { width: 160px; }
.footer-inner > p { margin: 0; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.footer-inner > div { display: flex; align-items: center; gap: 22px; color: var(--ink-soft); font-size: 11px; }
.footer-inner > div a { font-weight: 800; }
.footer-inner > div a:hover { color: var(--blue); }

.mobile-cta { display: none; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1); }
    [data-reveal][data-on] { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
    .desktop-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr 410px; gap: 20px; }
    .hero-visual { max-width: 470px; }
    .deliverable-showcase { grid-template-columns: 1fr; }
    .deliverable-main { grid-template-columns: 310px 1fr; }
    .support-flow { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    .voice-list { gap: 18px; }
    .support-flow .flow-arrow { display: none; }
    .flow-header { grid-template-columns: 1fr; gap: 10px; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .timeline li:nth-child(2) { border-right: 0; }
    .timeline li:nth-child(-n+2) { border-bottom: 1px dashed #b9c7d5; }
    .timeline li:nth-child(2)::after { display: none; }
}

@media (max-width: 780px) {
    body.aig { font-size: 15px; }
    .header-inner { min-height: 66px; }
    .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
    .brand-service { font-size: 16px; }
    .brand-by { padding-left: 0; border-left: 0; gap: 5px; }
    .brand-by > span { font-size: 10px; }
    .brand-by img { width: 72px; }
    .reason-creds { grid-template-columns: 1fr; gap: 12px; }
    .header-inner > .button { margin-left: auto; }
    .button--small { min-height: 40px; padding: 9px 13px; font-size: 12px; }

    .hero { padding-top: 45px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-bottom: 15px; }
    .hero-copy h1 { font-size: clamp(36px, 11vw, 52px); }
    .hero-lead { font-size: 16px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 28px; }
    .sim-body { grid-template-columns: 1fr; }
    .sim-presets { grid-template-columns: 1fr; }
    .voice-list { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .hero-visual { max-width: 440px; margin: 0 auto; }

    .section { padding: 82px 0; }
    .section-heading { margin-bottom: 42px; }
    .section-heading h2, .reason-copy h2, .contact-copy h2 { font-size: clamp(29px, 8.5vw, 39px); }

    .problem-board { grid-template-columns: 1fr; }
    .problem-person { aspect-ratio: 1 / 1; border-right: 0; border-bottom: 2px solid var(--ink); }
    .problem-list { padding: 20px 24px; }

    .deliverable-main { grid-template-columns: 1fr; }
    .doc-preview { max-width: 320px; margin: 0 auto; }
    .deliverable-side { grid-template-columns: 1fr 1fr; }

    .support-flow { grid-template-columns: 1fr; gap: 45px; }
    .support-flow article { max-width: 470px; margin: 0 auto; }

    .reason-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
    .faq-grid .section-heading { position: static; }
    .reason-grid { gap: 48px; }

    .timeline { grid-template-columns: 1fr; }
    .timeline li { min-height: 180px; padding-left: 82px; border-right: 0; border-bottom: 1px dashed #b9c7d5 !important; }
    .timeline li:last-child { border-bottom: 0 !important; }
    .timeline li::after { display: none !important; }
    .timeline-num { position: absolute; left: 22px; top: 27px; }
    .timeline small { left: 82px; }

    .footer-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .footer-brand img { margin: 0 auto; }
    .footer-inner > div { flex-wrap: wrap; justify-content: center; }

    .mobile-cta {
        position: fixed;
        z-index: 45;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .95);
        border-top: 1px solid var(--line);
        backdrop-filter: blur(12px);
        transition: transform .25s ease;
    }
    .mobile-cta[data-hide] { transform: translateY(110%); }
    .mobile-cta .button { width: 100%; min-height: 48px; box-shadow: 0 4px 0 #0648ad; }
}

@media (max-width: 520px) {
    :root { --pad: 18px; }
    .header-inner > .button { padding: 8px 11px; }
    .hero-copy h1 { letter-spacing: -.06em; }
    .hero-copy h1 em { white-space: normal; }
    .hero-visual { max-width: 380px; margin: 0 auto; }
    .section-heading h2 em, .reason-copy h2 em { white-space: normal; }
    .problem-list li { grid-template-columns: 39px 1fr; gap: 12px; }
    .problem-list span { width: 36px; height: 36px; }
    .problem-answer { text-align: left; }
    .deliverable-main, .deliverable-side article { padding: 20px; }
    .deliverable-side { grid-template-columns: 1fr; }
    .reason-points article { grid-template-columns: 52px 1fr; padding: 18px 15px; }
    .reason-icon { width: 48px; height: 48px; }
    .faq-list summary { grid-template-columns: 34px 1fr 18px; gap: 10px; font-size: 14px; }
    .faq-list details > p { margin-left: 44px; margin-right: 4px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 22px 17px; }
}

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