:root {
  --ink: #0b1d4e;
  --blue: #1a56f5;
  --button: #2563eb;
  --button-hover: #1d4ed8;
  --muted: #5d6d84;
  --soft: #8b98ab;
  --line: #e4ebf3;
  --ok: #047857;
  --ok-bg: #ecfdf5;
  --error: #b42318;
  --error-bg: #fef3f2;
  --shadow: 0 16px 40px rgba(22, 52, 104, 0.12);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(980px 640px at 82% 28%, rgba(176, 210, 255, 0.55), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #e8f3ff 100%);
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  display: block;
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 0;
  margin: 0;
  color: #7d8ba0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav span {
  padding: 0 12px;
  white-space: nowrap;
}

.nav .sep {
  width: 1px;
  height: 12px;
  padding: 0;
  background: #c5d0de;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 600px) minmax(360px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 0 4px;
}

.hero > * { min-width: 0; }

.kicker {
  margin: 0;
  color: #9aa6b8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.kicker-line {
  width: 72px;
  height: 3px;
  margin: 10px 0 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2dd4bf, #3b82f6);
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #0c1d4d;
}

h1 .accent {
  display: block;
  color: #1a4dff;
}

.tagline {
  margin: 18px 0 0;
  color: #243e68;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 460px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.signup {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin-top: 22px;
}

.field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #e5ebf2;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.field svg { flex: none; color: #98a4b5; }

.field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.field input::placeholder { color: #9aa6b6; }

.field:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--button);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

button:hover { background: var(--button-hover); }

button:focus-visible,
.field input:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.hint {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 14px;
}

.notice {
  max-width: 540px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
}

.notice.ok { color: var(--ok); background: var(--ok-bg); }
.notice.error { color: var(--error); background: var(--error-bg); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
}

.pillars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 6px 0 0;
  padding-bottom: 28px;
}

.pillar {
  padding: 8px 22px 12px;
  border-left: 1px solid var(--line);
}

.pillar:first-child { border-left: 0; padding-left: 0; }

.icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 12px;
}

.icon.plan { background: #e7f0ff; color: #3b82f6; }
.icon.sim { background: #e7f8ef; color: #10b981; }
.icon.replan { background: #f3e8ff; color: #8b5cf6; }
.icon.deliver { background: #e6f7fb; color: #0891b2; }

.pillar h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.pillar p {
  margin: 6px 0 0;
  max-width: 180px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.waves {
  margin-top: -20px;
  line-height: 0;
}

.waves svg {
  width: 100%;
  height: 170px;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .stage { margin-top: 12px; }
  .nav { justify-content: flex-start; width: 100%; }
  .header { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (max-width: 720px) {
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .signup { flex-direction: column; align-items: stretch; }
  button { width: 100%; }
  .nav { font-size: 10px; letter-spacing: 0.08em; }
  .nav span { padding: 0 7px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .pillar { border-left: 0; padding: 16px 12px; }
  .pillar:nth-child(odd) { padding-left: 0; }
  .logo { height: 44px; }
  h1 { font-size: 27px; }
  .tagline { font-size: 18px; }
  .lede { font-size: 15px; }
}
