@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #101927;
  --copy: #353733;
  --muted: #585953;
  --rust: #963f2b;
  --line: #dedcd2;
  --card-border: #978b7d;
  --tray: #f0ebdf;
  --surface: #fffefa;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1280px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { border-bottom: 1px solid #efede5; background: #f9f7f2; }
.masthead-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 700 1.38rem/1.12 var(--serif); letter-spacing: -.04em; text-decoration: none; }
.brand-mark { display: none; }
.beta-link {
  display: inline-flex; justify-content: center; align-items: center; min-height: 44px;
  padding: 8px 24px; border-radius: 12px; background: var(--ink); color: white;
  font-size: .89rem; font-weight: 550; white-space: nowrap; text-decoration: none;
}
.beta-link:hover { background: #293547; }

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "copy art" "actions art";
  column-gap: 40px;
  align-items: center;
  padding-block: 24px 66px;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-actions { grid-area: actions; align-self: start; margin-top: 19px; }
.launch-label {
  width: fit-content; display: flex; align-items: center; gap: 6px;
  margin: 0 0 15px; padding: 4px 8px; border-radius: 20px;
  background: #eeece3; font: 700 .78rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
}
.launch-label > span, .providers span, .detail-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--rust); }
h1, h2, h3 { font-family: var(--serif); }
.hero h1, .weekend h2, .beta-main h1 {
  margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -.047em;
}
.hero h1 { font-size: clamp(2rem, 3.05vw, 2.44rem); }
.hero-description, .weekend-intro { margin: 20px 0 0; color: var(--copy); font-size: clamp(1rem, 1.32vw, 1.15rem); line-height: 1.58; }
.hero-description { max-width: 540px; }
.hero-art { grid-area: art; margin: 0; padding: 8px 8px 42px; background: #f1f0e9; }
.hero-art img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

label { display: block; margin: 0 0 8px; font-size: .88rem; font-weight: 650; }
.hero-actions label { display: flex; align-items: center; gap: 8px; color: var(--rust); font: 700 .78rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.signup-description, .hero-actions .icon-mail { display: none; }
.signup-fields { display: flex; gap: 8px; }
.hero .signup-fields { position: relative; max-width: 520px; padding: 6px; border: 1px solid #edece6; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px #10192709; }
input, textarea {
  width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 4px; color: var(--ink); background: var(--surface);
}
.email-mark { align-self: center; margin-left: 9px; color: #777d80; }
.hero input { border: 1px solid transparent; padding: 9px 10px; font-size: .96rem; background: #fff; }
input::placeholder { color: #60615b; opacity: 1; }
button {
  border: 1px solid var(--ink); border-radius: 4px; padding: 11px 17px;
  background: var(--ink); color: #fff; font-weight: 650; cursor: pointer;
}
button:hover { background: #293547; }
button:disabled, button[aria-disabled="true"] { opacity: .65; cursor: default; }
.signup-fields button { flex: none; white-space: nowrap; }
.hero button { border-color: #6d2e20; background: var(--rust); font: 700 .8rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hero button:hover { background: #73311f; }
.hero button span { margin-left: 4px; }
.status { margin: 10px 0 0; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.status:empty { margin: 0; }
.providers { display: flex; gap: 8px; margin-top: 14px; }
.providers a {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 44px; padding: 8px 22px; border: 1px solid #efeee7; border-radius: 13px;
  background: #fff; font: 600 .78rem/1.25 var(--mono); text-decoration: none; text-align: center;
}
.providers a + a span { background: var(--ink); }
.providers a:hover { border-color: var(--card-border); }

.weekend { padding-block: 43px 79px; border-top: 1px solid var(--line); }
.weekend h2 { font-size: clamp(2rem, 3.2vw, 2.56rem); }
.example-quote { margin: 8px 0 0; font: italic 1.85rem/1.36 var(--serif); letter-spacing: -.023em; }
.weekend-intro { margin-top: 10px; max-width: 775px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 39px; }
.feature {
  position: relative; display: flex; flex-direction: column;
  padding: 54px 20px 20px; border: 2px solid var(--card-border); background: var(--surface);
}
.feature header > .icon { position: absolute; top: 22px; right: 23px; color: var(--rust); }
.feature h3 { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.51rem); line-height: 1.2; letter-spacing: -.028em; }
.feature p { margin: 8px 0 22px; flex: 1; color: var(--muted); line-height: 1.55; }
.feature-details {
  list-style: none; margin: 0; padding: 6px; border: 1px solid var(--card-border); background: var(--tray);
}
.feature-details li {
  min-height: 36px; display: flex; align-items: center; gap: 7px; padding: 6px 8px;
  border: 1px solid #c9c1ae; background: var(--surface); font: 600 .8rem/1.3 var(--mono); letter-spacing: .025em;
}
.feature-details li + li { margin-top: 5px; }
.feature-details .icon { color: var(--muted); font-size: .75rem; }
.feature-details .icon-check { color: var(--rust); }
.detail-dot { width: 7px; height: 7px; }

.icon { position: relative; display: inline-block; flex: none; width: 1em; height: 1em; font-size: 1rem; color: inherit; }
.icon-calendar, .icon-document, .icon-mail { border: 1.5px solid currentColor; border-radius: 2px; }
.icon-calendar::before { content: ""; position: absolute; left: 0; right: 0; top: 26%; border-top: 1.5px solid currentColor; }
.icon-calendar::after { content: ""; position: absolute; left: 18%; right: 18%; top: -24%; height: 28%; border-inline: 1.5px solid currentColor; }
.icon-document { width: .78em; }
.icon-document::before { content: ""; position: absolute; inset: 36% 18% auto; height: 28%; border-block: 1px solid currentColor; }
.icon-mail { height: .73em; }
.icon-mail::before { content: ""; position: absolute; left: 25%; top: -21%; width: 48%; height: 85%; border: solid currentColor; border-width: 0 1px 1px 0; rotate: 45deg; }
.icon-check { border: 1px solid currentColor; border-radius: 50%; }
.icon-check::before { content: ""; position: absolute; inset: 22% 22% 36% 24%; border: solid currentColor; border-width: 0 1px 1px 0; rotate: 45deg; }
.icon-checklist::before { content: "☷"; position: absolute; inset: -3px 0; line-height: 1; }
.icon-directions { border: 1px solid currentColor; rotate: 45deg; scale: .75; }
.icon-directions::before { content: "↗"; position: absolute; inset: -1px 0 0; font-size: .65rem; line-height: 1; text-align: center; rotate: -45deg; }

.site-footer { background: #f3f1ea; }
.footer-inner { min-height: 87px; display: flex; align-items: center; gap: 21px; }
.site-footer .wordmark { font-size: 1.1rem; }
.site-footer p { color: var(--copy); font-size: .86rem; }
.site-footer small { margin-left: auto; color: var(--muted); font: .78rem/1.2 var(--mono); }

.beta-main { width: min(100% - 48px, 760px); margin: auto; padding-block: 56px 80px; }
.beta-main h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.beta-card { margin-top: 24px; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--card-border); background: var(--surface); }
.beta-card h2 { margin: 0 0 14px; font-size: 1.85rem; letter-spacing: -.04em; }
.beta-card p { margin: 12px 0; line-height: 1.55; }
.beta-card textarea { resize: vertical; }
.beta-card details { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.beta-card details summary { font-weight: 650; cursor: pointer; }
.beta-actions, .assistant-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0; }
.beta-expiry { color: var(--rust); font-size: .95rem; font-weight: 650; }
.assistant-switch button[aria-pressed="false"] { background: var(--paper); color: var(--ink); border-color: var(--card-border); }
.assistant-switch + section, .assistant-switch ~ section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.assistant-switch ~ section h3 { font-size: 1.55rem; margin: 0 0 12px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero { column-gap: 22px; }
  .feature { padding-inline: 14px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .masthead-inner { min-height: 66px; }
  .wordmark { font-size: 1.25rem; }
  .brand-mark { display: block; position: relative; width: 31px; height: 31px; flex: none; border-radius: 5px; background: var(--ink); }
  .brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 9px 10px 11px; border: 1px solid #fff; rotate: 45deg; }
  .brand-mark::after { margin-top: 4px; border-top: 0; border-left: 0; }
  .beta-link { min-height: 44px; padding-inline: 15px; border-radius: 10px; }
  .hero { grid-template-areas: "copy" "art" "actions"; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 17px 27px; }
  .hero-copy { align-self: start; }
  .hero h1 { font-size: clamp(1.85rem, 7.8vw, 2.6rem); letter-spacing: -.046em; }
  .launch-label { color: var(--rust); margin-bottom: 10px; }
  .hero-description { margin-top: 12px; }
  .hero-art { padding: 0; background: transparent; overflow: hidden; border-radius: 4px; }
  .hero-art img { aspect-ratio: 16 / 9; }
  .hero-actions { margin: 6px 0 0; padding: 16px; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px #10192713; }
  .hero-actions label { color: var(--ink); }
  .hero-actions .icon-mail, .signup-description { display: block; }
  .hero-actions .icon-mail { color: var(--rust); }
  .signup-description { margin: 0 0 12px; color: var(--copy); font-size: .91rem; line-height: 1.45; }
  .hero .signup-fields { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; max-width: none; box-shadow: none; }
  .email-mark { display: none; }
  .hero .signup-fields input { min-height: 48px; background: #f3f1eb; padding-inline: 12px; font-size: 1rem; }
  .hero .signup-fields button { min-height: 44px; text-transform: none; }
  .providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; padding-top: 12px; border-top: 1px solid #eeece4; }
  .providers a { background: #f3f1eb; border-radius: 4px; padding: 8px; gap: 7px; }
  .providers a span, .providers a + a span { width: 12px; height: 12px; border: 1px solid var(--rust); background: transparent; position: relative; }
  .providers a span::after { content: ""; position: absolute; inset: 25% 23% 33% 20%; border: solid var(--rust); border-width: 0 1px 1px 0; rotate: 45deg; }
  .weekend { padding-block: 0 74px; border-top: 0; }
  .weekend h2 { font-size: 1.55rem; letter-spacing: -.035em; }
  .example-quote { font-size: 1.35rem; }
  .weekend-intro { margin-top: 12px; }
  .feature-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 17px; }
  .feature { padding: 19px 20px; }
  .feature header { display: flex; align-items: center; gap: 10px; }
  .feature header > .icon { position: relative; inset: auto; }
  .feature p { margin: 12px 0; font-size: .95rem; }
  .feature-details { padding: 5px; }
  .feature-details li { min-height: 32px; font-size: .78rem; }
  .feature-details li + li { margin-top: 2px; }
  .footer-inner { flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 22px 0; text-align: center; }
  .site-footer p, .site-footer small { margin: 0; }
  .beta-main { padding-block: 37px 66px; }
}
