/*
  The look of notch.gradiente.dev. It follows the app: the tokens below carry
  the names and the values of Shared/DesignSystem (Palette, Spacing, Radius,
  Metric), as design/system/project/tokens.json lists them on 2026-09-26.
  After a change to a token there, change it here too.

  The site loads nothing from another company: no font service, no script,
  no analytics. The display face is the system face, condensed and heavy,
  as the app draws it.
*/

:root {
  color-scheme: dark;

  /* Palette */
  --background: #17171b;
  --ground-bottom: #0e0e11;
  --surface: #232327;
  --raised: #2d2d31;
  --raised-high: #39393d;
  --surface-fill: rgba(237, 237, 246, 0.054);
  --raised-fill: rgba(237, 237, 246, 0.1);
  --raised-high-fill: rgba(237, 237, 246, 0.157);
  --label: #ffffff;
  --secondary-label: #a8a8b1;
  --tertiary-label: #85858e;
  --hairline: rgba(255, 255, 255, 0.12);
  --accent: #ffd60a;
  --on-accent: #0b0b0d;

  /* The light of a lit ground, from the top (M26) */
  --glow: color-mix(in srgb, var(--accent) 13%, transparent);

  /* Spacing */
  --xxs: 2px;
  --xs: 4px;
  --s: 8px;
  --m: 12px;
  --l: 16px;
  --xl: 24px;
  --xxl: 32px;

  /* Radius */
  --radius-cell: 16px;
  --radius-card: 24px;
  --radius-hero: 28px;

  /* Metric */
  --action: 44px;
  --action-large: 56px;
  --bar: 44px;

  /* Typeface */
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
    "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "sans-serif-condensed", "Roboto Condensed", "Arial Narrow", system-ui,
    sans-serif;
}

/* Increase Contrast: the values of the high-contrast theme, and no light. */
@media (prefers-contrast: more) {
  :root {
    --background: #000000;
    --ground-bottom: #000000;
    --surface: #1f1f23;
    --raised: #2e2e33;
    --raised-high: #3c3c43;
    --surface-fill: #1f1f23;
    --raised-fill: #2e2e33;
    --raised-high-fill: #3c3c43;
    --secondary-label: #c9c9d1;
    --tertiary-label: #9a9aa4;
    --hairline: rgba(255, 255, 255, 0.28);
    --accent: #ffe14d;
    --on-accent: #000000;
    --glow: transparent;
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  background-image:
    radial-gradient(120% 480px at 50% -80px, var(--glow), transparent 70%),
    linear-gradient(180deg, var(--background) 0%, var(--ground-bottom) 100%);
  background-repeat: no-repeat;
  color: var(--label);
  font: 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--l);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--l);
  top: var(--s);
  z-index: 1;
  padding: var(--s) var(--l);
  border-radius: 999px;
  background: var(--surface);
  color: var(--label);
}

/* The bar: the mark on the left, the pages on the right. */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--m);
  min-height: var(--bar);
  padding: var(--m) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s);
  color: var(--label);
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* SegmentedPill: a surface capsule, the chosen page on the accent. */
.segments {
  display: flex;
  gap: var(--xs);
  padding: var(--xs);
  border-radius: 999px;
  background: var(--surface);
}

.segments a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 var(--l);
  border-radius: 999px;
  color: var(--secondary-label);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.segments a[aria-current="page"] {
  background: var(--accent);
  color: var(--on-accent);
}

/* ScreenHeader: a kicker, a large condensed title, and a line. */
.header {
  display: flex;
  flex-direction: column;
  gap: var(--xxs);
  padding: var(--xl) 0 var(--xl);
}

.kicker {
  margin: 0;
  color: var(--secondary-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 13px;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.title {
  font-size: 46px;
}

.line {
  margin: var(--s) 0 0;
  font-size: 17px;
  line-height: 22px;
}

@media (min-width: 600px) {
  .title {
    font-size: 64px;
  }
}

/* Cards and groups */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--m);
}

.group-title {
  margin: var(--xl) 0 var(--s);
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

.card {
  padding: var(--xl);
  border-radius: var(--radius-card);
  background: var(--surface-fill);
}

.card h2 {
  margin: 0 0 var(--s);
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

.card p {
  margin: 0;
}

.card p + p {
  margin-top: var(--m);
}

.detail {
  color: var(--secondary-label);
}

/* Rows with a round glyph, like a group of Settings. */
.rows {
  margin: 0;
  padding: var(--s) var(--xl);
  list-style: none;
  border-radius: var(--radius-card);
  background: var(--surface-fill);
}

.row {
  display: flex;
  align-items: flex-start;
  gap: var(--m);
  padding: var(--m) 0;
}

.row + .row {
  border-top: 1px solid var(--hairline);
}

.glyph {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--action);
  height: var(--action);
  border-radius: 999px;
  background: var(--raised-fill);
  color: var(--accent);
}

.glyph svg,
.action svg,
.question svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.row-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
}

.row-detail {
  display: block;
  margin-top: var(--xxs);
  color: var(--secondary-label);
  font-size: 15px;
  line-height: 20px;
}

/* The one accent action of a screen. */
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s);
  width: 100%;
  min-height: var(--action-large);
  padding: var(--s) var(--xl);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.action-note {
  margin: var(--s) 0 0;
  color: var(--secondary-label);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

@media (min-width: 600px) {
  .action {
    width: auto;
  }

  .action-note {
    text-align: left;
  }
}

/* Questions that open, as rows of a menu card. */
.questions {
  padding: 0 var(--xl);
  border-radius: var(--radius-card);
  background: var(--surface-fill);
}

.question + .question {
  border-top: 1px solid var(--hairline);
}

.question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--m);
  min-height: var(--action-large);
  padding: var(--m) 0;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
  list-style: none;
}

.question summary::-webkit-details-marker {
  display: none;
}

.question summary svg {
  flex: none;
  color: var(--tertiary-label);
  transition: transform 0.2s ease;
}

.question[open] summary svg {
  transform: rotate(90deg);
}

.question .answer {
  margin: 0;
  padding: 0 0 var(--l);
  color: var(--secondary-label);
}

@media (prefers-reduced-motion: reduce) {
  .question summary svg {
    transition: none;
  }
}

/* The home page: the strip of the launch screen over the name. */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--xl) 0 var(--xxl);
  text-align: center;
}

.hero img {
  width: min(100%, 520px);
  height: auto;
}

.hero .display {
  margin-top: var(--l);
  font-size: 84px;
}

.hero .line {
  max-width: 28em;
  color: var(--secondary-label);
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--m);
  margin-top: var(--xl);
}

/* An outlined capsule: a way on, with no accent. */
.outline {
  display: inline-flex;
  align-items: center;
  min-height: var(--action);
  padding: 0 var(--xl);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--label);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* The foot of each page. */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s);
  margin-top: var(--xxl);
  padding: var(--xxl) 0 var(--xxl);
  border-top: 1px solid var(--hairline);
  color: var(--secondary-label);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.foot img {
  width: 132px;
  height: auto;
  opacity: 0.9;
}

.foot nav {
  display: flex;
  gap: var(--l);
}

.foot a {
  color: var(--secondary-label);
}

.foot p {
  margin: 0;
}
