:root {
  --blue: #063b8f;
  --blue-deep: #022762;
  --blue-soft: #eaf5ff;
  --orange: #ff6b18;
  --orange-deep: #f04b0a;
  --text: #08255a;
  --muted: #5d6d8f;
  --line: #b7d9ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 145, 255, 0.16), transparent 32rem),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 42%, #eef7ff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--blue);
}

.page-shell {
  width: min(100%, 832px);
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 28px rgba(0, 69, 148, 0.14);
}

.hero-image {
  position: relative;
  min-height: 360px;
  aspect-ratio: 862 / 1638;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf6ff, #ffffff);
}

.hero-image img {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: auto;
}

.image-cta-link {
  position: absolute;
  left: 7.2%;
  top: 37.3%;
  width: 85.6%;
  height: 6.8%;
  border-radius: 18px;
  text-indent: -9999px;
}

.image-cta-link:focus-visible {
  outline: 4px solid #ffdf55;
  outline-offset: 4px;
}

.signup-section {
  padding: 30px 18px 28px;
  background: linear-gradient(180deg, #063f99 0%, #021f61 100%);
}

.section-inner {
  padding: 24px 18px 22px;
  background: var(--white);
  border: 2px solid #83c9ff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 31, 97, 0.22);
}

.form-kicker {
  margin: 0 0 4px;
  color: var(--orange-deep);
  font-weight: 800;
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0;
}

.form-lead {
  margin: 12px auto 22px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.98rem;
  text-align: center;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--text);
  background: #fbfdff;
  border: 2px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
}

input:focus,
select:focus {
  border-color: #1588ff;
  outline: 3px solid rgba(21, 136, 255, 0.18);
}

.privacy-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.submit-button {
  position: relative;
  display: grid;
  gap: 1px;
  justify-items: center;
  width: 100%;
  min-height: 64px;
  margin-top: 4px;
  padding: 12px 18px;
  color: var(--white);
  background: linear-gradient(180deg, #ff8a22 0%, var(--orange) 45%, var(--orange-deep) 100%);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 0 #c93b05, 0 14px 22px rgba(240, 75, 10, 0.26);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.submit-button::after {
  content: ">";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 30px;
  height: 30px;
  color: var(--orange-deep);
  background: var(--white);
  border-radius: 50%;
  line-height: 30px;
  transform: translateY(-50%);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
  box-shadow: none;
  transform: translateY(4px);
}

.button-main {
  font-size: 1.25rem;
  line-height: 1.2;
}

.button-sub {
  font-size: 0.85rem;
}

.form-status {
  min-height: 1.6em;
  margin: 2px 0 0;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}

.form-status.is-sending {
  color: var(--blue);
}

.form-status.is-error {
  color: #c62020;
}

.hidden-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 24px 16px 34px;
  color: var(--muted);
  background: #f7fbff;
  text-align: center;
  font-size: 0.9rem;
}

.footer-company p {
  margin: 4px 0;
}

.footer-links,
.simple-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin: 18px 0 0;
}

.simple-links {
  justify-content: flex-start;
}

.simple-page {
  min-height: 100vh;
  padding: 26px 16px 40px;
}

.simple-card {
  width: min(100%, 832px);
  margin: 0 auto;
  padding: 28px 20px;
  background: var(--white);
  border-top: 6px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 69, 148, 0.12);
}

.simple-card h1 {
  margin-bottom: 14px;
  text-align: left;
}

.simple-card h2 {
  margin: 28px 0 8px;
  color: var(--blue-deep);
  font-size: 1.15rem;
  letter-spacing: 0;
}

.simple-card p,
.simple-card li {
  color: #213a6c;
}

.simple-card ul {
  padding-left: 1.25rem;
}

.back-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
}

.next-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 18px;
}

.next-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.next-step h2 {
  margin-top: 0;
}

.next-step p {
  margin-top: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 2px 0 0;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.action-link {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 10px 16px;
  color: var(--white);
  background: linear-gradient(180deg, #ff8a22 0%, var(--orange) 52%, var(--orange-deep) 100%);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 0 #c93b05;
}

.action-link.secondary {
  background: linear-gradient(180deg, #0d64c9 0%, var(--blue) 100%);
  box-shadow: 0 5px 0 #052b72;
}

.thanks-note {
  margin-top: 18px;
  padding: 14px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #284270;
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .signup-section {
    padding: 38px 28px 34px;
  }

  .section-inner {
    padding: 30px 32px;
  }

  form {
    grid-template-columns: 1fr 0.72fr 1.1fr;
    align-items: end;
  }

  .privacy-note,
  .submit-button,
  .form-status {
    grid-column: 1 / -1;
  }
}
