:root {
  --ink: #142035;
  --muted: #667085;
  --paper: #f4f7fb;
  --white: #ffffff;
  --red: #3157d5;
  --red-dark: #1f3eae;
  --blue: #0b2146;
  --gold: #c8a86b;
  --line: #dbe2ed;
  --soft: #eaf0f8;
  --max: 1180px;
  --shadow: 0 26px 70px rgba(11, 33, 70, .12);
  --shadow-soft: 0 14px 38px rgba(11, 33, 70, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(49,87,213,.09), transparent 28rem),
    linear-gradient(180deg, #fbfcff 0, var(--paper) 38rem);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
::selection { color: #fff; background: var(--red); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
a, button, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(49,87,213,.42); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1rem;
}
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 1rem; color: var(--red); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.display {
  margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2.7rem, 6vw, 5.9rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance;
}
.section-title {
  margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance;
}
.lede { max-width: 760px; color: #3f444c; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.muted { color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; min-height: 2rem; padding: .25rem .65rem;
  border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.75);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}

.site-header {
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(22,24,29,.1);
  background: rgba(251,252,255,.92); box-shadow: 0 8px 30px rgba(11,33,70,.04); backdrop-filter: blur(18px);
}
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #171717 0 33.333%, #c51f2f 33.333% 66.666%, #e5b51b 66.666%); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; line-height: 1.15; }
.brand-mark {
  position: relative; overflow: hidden; width: 38px; height: 38px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #4268e8, var(--blue));
  border-radius: 12px; box-shadow: 0 8px 22px rgba(49,87,213,.22); font-family: Georgia, serif; font-weight: 700;
}
.brand-mark::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, #171717 0 33.333%, #c51f2f 33.333% 66.666%, #e5b51b 66.666%); }
.brand strong { display: block; font-family: Georgia, "Yu Mincho", serif; font-size: 1.08rem; }
.brand small { display: block; margin-top: .16rem; color: var(--muted); font-size: .68rem; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: clamp(.75rem, 1.35vw, 1.5rem); }
.nav a { position: relative; text-decoration: none; font-size: .88rem; font-weight: 700; transition: color .2s ease; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.55rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .nav-cta { padding: .68rem 1.05rem; color: #fff; background: var(--blue); border-radius: 999px; box-shadow: 0 8px 22px rgba(11,33,70,.16); }
.nav .nav-cta:hover { color: #fff; background: var(--red); }
.menu-button { display: none; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 800; }

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.2rem;
  border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button.primary { color: #fff; border-color: var(--red); background: var(--red); box-shadow: 0 10px 24px rgba(49,87,213,.22); }
.button.primary:hover { border-color: var(--red-dark); background: var(--red-dark); box-shadow: 0 14px 30px rgba(31,62,174,.27); transform: translateY(-2px); }
.button.secondary:hover { color: #fff; background: var(--ink); transform: translateY(-2px); }

.hero { position: relative; padding: 50px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: stretch; gap: clamp(2.5rem, 5vw, 4.5rem); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; }
.hero-copy .lede { margin: 1.6rem 0 0; max-width: 630px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.4rem; }
.hero-notes .tag { border-color: #d5def3; background: rgba(235,240,252,.9); color: #243d76; }
.hero-visual { position: relative; min-height: 650px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 34px -72px -26px 78px; z-index: -1;
  background: linear-gradient(145deg, #d7e1ff 0%, #4268e8 54%, #0b2146 100%); border-radius: 38px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; border: 6px solid rgba(255,255,255,.94); border-radius: 32px; box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: -38px; bottom: 40px; width: 190px; padding: 1.1rem 1.2rem;
  color: #fff; background: rgba(11,33,70,.95); border: 1px solid rgba(255,255,255,.22); border-radius: 20px;
  box-shadow: 0 18px 38px rgba(18,23,34,.25); backdrop-filter: blur(10px);
}
.hero-badge strong { display: block; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.hero-badge span { display: block; margin-top: .45rem; font-size: .77rem; line-height: 1.55; }

.trust-strip { color: #fff; background: linear-gradient(110deg, #071833, #102b58 72%, #1b3e75); box-shadow: inset 0 1px rgba(255,255,255,.06), inset 0 -1px rgba(0,0,0,.12); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.65rem; border-right: 1px solid rgba(255,255,255,.16); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: Georgia, "Yu Mincho", serif; font-size: 1.35rem; }
.trust-item span { color: #c6c9cf; font-size: .8rem; }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.white { background: rgba(255,255,255,.88); }
.section.dark { color: #fff; background: linear-gradient(135deg, #081a38, #102b58); }
.section.red { color: #fff; background: linear-gradient(135deg, #3157d5, #193a9b); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-head p { margin: 0; color: var(--muted); }
.dark .section-head p { color: #c7cad0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { position: relative; overflow: hidden; display: flex; padding: 2rem; flex-direction: column; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red), #829bf0); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(14,37,77,.11); }
.card-number { align-self: flex-start; padding: .18rem .55rem; color: var(--red); background: #edf2ff; border-radius: 999px; font-family: Georgia, serif; font-size: .9rem; font-weight: 700; }
.card h3 { margin: 1.8rem 0 .75rem; font-family: Georgia, "Yu Mincho", serif; font-size: 1.45rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-link { display: inline-block; margin-top: auto; padding-top: 1.4rem; color: var(--red); font-size: .86rem; font-weight: 800; text-decoration: none; }

.format-section { background: linear-gradient(180deg, #f5f8ff 0%, #edf3fc 100%); }
.compact-head { margin-bottom: 2.25rem; }
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mode-card {
  display: flex; min-height: 100%; padding: clamp(1.8rem, 4vw, 3rem); flex-direction: column;
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-soft);
}
.mode-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mode-number { color: var(--red); font-family: Georgia, serif; font-size: 1rem; font-weight: 700; letter-spacing: .06em; }
.mode-card h3 { margin: 2rem 0 .8rem; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.25; }
.mode-card p { margin: 0; color: var(--muted); }
.mode-list { display: grid; gap: .65rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.mode-list li { position: relative; padding-left: 1.45rem; }
.mode-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.mode-card .button { align-self: flex-start; margin-top: auto; }
.online-mode { color: #fff; background: radial-gradient(circle at 88% 10%, rgba(255,255,255,.12), transparent 16rem), linear-gradient(135deg, #102b58, #071833); border-color: #173766; }
.online-mode p, .online-mode .mode-list { color: #d5dceb; }
.online-mode .tag { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }
.online-mode .mode-number, .online-mode .mode-list li::before { color: #90abff; }
.online-mode .button.primary { color: var(--blue); border-color: #fff; background: #fff; box-shadow: none; }
.online-mode .button.primary:hover { color: #fff; border-color: var(--red); background: var(--red); }
.format-note { margin: 1.25rem 0 0; color: var(--muted); text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { display: block; width: 100%; height: auto; object-fit: contain; border: 5px solid #fff; border-radius: 26px; box-shadow: var(--shadow); }
.split-media.portrait img { aspect-ratio: auto; object-position: center; }
.split-copy p { color: #4d525b; }
.dark .split-copy p { color: #cbd3e0; }
.feature-list { display: grid; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: .65rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.feature-list b { color: var(--red); }
.dark .feature-list { border-color: rgba(255,255,255,.18); }
.dark .feature-list li { border-color: rgba(255,255,255,.18); }
.dark-callout { padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: rgba(255,255,255,.07); box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.dark-callout .tag { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.dark-callout h3 { margin: 1.4rem 0 1rem; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.3; }
.dark-callout p { color: #ced6e5; }
.dark-callout .button { margin-top: 1.25rem; color: #fff; border-color: rgba(255,255,255,.7); }

.price-preview { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: rgba(255,255,255,.16); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.price-main, .price-side { padding: clamp(2rem, 5vw, 4rem); background: rgba(255,255,255,.06); }
.price-main strong { display: block; margin: 1.4rem 0 .2rem; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; }
.price-main strong small { font-family: inherit; font-size: 1.1rem; }
.price-side ul { margin: 1rem 0 0; padding-left: 1.2rem; color: #d0d2d7; }
.price-side .button { margin-top: 1.5rem; color: #fff; border-color: rgba(255,255,255,.6); }

.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.resource-card { display: grid; grid-template-columns: 200px 1fr; min-height: 240px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(11,33,70,.11); }
.resource-card img { width: 100%; height: 100%; padding: .45rem; object-fit: contain; background: #eef2f8; }
.resource-card > div { padding: 1.5rem; }
.resource-card h3 { margin: .2rem 0 .6rem; font-family: Georgia, "Yu Mincho", serif; font-size: 1.35rem; }
.resource-card p { color: var(--muted); font-size: .9rem; }

.cta { padding: clamp(70px, 10vw, 130px) 0; color: #fff; background: radial-gradient(circle at 88% 10%, rgba(255,255,255,.14), transparent 20rem), linear-gradient(125deg, #2348bd 0%, #3157d5 56%, #0b2146 130%); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.cta h2 { max-width: 820px; margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.cta p { margin: 1.2rem 0 0; color: #ffe5e5; }
.cta .button { color: var(--ink); border-color: #fff; background: #fff; }

.page-hero { padding: clamp(76px, 10vw, 130px) 0 64px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 10%, rgba(49,87,213,.09), transparent 25rem); }
.page-hero .display { max-width: 960px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero .lede { margin-top: 1.5rem; }
.breadcrumb { margin-bottom: 1.2rem; color: var(--muted); font-size: .8rem; }
.breadcrumb a { text-decoration: none; }

.online-page-hero { padding-bottom: clamp(72px, 9vw, 110px); }
.online-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.online-summary { padding: clamp(1.8rem, 4vw, 3rem); color: #fff; background: radial-gradient(circle at 88% 8%, rgba(255,255,255,.14), transparent 12rem), linear-gradient(145deg, #15366c, #071833); border-radius: 28px; box-shadow: var(--shadow); }
.online-summary .tag { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); }
.online-summary .mode-number { color: #a9bbff; text-transform: uppercase; }
.online-summary h2 { margin: 1.7rem 0 1rem; font-family: Georgia, "Yu Mincho", serif; font-size: 1.7rem; }
.online-summary dl { margin: 0; }
.online-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.online-summary dt { color: #bdc8dc; font-size: .86rem; }
.online-summary dd { margin: 0; font-weight: 800; text-align: right; }
.online-summary > p { margin: 1.25rem 0 0; color: #cfd7e5; font-size: .9rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 24px; background: rgba(255,255,255,.17); }
.process-grid article { padding: clamp(1.7rem, 4vw, 3rem); background: rgba(255,255,255,.06); }
.process-grid article > span { display: inline-grid; width: 2.3rem; height: 2.3rem; place-items: center; color: var(--blue); background: #fff; border-radius: 50%; font-weight: 900; }
.process-grid h3 { margin: 1.5rem 0 .65rem; font-family: Georgia, "Yu Mincho", serif; font-size: 1.35rem; }
.process-grid p { margin: 0; color: #cbd3e0; font-size: .92rem; }
.online-detail-card { padding: clamp(2rem, 5vw, 4rem); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-soft); }
.online-detail-card h3 { margin: 0 0 1rem; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.3; }
.online-detail-card p { color: var(--muted); }
.online-detail-card .button { margin-top: 1.2rem; }

.pricing-table { width: 100%; margin-top: 2rem; border-collapse: collapse; background: #fff; }
.pricing-table th, .pricing-table td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.pricing-table th { color: #fff; background: var(--blue); font-size: .86rem; }
.pricing-table td:last-child { font-weight: 800; }
.pricing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.price-block { padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 38px rgba(14,37,77,.06); }
.price-block h2 { margin-top: 0; font-family: Georgia, "Yu Mincho", serif; }
.online-price-block { border-color: #9bb0ed; box-shadow: 0 18px 44px rgba(49,87,213,.12); }
.online-price-block h2 { margin-top: .7rem; }
.hours { display: grid; gap: .6rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }

.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.25rem 2rem 1.25rem 0; cursor: pointer; font-weight: 800; }
.faq details p { max-width: 760px; margin-top: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; background: transparent; border: 0; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 1.2rem; align-items: start; }
.contact-panel { padding: clamp(1.6rem, 4vw, 3rem); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 38px rgba(14,37,77,.06); }
.contact-panel h2 { font-family: Georgia, "Yu Mincho", serif; }
.contact-email { display: inline-block; color: var(--red); font-family: Georgia, serif; font-size: clamp(1.2rem, 3vw, 2rem); overflow-wrap: anywhere; }
.contact-intro { position: sticky; top: 110px; }
.contact-fallback { margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.contact-fallback a { color: var(--red); font-weight: 800; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .5rem; color: var(--ink); font-size: .92rem; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .85rem .95rem; color: var(--ink); background: #fff; border: 1px solid #b9c1cf; border-radius: 12px; outline: none; }
.contact-form textarea { resize: vertical; line-height: 1.6; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,87,213,.14); }
.contact-form .consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: .7rem; color: var(--muted); font-size: .84rem; font-weight: 500; }
.contact-form .consent input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--blue); }
.form-submit { width: 100%; cursor: pointer; }
.form-note { margin: -.55rem 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.form-success { display: grid; gap: .3rem; margin-bottom: 1.4rem; padding: 1rem 1.15rem; color: #123f2d; background: #e7f6ef; border: 1px solid #a8dbc5; border-radius: 14px; }
.form-success[hidden] { display: none; }
.form-error { display: grid; gap: .3rem; margin-bottom: 1.4rem; padding: 1rem 1.15rem; color: #70251f; background: #fff0ee; border: 1px solid #e7b8b2; border-radius: 14px; }
.form-error[hidden] { display: none; }
.steps { counter-reset: steps; padding: 0; list-style: none; }
.steps li { position: relative; padding: 0 0 1.4rem 3rem; }
.steps li::before {
  counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; display: grid; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-weight: 800;
}

.prose { max-width: 800px; }
.prose h2 { margin-top: 3rem; font-family: Georgia, "Yu Mincho", serif; font-size: 2rem; }
.prose h3 { margin-top: 2rem; }
.prose p { color: #4d525b; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; }
.profile-facts div { padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.profile-facts strong { display: block; font-family: Georgia, serif; font-size: 1.7rem; }
.profile-facts span { color: var(--muted); font-size: .8rem; }
.quote { margin: 2.5rem 0; padding: 2rem; border-left: 5px solid var(--gold); border-radius: 0 18px 18px 0; background: #fff; box-shadow: 0 14px 38px rgba(14,37,77,.06); font-family: Georgia, "Yu Mincho", serif; font-size: 1.35rem; }

.download-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.download { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 38px rgba(14,37,77,.06); }
.download h3 { margin: .2rem 0 .6rem; font-family: Georgia, "Yu Mincho", serif; }
.download p { min-height: 4.6em; color: var(--muted); font-size: .9rem; }

.site-footer { position: relative; padding: 60px 0 28px; color: #d7d9dd; background: #07152d; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #171717 0 33.333%, #c51f2f 33.333% 66.666%, #e5b51b 66.666%); }
.footer-grid { display: grid; grid-template-columns: 1.15fr .75fr .9fr; gap: 3rem; }
.footer-grid h2, .footer-grid h3 { margin-top: 0; color: #fff; font-family: Georgia, "Yu Mincho", serif; }
.footer-grid p, .footer-grid a { color: #b5b9c1; font-size: .88rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); color: #858a93; font-size: .75rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 1rem 20px 1.3rem;
    align-items: stretch; flex-direction: column; gap: .35rem; background: rgba(251,252,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 18px 36px rgba(11,33,70,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; }
  .nav a:not(.nav-cta)::after { bottom: .25rem; right: auto; width: 34px; transform-origin: left; }
  .nav .nav-cta { padding: .75rem 1rem; text-align: center; }
  .hero-grid, .section-head, .split, .price-preview, .cta-grid, .contact-grid, .contact-layout, .online-hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 18px; }
  .hero-copy { padding: 2rem 0 1rem; }
  .hero-visual { min-height: 520px; margin-left: 26px; }
  .hero-visual::before { inset: 26px -40px -18px 42px; }
  .hero-badge { left: -34px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .cards, .format-grid, .process-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .resource-grid, .pricing-layout, .footer-grid { grid-template-columns: 1fr; }
  .profile-facts, .download-list { grid-template-columns: 1fr 1fr; }
  .contact-intro { position: static; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand small { display: none; }
  .hero-visual { min-height: 410px; }
  .hero-badge { width: 160px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .resource-card { grid-template-columns: 1fr; }
  .resource-card img { width: 100%; height: 210px; }
  .form-row { grid-template-columns: 1fr; }
  .profile-facts, .download-list { grid-template-columns: 1fr; }
  .pricing-table { font-size: .85rem; }
  .pricing-table th, .pricing-table td { padding: .75rem .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
