@font-face { font-family: "Familjen Grotesk"; font-weight: 400 700; font-display: swap; src: url("assets/fonts/familjen-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: "Familjen Grotesk"; font-weight: 400 700; font-display: swap; src: url("assets/fonts/familjen-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --sky: #2fb3f3;
  --pale: #cdebfb;
  --deep: #262626;
  --deep-soft: #55595c;
  --paper: #ffffff;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--deep); font: 400 1.125rem/1.6 "Familjen Grotesk", system-ui, sans-serif; overflow-x: clip; }
::selection { background: var(--pale); color: var(--deep); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h1 { max-width: 8.5em; font-size: clamp(2.75rem, 7.4vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(74rem, 100% - 3rem); margin-inline: auto; }

.top { display: flex; align-items: center; gap: 1.75rem; padding-block: 1.25rem; position: relative; }
.brand { display: flex; align-items: center; gap: 0.625rem; margin-right: auto; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; min-height: 2.75rem; }
/* The icon file has clear space around it: pulled out, its edge meets the text below. */
.brand img { width: 2.25rem; margin-left: -0.25rem; }
.top .link { font-size: 1.0625rem; }
/* Text links that stand alone take a full-height tap. */
.link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 2; padding: 0.75rem 1rem; border-radius: 0.5rem; background: var(--deep); color: #fff; }
.skip:focus { top: 1rem; }

.button { display: inline-flex; align-items: center; min-height: 3.5rem; padding: 0.5rem 1.625rem; border-radius: 0.875rem; background: var(--deep); color: #fff; font-weight: 600; font-size: 1.125rem; text-decoration: none; transition: background 160ms var(--ease), transform 160ms var(--ease); }
.button:hover { background: #444444; }
.button:active { transform: translateY(1px); }

/* The sky, with a paper plane's facets crossing it. */
.hero { position: relative; isolation: isolate; background: var(--sky); padding-bottom: clamp(9rem, 24vw, 21rem); overflow: hidden; }
.plane { position: absolute; z-index: -1; right: calc((100vw - 74rem) / 2 - 10.5rem); top: 1rem; width: min(38rem, 48vw); transform: rotate(38deg); }
.hero-copy { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); max-width: 52rem; }
.hero-copy > p:not(.beta) { margin-top: 1.5rem; max-width: 33rem; font-size: 1.3125rem; line-height: 1.45; }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.beta { margin-top: 1rem; font-size: 1.0625rem; }

.window { position: relative; border-radius: 0.875rem; overflow: hidden; background: #fafafa; box-shadow: 0 2px 6px rgb(20 30 38 / 0.14), 0 28px 64px -12px rgb(20 30 38 / 0.38); }
.lift { position: relative; margin-top: calc(-1 * clamp(9rem, 24vw, 21rem)); }
.lift .window { animation: land 900ms var(--ease) both; transform-origin: 85% 0; }
@keyframes land { from { transform: translateY(2.5rem) rotate(1.4deg); box-shadow: 0 2px 6px rgb(20 30 38 / 0.1), 0 60px 90px -20px rgb(20 30 38 / 0.28); } }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.text { max-width: 34rem; }
.text p { margin-top: 1.25rem; }

.day { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.pick { background: var(--pale); clip-path: polygon(0 0, 100% clamp(2rem, 5vw, 5rem), 100% 100%, 0 calc(100% - clamp(2rem, 5vw, 5rem))); padding-block: clamp(7rem, 14vw, 12rem); }
.pick .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.key { display: inline-block; min-width: 1.75em; margin-inline: 0.1em; padding: 0 0.5rem; border-radius: 0.375rem; background: var(--pale); font-weight: 600; line-height: 1.5; text-align: center; }
.pick .key { background: #fff; }

.private { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.private dl { border-top: 2px solid var(--deep); }
.private dl div { padding-block: 1.375rem; border-bottom: 1px solid #d5d9dc; }
.private dt { font-weight: 700; font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.25; }
.private dd { margin-top: 0.375rem; color: var(--deep-soft); max-width: 60ch; }

.get { background: var(--deep); color: #fff; clip-path: polygon(0 clamp(2rem, 5vw, 5rem), 100% 0, 100% 100%, 0 100%); padding-block: clamp(8rem, 14vw, 12rem) clamp(4rem, 7vw, 6rem); }
.get :focus-visible { outline-color: var(--pale); }
.get h2 + p { margin-top: 1.25rem; max-width: 36rem; color: #d4d8da; }
.files { margin-top: 2.75rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem; border-top: 1px solid #555a5d; }
.files > div { position: relative; padding: 1.75rem 0 0.5rem; }
/* Drawn in the middle of the gap, so the three columns stay the same width. */
.files > div + div::before { content: ""; position: absolute; inset: 0 auto 0 -2rem; width: 1px; background: #555a5d; }
.files h3 { font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1.2; }
.files p { margin-top: 0.375rem; color: #d4d8da; font-size: 1.0625rem; }
.files .button { width: 100%; justify-content: center; padding-inline: 1rem; margin-top: 1.25rem; background: var(--sky); color: var(--deep); }
.files .button:hover { background: var(--pale); }
.files .also { margin-top: 0.5rem; }
/* The visitor's system first, at full size; the others as a short list beside it. */
.files.picked { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.picked > div > h3 { font-size: 1.875rem; }
.picked > [data-os] .button { min-height: 4rem; font-size: 1.25rem; }
.rest [data-os] { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; padding-block: 1.125rem; }
.rest h3 + [data-os] { margin-top: 0.5rem; }
.rest [data-os] + [data-os] { border-top: 1px solid #555a5d; }
.rest [data-os] h3 { font-size: 1.25rem; }
.rest [data-os] p { grid-column: 1; margin-top: 0.125rem; }
.rest .button { grid-area: 1 / 2 / span 2; align-self: center; width: auto; min-height: 2.75rem; margin: 0; padding: 0; border-radius: 0.25rem; background: none; color: #fff; font-size: 1.0625rem; text-decoration: underline; text-decoration-thickness: 1px; }
.rest .button:hover { background: none; text-decoration-thickness: 2px; }
.rest [data-os] .also { grid-column: 1 / -1; }
.know { margin-top: 3rem; max-width: 46rem; color: #d4d8da; font-size: 1.0625rem; }
.know strong { color: #fff; }
.know p + p { margin-top: 0.875rem; }

/* Up a pixel: the section above is clipped, and its soft edge would show as a line. */
footer { position: relative; margin-top: -1px; background: var(--deep); color: #d4d8da; padding-block: 0 2.5rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; padding-top: 1.5rem; border-top: 1px solid #555a5d; font-size: 1rem; }
footer span { margin-right: auto; }

@media (max-width: 75rem) {
  .plane { width: 34vw; top: 7rem; right: 0.5rem; }
}
@media (max-width: 62rem) {
  .files { gap: 2.5rem; }
  .files > div + div::before { left: -1.25rem; }
  .plane { width: 27vw; }
  .hero-copy > p:not(.beta) { max-width: min(33rem, 56vw); }
}
@media (max-width: 52rem) {
  .day, .pick .grid, .private { grid-template-columns: minmax(0, 1fr); }
  .pick .text { order: -1; }
  .files, .files.picked { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .files > div { padding: 1.5rem 0; }
  .files > div + div { border-top: 1px solid #555a5d; }
  .files > div + div::before { content: none; }
  .plane { right: 0.5rem; top: 11rem; width: 24vw; }
}
@media (max-width: 34rem) {
  .plane { top: auto; bottom: calc(clamp(9rem, 24vw, 21rem) + 1.25rem); right: 1.75rem; width: 3.75rem; }
  .beta { max-width: 12rem; }
  .hero-copy > p:not(.beta) { max-width: none; }
  .pick .window { padding-bottom: 0.75rem; background: #fff; }
  .wrap { width: calc(100% - 2.5rem); }
  .top { gap: 1.25rem; }
  .act .button { width: 100%; justify-content: center; }
}
@media (max-width: 22rem) {
  .top { gap: 0.875rem; }
  .brand { gap: 0.375rem; font-size: 1.125rem; }
  .top .link { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lift .window { animation: none; }
  .button { transition: none; }
}
