@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #000;
  --gutter: clamp(1rem, 3.5vw, 4.5rem);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { color: var(--paper); background: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: var(--gutter);
  z-index: 10;
  padding: .75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.page {
  min-height: 100svh;
  padding: 0 var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: max(clamp(.5rem, 3svh, 2.75rem), env(safe-area-inset-top)) .15rem 0;
  font-size: clamp(1rem, 1.45vw, 1.375rem);
  line-height: 1.5;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin-left: auto;
  gap: clamp(1.25rem, 3vw, 3rem);
}
.site-header nav a {
  padding-bottom: .2rem;
  border-bottom: 1.5px solid transparent;
}
.site-header [aria-current="page"] { border-bottom-color: var(--ink); }
[aria-disabled="true"] { cursor: default; }

.home-document,
.home-document body { height: 100%; overflow: clip; }
.home-page {
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.home-page .site-footer {
  padding-top: clamp(.375rem, 1.6dvh, 1rem);
  padding-bottom: max(clamp(.5rem, 2dvh, 1.5rem), env(safe-area-inset-bottom));
}
.home {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.home:focus { outline: none; }
.snow-scene {
  min-width: 0;
  min-height: 0;
  container-type: size;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(1dvh, .75rem) 2px;
}
.snowbank {
  --snowman-width: min(13.2vw, 12rem, 22cqh);
  --pile-side: 23%;
  position: relative;
  isolation: isolate;
  width: 100%;
  flex: none;
  margin-top: var(--snowman-width);
  padding: var(--pile-top, 3em) var(--pile-side) var(--pile-bottom, 1em);
  font-size: var(--copy-size, min(clamp(1.125rem, 2.15vw, 2.125rem), 5cqh));
}
.snowbank__outline {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 3.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.snowbank__outline path { vector-effect: non-scaling-stroke; }
.snowbank__narrow { display: none; }
.snowbank[data-contour="compact"] { --pile-side: 14%; }
.snowbank[data-contour="compact"] .snowbank__wide { display: none; }
.snowbank[data-contour="compact"] .snowbank__narrow { display: block; }
.snowman {
  position: absolute;
  width: var(--snowman-width);
  height: auto;
  left: calc(70% - var(--snowman-width) * .5);
  bottom: calc(96% - var(--snowman-width) * .08);
  overflow: visible;
}
.snowman__line {
  stroke: var(--ink);
  stroke-width: 3.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
}
.snowman__white { fill: var(--paper); }
.snowman__black { fill: var(--ink); }
.snowbank__copy {
  position: relative;
  text-align: center;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.snowbank__copy p { margin: 0; }
.snowbank__copy p + p { margin-top: .25em; }

.wordmark {
  position: relative;
  width: 100%;
  height: min(12vw, 22dvh);
  container-type: inline-size;
  margin: clamp(.35rem, 1.5dvh, 1.25rem) 0 clamp(.4rem, 2dvh, 1.5rem);
  font-size: 11.9vw;
  font-weight: 900;
  line-height: 1.12;
  white-space: nowrap;
}
.wordmark span {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  font-size: min(10.4cqw, 19.6dvh);
  letter-spacing: -.015em;
  transform-origin: left bottom;
  /* JavaScript fits the width and caps the height on very short screens. */
}
.site-footer {
  border-top: 1px solid var(--ink);
  padding: 1.25rem .15rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .875rem;
  line-height: 1.5;
}
.site-footer small { font-size: inherit; }
.site-footer a:hover,
.site-footer [aria-current="page"] { text-decoration: underline; text-underline-offset: .2em; }

.interior {
  flex: 1;
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.interior:focus { outline: none; }
.interior h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.015em;
}
.about-intro p {
  margin: 1.5rem 0 0;
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.app-previews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin: clamp(3.5rem, 6vw, 6rem) 0 0;
  padding: 0;
  list-style: none;
}
.app-preview {
  min-width: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}
.app-preview__icon {
  --icon-top: var(--paper);
  --icon-bottom: color-mix(in srgb, var(--paper) 96%, var(--ink));
  --icon-grid: color-mix(in srgb, var(--ink) 14%, transparent);
  --icon-guide: color-mix(in srgb, var(--ink) 24%, transparent);
  position: relative;
  display: block;
  width: clamp(4rem, 6vw, 5rem);
  aspect-ratio: 1;
  border-radius: 22.5%;
  overflow: hidden;
  background: linear-gradient(155deg, var(--icon-top), var(--icon-bottom));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
}
.app-preview__icon-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--icon-grid) .65px, transparent .65px), linear-gradient(90deg, var(--icon-grid) .65px, transparent .65px);
  background-size: 12.5% 12.5%;
  background-position: center;
}
.app-preview__icon-grid::before,
.app-preview__icon-grid::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -21%;
  width: 142%;
  height: .75px;
  background: var(--icon-guide);
  transform: rotate(45deg);
}
.app-preview__icon-grid::after { transform: rotate(-45deg); }
.app-preview__icon-square {
  position: absolute;
  inset: 15%;
  border: .75px solid var(--icon-grid);
  border-radius: 3%;
}
.app-preview__icon-ring {
  position: absolute;
  inset: 10%;
  border: .9px solid var(--icon-guide);
  border-radius: 50%;
}
.app-preview__icon-ring--middle { inset: 22%; }
.app-preview__icon-ring--inner { inset: 33%; }
.app-preview__blur {
  margin-top: 2rem;
  padding: .5rem;
  filter: blur(.7rem);
}
.app-preview__title {
  display: flex;
  align-items: center;
  gap: .08em;
  min-height: 1.5em;
  margin-bottom: 1.125rem;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.5;
}
.app-preview__summary { font-size: 1.0625rem; line-height: 1.9; }
/* Empty shapes suggest characters and wrapping words without concealed text. */
.app-preview__title span,
.app-preview__summary span {
  display: inline-block;
  max-width: 100%;
  height: .65em;
  background: repeating-linear-gradient(90deg, var(--ink) 0 .13em, transparent .13em .18em);
}
.app-preview__title span { width: .5em; height: .75em; background: var(--ink); }
.app-preview__title .app-preview__dash { width: .35em; height: .12em; margin-inline: .05em; }
.app-preview__summary span { width: 3em; }
.app-preview__summary span:nth-child(4n + 1) { width: 4.4em; }
.app-preview__summary span:nth-child(4n + 2) { width: 2.2em; }
.app-preview__summary span:nth-child(4n + 3) { width: 3.6em; }
.app-preview:nth-child(2) .app-preview__summary span:nth-child(3n) { width: 4.7em; }
.app-preview:nth-child(3) .app-preview__summary span:nth-child(3n + 1) { width: 2.8em; }
.contact-page,
.privacy-page {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-content: start;
  gap: clamp(3rem, 7vw, 7rem);
}
.contact-form { width: 100%; max-width: 42rem; justify-self: end; }
.legal-page .privacy-heading h1 { font-size: clamp(3rem, 5vw, 5rem); overflow-wrap: normal; }
.privacy-heading p { margin: 1.5rem 0 0; font-size: .9375rem; line-height: 1.5; }
.privacy-copy {
  width: 100%;
  max-width: 42rem;
  justify-self: end;
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.privacy-copy p { margin: 0; }
.privacy-copy p + p { margin-top: 1rem; }
.privacy-copy .privacy-intro { font-size: 1.25rem; line-height: 1.55; }
.privacy-copy section { margin-top: 2.5rem; }
.privacy-copy h2 { margin: 0 0 .75rem; font-size: 1.375rem; font-weight: 700; line-height: 1.3; }
.privacy-copy a,
.form-note a { text-decoration: underline; text-underline-offset: .2em; }
.contact-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 2rem;
}
.form-field { display: grid; gap: .75rem; }
.form-field label { font-size: 1rem; font-weight: 500; }
.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: .875rem 1rem;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
.form-field input {
  border-width: 0 0 1px;
  padding-inline: 0;
}
.form-field textarea { min-height: 10rem; resize: vertical; }
.form-note { margin: 0; font-size: .9375rem; line-height: 1.6; }
.send-button {
  justify-self: start;
  min-height: 3.25rem;
  padding: .875rem 1.75rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
}
.send-button:hover:not(:disabled) { color: var(--ink); background: var(--paper); }
.send-button:disabled { cursor: wait; }
.form-status { min-height: 1.5em; margin: 1.25rem 0 0; font-size: 1rem; line-height: 1.5; }
.form-status[data-state="error"] { text-decoration: underline; text-underline-offset: .2em; }
.receipt-page { display: grid; place-content: center; gap: 2rem; text-align: center; }
.receipt-page p { font-size: 1.125rem; }
.receipt-page a { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 700px) {
  .site-header { gap: 1rem; font-size: .9375rem; }
  .site-header nav { gap: 1rem; }
  .snowbank {
    --pile-side: 14%;
    font-size: var(--copy-size, min(clamp(1.125rem, 3.6vw, 1.5rem), 3.5cqh));
  }
  .snowbank__wide { display: none; }
  .snowbank__narrow { display: block; }
  .snowbank__outline { stroke-width: 2.5; }
  .snowbank__copy { line-height: 1.5; }
  .snowbank__copy p + p { margin-top: .65em; }
  .snowman { left: calc(67% - var(--snowman-width) * .5); }
  .desktop-break { display: none; }
  .app-previews { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .contact-page,
  .privacy-page { grid-template-columns: minmax(0, 1fr); }
  .contact-form,
  .privacy-copy { max-width: none; }
}

@media (max-width: 380px) {
  .site-header { flex-wrap: wrap; gap: .75rem; }
  .site-header nav { margin-left: auto; }
}
