:root {
  color-scheme: light;
  --ink: #101f37;
  --muted: #51647d;
  --blue: #175bcc;
  --edge: #dce7f5;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #edf4fc;
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
p, h1, h2, ol { margin: 0; }
:focus-visible { outline: 3px solid #2e77e0; outline-offset: 4px; }

.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 568px;
  overflow: hidden;
  margin: 0 12px;
  padding: 24px 24px 142px;
  border-radius: 0 0 17% 17% / 0 0 45% 45%;
  background:
    radial-gradient(ellipse at 53% 125%, #3384ff 0%, transparent 72%),
    radial-gradient(ellipse at 0 0, #5297d7 0%, transparent 53%),
    radial-gradient(ellipse at 104% 0%, #5398d9 0%, transparent 49%),
    linear-gradient(170deg, #2558a7, #2c73df 87%);
  color: #fff;
}

.portal-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("./portal.svg") no-repeat center 33px / max(1120px, 100%) auto;
}

.nav {
  width: min(100%, 866px);
  min-height: 66px;
  margin: 0 auto;
  padding: 10px 15px 10px 21px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  border: 1px solid #ffffff35;
  border-radius: 999px;
  background: #ebf7ff2d;
  box-shadow: 0 6px 20px #1b4d9226, inset 0 1px 0 #ffffff1c;
  backdrop-filter: blur(13px);
}

.nav :focus-visible { outline-color: #fff; }
.brand { display: flex; align-items: center; gap: 8px; justify-self: start; font-size: 25px; font-weight: 660; letter-spacing: -.055em; white-space: nowrap; }
.brand img { display: block; }
.nav-links { display: flex; align-items: center; gap: 29px; color: #f0f7ff; font-size: 15px; font-weight: 550; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-external {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  color: #162a47;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.nav-external:hover { background: #e8f5ff; }
.nav-external .icon, .footer .icon { width: 15px; height: 15px; }

.hero-copy { max-width: 820px; margin: 45px auto 0; text-align: center; }
.eyebrow {
  color: #e4f1ff;
  font-size: 12px;
  font-weight: 670;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 { margin: 13px 0 20px; font-size: clamp(2.8rem, 7vw, 4.6rem); font-weight: 690; line-height: .98; letter-spacing: -.073em; }
h1 span { color: #8be8fb; }
.hero-description { max-width: 465px; margin: 0 auto; color: #e6f2ff; font-size: 18px; line-height: 1.35; text-wrap: pretty; }
.hero-actions { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 54px;
  width: 175px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.025em;
}
.hero-button:focus-visible { outline-color: #fff; }
.hero-button-main { background: #fff; color: #151c2a; }
.hero-button-main:hover { background: #e9f5ff; }
.hero-button-ghost { background: #1e45877a; color: #fff; }
.hero-button-ghost:hover { background: #1e4587aa; }
.hero-button .icon { width: 15px; height: 15px; }

.workspace { position: relative; width: min(866px, calc(100% - 48px)); margin: -101px auto 0; scroll-margin-top: 18px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 3px 13px; color: #fff; }
.section-label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 740; letter-spacing: .15em; }
.section-label span { width: 7px; height: 7px; border-radius: 50%; background: #99ecff; box-shadow: 0 0 11px #a6ebff90; }
.preview-tag { border: 1px solid #e4f5ff6b; border-radius: 999px; padding: 5px 10px; background: #183c7840; font-size: 11px; font-weight: 620; }

.panel-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 16px; }
.panel {
  min-width: 0;
  padding: 25px;
  border: 1px solid #dce9f8;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 30px #1e4c8d12, 0 1px 4px #1e4c8d0a;
}
.guide { background: linear-gradient(145deg, #f9fcff, #f0f7ff); scroll-margin-top: 20px; }
.tile {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 13px;
  color: #1b5dc7;
  background: #e6f1ff;
}
.tile .icon { width: 22px; height: 22px; }
h2 { font-size: 27px; font-weight: 740; line-height: 1.15; letter-spacing: -.045em; }
.panel-intro { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }

form { margin-top: 19px; }
label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 680; }
.input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #cad9ed;
  border-radius: 13px;
  background: #f7faff;
}
.input-wrap:focus-within { border-color: #4a82df; box-shadow: 0 0 0 3px #dbeaff; }
input { width: 100%; min-width: 0; min-height: 47px; padding: 11px 12px; border: 0; background: transparent; color: var(--ink); font-size: 16px; }
input::placeholder { color: #62758e; opacity: 1; font-size: 14px; }
input:focus-visible { outline: none; }
.toggle {
  display: grid;
  flex: 0 0 44px;
  height: 44px;
  margin: 0 2px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4a6485;
}
.toggle:hover { background: #e6f0fc; }
.toggle:disabled { background: transparent; color: #7487a0; cursor: default; }
.sample {
  margin: 3px 0 6px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.primary, .secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 47px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.primary { border: 1px solid #2264d4; background: #2466d7; color: #fff; }
.primary:hover:enabled { background: #184fae; }
.primary:disabled { border-color: #e6effb; background: #e6effb; color: #4e6382; cursor: default; }
.secondary { border: 1px solid #c7ddfa; background: #fff; color: #174fa6; }
.secondary:hover { background: #daebff; border-color: #aecbf3; }
.secondary .icon, .primary .icon { width: 17px; height: 17px; }

.privacy, .status { font-size: 12px; line-height: 1.45; }
.privacy { display: flex; align-items: flex-start; gap: 7px; margin-top: 13px; color: var(--muted); }
.privacy .icon { width: 15px; height: 15px; margin-top: 1px; color: #41699e; }
.status:not(:empty) { margin-top: 11px; padding: 8px 11px; border-radius: 9px; color: #155a46; background: #e6f8ef; font-weight: 620; }

.steps { display: grid; gap: 12px; margin: 17px 0 18px; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 29px 1fr; gap: 10px; align-items: start; }
.step-number { display: grid; height: 26px; place-items: center; border: 1px solid #d6e5f9; border-radius: 8px; background: #fff; color: #2b62b2; font-size: 11px; font-weight: 740; font-variant-numeric: tabular-nums; }
.steps strong { display: block; margin: 1px 0 2px; font-size: 13px; line-height: 1.3; }
.steps p { color: var(--muted); font-size: 12px; line-height: 1.4; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 4px 21px; color: var(--muted); font-size: 12px; }
.footer a { display: inline-flex; align-items: center; gap: 3px; color: #205ab5; font-weight: 650; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .hero { min-height: 0; margin-inline: 7px; padding: 14px 14px 102px; border-radius: 0 0 48px 48px; }
  .hero-copy { margin-top: 34px; }
  .portal-art { background-position: center 10px; background-size: 880px auto; }
  h1 { margin-block: 12px 16px; }
  .hero-description { max-width: 335px; font-size: 15px; }
  .hero-actions { margin-top: 19px; }
  .hero-button { min-height: 46px; width: min(145px, 50%); font-size: 14px; }
  .workspace { width: min(100% - 32px, 475px); margin-top: -69px; }
  .panel-grid { grid-template-columns: 1fr; gap: 13px; }
  .panel { padding: 21px; border-radius: 22px; }
  .nav { min-height: 52px; padding: 6px 7px 6px 9px; display: flex; justify-content: space-between; gap: 8px; }
  .brand { font-size: 20px; gap: 6px; }
  .brand img { width: 28px; height: 28px; }
  .nav-external { padding: 8px 10px; font-size: 12px; }
  .nav-links { display: none; }
}
@media (max-width: 385px) {
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
