@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Newsreader;
  src: url('/assets/newsreader.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/geist-mono.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
:root {
  --bg: #fff;
  --bg-soft: #f6f6f7;
  --ink: #101014;
  --ink-2: #6e6e76;
  --line: #e8e8ea;
  --line-strong: #dcdce0;
  --accent: #2e5bff;
  --danger: #b91c1c;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0 24px;
  background: var(--bg);
  color: var(--ink);
  font:
    400 16px/1.55 Inter,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.frame {
  max-width: 1120px;
  margin: auto;
  border-inline: 1px solid var(--line);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.header-label {
  color: var(--ink-2);
  font:
    12px 'Geist Mono',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.band:before,
.band:after {
  content: '';
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) center/1px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) center/100% 1px no-repeat;
}
.band:before {
  left: -5px;
}
.band:after {
  right: -5px;
}
main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  padding: 64px 48px;
  gap: 52px;
}
.content {
  max-width: 510px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-2);
  font:
    11px/1.5 'Geist Mono',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 22px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
h1 {
  font:
    400 clamp(38px, 4.5vw, 58px)/1.07 Newsreader,
    Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
h1 span {
  color: var(--ink-2);
}
.intro {
  color: var(--ink-2);
  max-width: 38ch;
  margin: 0 0 32px;
}
form {
  max-width: 385px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 9px;
}
input {
  width: 100%;
  min-width: 0;
  height: 64px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 10px 16px;
  font:
    400 30px 'Geist Mono',
    monospace;
  letter-spacing: 0.21em;
}
input::placeholder {
  color: #aaaab1;
  opacity: 1;
}
input[aria-invalid='true'] {
  border-color: var(--danger);
}
.help {
  margin: 11px 0 20px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}
.error {
  margin: 0 0 16px;
  color: var(--danger);
  font-size: 14px;
}
.error[hidden] {
  display: none;
}
button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 6px;
  font:
    500 14px Inter,
    sans-serif;
  padding: 13px 16px;
  cursor: pointer;
}
button:hover {
  background: #2450e6;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.availability {
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
}
.plan {
  position: relative;
  max-width: 360px;
  width: 100%;
  justify-self: center;
  transform: rotate(-3deg);
}
.plan svg {
  width: 100%;
  height: auto;
  display: block;
}
.file-tag {
  position: absolute;
  right: 0;
  top: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  font:
    14px 'Geist Mono',
    monospace;
  padding: 8px 12px;
  transform: rotate(3deg);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 48px;
  color: var(--ink-2);
  font-size: 12px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
@media (max-width: 800px) {
  main {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 0;
  }
  .content {
    margin: auto;
    width: 100%;
  }
  .plan {
    display: none;
  }
  header,
  footer {
    padding-inline: 32px;
  }
  h1 {
    font-size: 48px;
  }
  form {
    max-width: none;
  }
}
@media (max-width: 480px) {
  body {
    padding: 0;
  }
  .frame {
    border: 0;
  }
  header {
    height: 64px;
    padding: 0 24px;
  }
  main {
    padding: 40px 24px;
    align-items: start;
  }
  .kicker {
    font-size: 10px;
  }
  h1 {
    font-size: 42px;
  }
  .intro {
    font-size: 15px;
  }
  .availability br {
    display: none;
  }
  footer {
    padding: 20px 24px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .band:before,
  .band:after {
    display: none;
  }
}
