:root {
  --navy: #12344c;
  --navy-deep: #0f2c42;
  --navy-line: rgba(255, 255, 255, 0.16);
  --green: #68e09e;
  --green-tint: #e3f8ec;
  --green-ink: #19734a;
  --ink: #12344c;
  --text: #3f4f5e;
  --muted: #5b6b7a;
  --paper: #ffffff;
  --mist: #f3f6f8;
  --chrome: #e8edf2;
  --line: #dbe3ea;
  --on-navy: #dbe5ec;
  --error: #b42318;
  --alert: #c8281c;
  --alert-dark: #912018;
  --alert-tint: #fef3f2;
  --alert-line: #f9a6a0;
  --error-bg: #fef3f2;
  --ok: #1a6b3f;
  --ok-bg: #ecfbf2;
  --radius: 18px;
  --shadow: 0 24px 48px rgba(6, 22, 36, 0.28);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--green-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 2px solid transparent; border-radius: 12px; padding: 12px 22px; font: inherit; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 8px 14px 8px 8px; font-size: 0.95rem; border-radius: 10px; }
.btn--lg { padding: 14px 26px 14px 14px; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn--green:hover { background: #7ce8ab; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); padding: 14px 26px; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); padding-left: 24px; padding-right: 20px; }
.btn--ghost:hover { border-color: #fff; }
.btn__icon { display: inline-grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--navy); color: var(--green); flex: none; }
.btn--sm .btn__icon { width: 1.9em; height: 1.9em; }
.btn__icon .icon { width: 1.05em; height: 1.05em; }
.btn__arrow { color: var(--green); display: inline-grid; }
.btn__arrow .icon { width: 1.15em; height: 1.15em; }

.site-header { background: var(--navy); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.site-header__logo img { width: 190px; height: auto; }

.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); border: 2px solid rgba(104, 224, 158, 0.5); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.eyebrow--dark { color: var(--green-ink); border-color: #9fdcbb; }
.accent { color: var(--green); }

.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 60%, var(--navy-deep) 100%); color: #fff; padding: 40px 0 88px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.0; }
.hero__lead { margin-top: 24px; font-size: 1.2rem; line-height: 1.6; color: var(--on-navy); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 22px; font-weight: 800; font-size: 1.1rem; color: #fff; }

.hero__visual { position: relative; padding: 20px 0 40px; }
.mock { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mock__chrome { display: flex; align-items: center; gap: 14px; background: var(--chrome); padding: 12px 14px; }
.mock__dots { display: flex; gap: 7px; }
.mock__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mock__dots i:nth-child(2) { background: #febc2e; }
.mock__dots i:nth-child(3) { background: #28c840; }
.mock__url { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 14px; color: #6a7682; font-size: 0.9rem; }
.mock__url .icon { width: 15px; height: 15px; color: var(--alert); flex: none; }
.mock__url b { color: var(--alert); font-weight: 700; }
.mock__page { display: flex; flex-direction: column; align-items: flex-start; padding: 64px 40px 72px; }
.mock__globe { color: var(--alert); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--alert-tint); border: 2px solid var(--alert-line); }
.mock__globe .icon { width: 40px; height: 40px; stroke-width: 1.9; }
.mock__title { margin-top: 18px; font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 900; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.mock__sub { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }
.mock__code { margin-top: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.82rem; font-weight: 700; color: var(--alert); letter-spacing: 0.02em; }
.mock__reload { margin-top: 20px; border: 2px solid #cfd6dd; border-radius: 9px; padding: 7px 18px; color: #4f5e6c; font-weight: 600; font-size: 0.9rem; }
.toast { position: absolute; right: -14px; top: 74px; display: flex; gap: 14px; align-items: flex-start; background: var(--alert-tint); border: 2px solid var(--alert); border-radius: 14px; box-shadow: 0 18px 36px rgba(6, 22, 36, 0.32); padding: 16px 18px; width: min(310px, 82%); color: var(--alert-dark); }
.toast__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--alert); color: #fff; }
.toast__icon .icon { width: 20px; height: 20px; }
.toast__text { font-size: 0.88rem; line-height: 1.4; color: var(--alert-dark); }
.toast__text b { display: block; color: var(--alert); font-size: 0.98rem; font-weight: 800; }

.section { padding: 88px 0; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; max-width: 22em; }
.section__title--light { color: #fff; }
.section__lead { margin-top: 16px; font-size: 1.15rem; max-width: 40em; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.chip { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--chrome); color: var(--muted); flex: none; }
.chip .icon { width: 26px; height: 26px; }
.chip--green { background: var(--green-tint); color: var(--green-ink); }

.problem { background: var(--mist); }
.problem__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem__item { padding: 28px; }
.problem__item h3 { margin-top: 20px; font-size: 1.3rem; font-weight: 800; }
.problem__item p { margin-top: 8px; }

.help__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.help__item { padding: 34px; }
.help__head { display: flex; align-items: center; gap: 14px; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--green); font-weight: 900; font-size: 0.95rem; }
.help__item h3 { margin-top: 22px; font-size: 1.55rem; font-weight: 900; letter-spacing: -0.025em; }
.help__item > p { margin-top: 12px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.tick { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--navy); flex: none; }
.tick .icon { width: 15px; height: 15px; stroke-width: 2.6; }

.call { background: var(--navy); color: var(--on-navy); }
.call__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px 64px; align-items: start; }
.call__lead { margin-top: 18px; font-size: 1.15rem; }
.call__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-row: span 2; }
.call__steps li { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 22px 24px; background: rgba(255, 255, 255, 0.04); }
.call__steps h3 { color: #fff; font-size: 1.2rem; font-weight: 800; }
.call__steps p { margin-top: 4px; }
.call__n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 900; }
.call__cta { align-self: end; }

.contact { background: var(--mist); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__phone { display: inline-flex; align-items: center; gap: 16px; margin-top: 30px; color: var(--ink); text-decoration: none; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 900; letter-spacing: -0.03em; }
.contact__phone:hover span:last-child { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.contact__tip { margin-top: 18px; color: var(--muted); max-width: 32em; }
.contact__card { padding: 32px; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: 0.98rem; padding: 0; }
.req { font-weight: 500; color: var(--muted); font-size: 0.9em; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #c9d3dc; border-radius: 10px; padding: 11px 14px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: #9fb0bf; }
.field--error input[type] { border-color: var(--error); }
.field__hint { font-size: 0.9rem; color: var(--muted); }
.field__error { font-size: 0.92rem; color: var(--error); font-weight: 600; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.field .check { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-weight: 500; color: var(--text); line-height: 1.35; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.field .check:has(input:checked) { border-color: var(--navy); background: #f1f5f8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; border: 2px solid; }
.notice:focus { outline: none; }
.notice h3 { font-size: 1.3rem; color: var(--ok); }
.notice p + p, .notice h3 + p { margin-top: 6px; }
.notice--ok { background: var(--ok-bg); border-color: #9fdcbb; color: var(--text); margin-bottom: 0; }
.notice--error { background: var(--error-bg); border-color: #f4b4ae; color: var(--error); font-weight: 600; }
.notice a { color: inherit; font-weight: 800; }

.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 48px 0 28px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__brand img { width: 200px; height: auto; }
.site-footer__brand p { margin-top: 10px; font-size: 0.92rem; }
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__icon { color: var(--green); display: inline-grid; }
.site-footer__icon .icon { width: 20px; height: 20px; }
.site-footer__legal { margin-top: 32px; padding-top: 0; font-size: 0.85rem; color: #b9c8d4; }

.callbar { display: none; }

@media (max-width: 960px) {
  .hero__grid, .call__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .call__steps { grid-row: auto; }
  .problem__list { grid-template-columns: 1fr; }
  .help__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 84px; }
  .wrap { padding: 0 16px; }
  .site-header__logo img { width: 150px; }
  .site-header__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .btn--sm { padding: 6px; }
  .hero { padding: 28px 0 56px; }
  .eyebrow { font-size: 0.75rem; }
  .hero__lead { font-size: 1.08rem; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { padding-bottom: 8px; }
  .mock__page { padding: 44px 24px 48px; }
  .toast { right: -6px; top: 58px; width: 78%; padding: 12px 14px; }
  .section { padding: 60px 0; }
  .help__item, .contact__card, .problem__item { padding: 24px; }
  .checks { grid-template-columns: 1fr; }
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--navy-deep); box-shadow: 0 -10px 24px rgba(6, 22, 36, 0.35); }
  .callbar .btn { padding: 10px 18px 10px 10px; font-size: 1.1rem; }
}

@keyframes rit-fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rit-rise { from { opacity: 0; transform: translateY(40px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes rit-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rit-load { 0% { width: 0; background: #4c8dff; opacity: 1; } 70% { width: 78%; background: #4c8dff; opacity: 1; } 85% { width: 82%; background: var(--alert); opacity: 1; } 100% { width: 82%; background: var(--alert); opacity: 0; } }
@keyframes rit-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px) rotate(-4deg); } 40% { transform: translateX(5px) rotate(3deg); } 60% { transform: translateX(-3px) rotate(-2deg); } 80% { transform: translateX(2px); } }
@keyframes rit-toast-in { 0% { opacity: 0; transform: translateX(60px) scale(0.92); } 70% { opacity: 1; transform: translateX(-6px) scale(1.01); } 100% { opacity: 1; transform: none; } }
@keyframes rit-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 40, 28, 0.45); } 100% { box-shadow: 0 0 0 16px rgba(200, 40, 28, 0); } }
@keyframes rit-ring { 0%, 18%, 100% { transform: rotate(0); } 3% { transform: rotate(-16deg); } 6% { transform: rotate(14deg); } 9% { transform: rotate(-12deg); } 12% { transform: rotate(10deg); } 15% { transform: rotate(-6deg); } }
@keyframes rit-pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }

.anim { animation: rit-fade-up 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both; }
.anim-mock { animation: rit-rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
.mock { position: relative; }
.mock__bar { display: block; height: 3px; width: 0; background: #4c8dff; animation: rit-load 1.2s ease-in-out 0.55s both; }
.mock__page > * { animation: rit-fade 0.45s ease both; }
.mock__page > :nth-child(1) { animation: rit-fade 0.4s ease 1.5s both, rit-shake 0.6s ease 1.9s both, rit-pulse 1.4s ease-out 2.5s 3; }
.mock__page > :nth-child(2) { animation-delay: 1.62s; }
.mock__page > :nth-child(3) { animation-delay: 1.72s; }
.mock__page > :nth-child(4) { animation-delay: 1.85s; }
.mock__page > :nth-child(5) { animation-delay: 1.95s; }
.toast { animation: rit-toast-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 2.15s both; }
.toast__icon { animation: rit-pulse 1.4s ease-out 2.9s 3; }
.btn__icon .icon { transform-origin: 50% 50%; }
.hero .btn--green .btn__icon .icon, .callbar .btn__icon .icon { animation: rit-ring 4s ease-in-out 3.2s 3; }
.btn--green:hover .btn__icon .icon { animation: rit-ring 1.4s ease-in-out 0s 1; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease var(--d, 0s), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .ticks--pop .tick { transform: scale(0); }
.js .is-in .ticks--pop .tick { animation: rit-pop 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .is-in .ticks--pop li:nth-child(1) .tick { animation-delay: calc(var(--d, 0s) + 0.45s); }
.js .is-in .ticks--pop li:nth-child(2) .tick { animation-delay: calc(var(--d, 0s) + 0.6s); }
.js .is-in .ticks--pop li:nth-child(3) .tick { animation-delay: calc(var(--d, 0s) + 0.75s); }
.js .call__steps .is-in .call__n, .js .call__steps li.is-in .call__n { animation: rit-pop 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--d, 0s) + 0.3s) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .ticks--pop .tick { transform: none; }
  .mock__bar { display: none; }
}
