:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --card: #ffffff;
  --line: #e7ecf2;
  --text: #122033;
  --muted: #617286;
  --accent: #2557d6;
  --accent-soft: #edf3ff;
  --success: #eaf8ee;
  --success-text: #1f6b39;
  --shadow: 0 20px 60px rgba(17, 31, 68, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(231,236,242,0.7);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff4ff 0%, #dfe9ff 100%);
  color: var(--accent);
  font-weight: 800;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
}
.hero {
  padding: 64px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 1.08rem; max-width: 58ch; }
.hero-actions, .cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 87, 214, 0.18);
}
.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.btn-full { width: 100%; }
.mini-points, .bullet-clean {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.mini-points li, .bullet-clean li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-visual {
  position: relative;
  min-height: 640px;
}
.hero-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(231,236,242,0.9);
}
.large-photo-card {
  position: absolute;
  inset: 0 34px 0 0;
}
.large-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.floating-panel {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(231,236,242,0.95);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.stats-panel {
  right: 0;
  top: 46px;
  width: 220px;
  padding: 18px;
}
.stats-panel strong { display: block; margin-bottom: 8px; }
.stats-panel span {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.small-panel {
  left: 26px;
  bottom: 28px;
  padding: 18px 20px;
}
.small-panel p { margin-bottom: 4px; }
.trust-band {
  padding: 18px 0 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-grid > div {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}
.trust-grid strong { display: block; margin-bottom: 8px; }
.section { padding: 86px 0; }
.soft-bg { background: linear-gradient(180deg, #fbfcfe 0%, #f6f8fb 100%); }
.two-col {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.info-card, .step-card, .resource-card, .register-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.info-card, .step-card { padding: 24px; }
.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-no {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.resource-card { overflow: hidden; }
.resource-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.resource-card div { padding: 22px; }
.register-section { padding-top: 30px; }
.register-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.register-card {
  padding: 24px;
}
label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
input, select {
  width: 100%;
  margin-top: 8px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}
input:focus, select:focus {
  outline: 2px solid rgba(37, 87, 214, 0.15);
  border-color: rgba(37, 87, 214, 0.32);
}
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checkbox input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
  padding: 0;
}
.checkbox span { color: var(--muted); font-weight: 500; }
.form-note { font-size: 0.92rem; }
.success-message {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--success);
  color: var(--success-text);
  font-weight: 600;
}
.success-message.visible { display: block; }
.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}
.footer-brand { margin-bottom: 12px; }
.footer-copy { max-width: 46ch; }
.site-footer h4 { font-size: 0.96rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; color: var(--muted); }
.policy-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  padding: 28px 18px;
}
.policy-card {
  width: min(920px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.policy-card h2 { margin-top: 32px; font-size: 1.28rem; }
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: end;
  justify-content: center;
  background: rgba(18, 32, 51, 0.32);
  padding: 18px;
}
.cookie-modal.visible { display: flex; }
.cookie-card {
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(9, 20, 45, 0.18);
  padding: 24px;
}
.cookie-copy { max-width: 68ch; }
.cookie-links { margin-top: 14px; font-size: 0.93rem; }

@media (max-width: 1080px) {
  .hero-grid, .two-col, .register-grid, .footer-grid { grid-template-columns: 1fr; }
  .resource-grid, .steps-grid, .trust-grid, .info-card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 560px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 100%); }
  .nav { display: none; }
  .hero { padding-top: 36px; }
  .resource-grid, .steps-grid, .trust-grid, .info-card-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .large-photo-card { inset: 0; }
  .stats-panel {
    right: 14px;
    top: 16px;
    width: 190px;
  }
  .small-panel { left: 14px; bottom: 14px; }
  .policy-card, .cookie-card { padding: 20px; }
}

body.menu-open { overflow: hidden; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.register-card label:last-of-type { margin-bottom: 18px; }
@media (max-width: 1080px) {
  .hero { padding: 48px 0 28px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 760px; width: 100%; margin: 0 auto; }
  .hero-actions .btn { min-width: 160px; }
  .register-grid > div:first-child { max-width: 720px; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 32px, 100%); }
  .nav-wrap { min-height: 72px; gap: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .nav a:hover { background: var(--bg-soft); text-decoration: none; }
  .hero-grid { gap: 28px; }
  .resource-grid, .steps-grid, .trust-grid, .info-card-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero-visual { min-height: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 100%); }
  .brand { gap: 10px; font-size: 0.98rem; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .hero { padding-top: 28px; }
  h1 { font-size: clamp(2rem, 10vw, 2.9rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .mini-points li, .bullet-clean li { width: 100%; border-radius: 18px; }
  .hero-visual { min-height: 420px; }
  .large-photo-card { inset: 0; }
  .large-photo-card img { object-position: center; }
  .floating-panel { max-width: calc(100% - 28px); }
  .stats-panel {
    right: 14px;
    top: 14px;
    width: 170px;
    padding: 14px;
  }
  .stats-panel span { padding: 7px 0; font-size: 0.92rem; }
  .small-panel {
    left: 14px;
    bottom: 14px;
    padding: 14px 16px;
  }
  .info-card, .step-card, .resource-card div, .register-card, .trust-grid > div, .policy-card, .cookie-card { padding: 20px; }
  .section-head { margin-bottom: 22px; }
  .resource-card img { height: 200px; }
  input, select, .btn { min-height: 50px; }
  .checkbox { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .policy-shell { padding: 18px 12px; }
  .cookie-modal { align-items: end; padding: 12px; }
  .cookie-actions { flex-direction: column-reverse; align-items: stretch; }
  .cookie-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero-visual { min-height: 360px; }
  .stats-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
  .small-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-card { border-radius: 20px; }
}
