/* Whaaat Company site: the "Mono" look from the design canvas.
   Change colours, type and spacing here, not in the page. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour */
  --ground: #f4f4f2;          /* page background */
  --ink: #111111;             /* headings, primary buttons, About background */
  --accent: #111111;          /* the "aaa" in the wordmark, eyebrows */
  --muted: #545454;           /* body copy, captions */
  --line: #e7e7e7;            /* card borders, footer rule */
  --dash: #c4c4c4;            /* dashed "More on the way" border */
  --tint: #e2e2e2;            /* hero pill, blob, support card */
  --card: #ffffff;            /* app card */
  --on-dark: #cbcbcb;         /* body text in About */
  --on-dark-rule: #2e2e2e;    /* dividers in About */
  --on-dark-eyebrow: #a0a0a0; /* "About" label */

  /* Type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: 96px;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}
p { margin: 0; }

.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--secondary { padding: 0 26px; border: 2px solid var(--ink); color: var(--ink); }
.btn--primary:hover { background: #333; }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 48px; padding: 0 24px; }

/* Header */

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 800 28px/1 var(--font-display);
  letter-spacing: -.03em;
  text-decoration: none;
}
.wordmark span { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 48px;
  padding: 40px 0 var(--section);
}
.hero__text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 14px;
  font-weight: 600;
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  line-height: .98;
  letter-spacing: -.035em;
}
.hero h1 span { display: block; color: var(--accent); }
.lead {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__art {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 100%);
  aspect-ratio: 1;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--tint);
}
.stage .app-icon {
  position: relative;
  width: 58%;
  border-radius: 22.4%;
  box-shadow: 0 30px 60px rgba(18, 20, 43, .22);
}
.chip {
  position: absolute;
  left: -8px;
  bottom: 12%;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 20, 43, .14);
  font-size: 14px;
  font-weight: 600;
}

/* Device frame for a real app screenshot, 268 x 555 like the canvas.
   Usage: <div class="device"><img src="..." alt="..."></div> */
.device {
  position: relative;
  width: 268px;
  height: 555px;
  padding: 10px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(18, 20, 43, .22);
}
.device img {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
}

/* Sections */

.section { padding-bottom: var(--section); }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.section h2,
.about h2 { font-size: clamp(32px, 4.5vw, 52px); }

/* Apps */

.apps { display: flex; flex-wrap: wrap; gap: 24px; }
.app-card {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
}
.app-card .app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22.4%;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
}
.app-card h3 { font-size: 30px; letter-spacing: -.025em; }
.app-card p,
.soon p {
  max-width: 460px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 3px;
}
.app-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.soon {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 36px;
  border: 2px dashed var(--dash);
  border-radius: 28px;
}
.soon h3 { font-size: 26px; letter-spacing: -.025em; }

/* About */

.about {
  padding: var(--section) 0;
  background: var(--ink);
  color: #fff;
}
.about .wrap { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.about__intro {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.about .eyebrow { color: var(--on-dark-eyebrow); }
.about__intro p {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark);
}
.values { flex: 1 1 380px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.values li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 0;
  border-top: 1px solid var(--on-dark-rule);
}
.values li:last-child { border-bottom: 1px solid var(--on-dark-rule); }
.values h3 { flex: 0 0 150px; font-size: 22px; letter-spacing: -.02em; }
.values p { flex: 1 1 220px; color: var(--on-dark); }

/* Support */

.support { padding: var(--section) 0; }
.support__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
  background: var(--tint);
}
.support__card > div {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.support h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.support p { max-width: 480px; font-size: 18px; line-height: 1.55; color: var(--muted); }

/* Footer */

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 24px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-underline-offset: 3px;
}
.site-footer a:hover { color: var(--ink); }

/* Plain pages (404) */

.plain { padding: 40px 0 var(--section); }
.plain h1 { margin: 16px 0 20px; font-size: clamp(40px, 6vw, 64px); }
.plain p { margin-bottom: 28px; font-size: 20px; color: var(--muted); }
