@font-face {
  font-family: "Commissioner";
  src: url("fonts/commissioner_regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  src: url("fonts/commissioner_semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  src: url("fonts/commissioner_bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f8f3ed;
  --ground-deep: #f1e9df;
  --surface: #fffdfa;
  --blob: #ebe1d4;
  --ink: #2f2a26;
  --ink-soft: #5c544c;
  --ink-muted: #857b71;
  --fur: #908070;
  --line: rgba(47, 42, 38, 0.12);
  --line-strong: rgba(47, 42, 38, 0.28);
  --shadow: 0 1px 2px rgba(47, 42, 38, 0.04), 0 12px 32px rgba(47, 42, 38, 0.07);
  --radius: 20px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--ink);
  color: var(--ground);
  padding: 8px 14px;
  border-radius: 999px;
}

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

/* Header */

.site-header {
  padding: 22px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.brand img {
  width: 64px;
  height: auto;
}
.brand span {
  font-size: 15px;
  letter-spacing: 0.38em;
  margin-right: -0.38em;
  color: var(--ink-soft);
}
.nav {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  font-size: 15px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 16px/1 inherit;
  font-family: inherit;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--ground);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--ink);
}
.btn svg {
  width: 18px;
  height: 18px;
}

/* Hero */

.hero {
  padding: clamp(24px, 5vw, 56px) 0 clamp(40px, 7vw, 88px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.lead {
  font-size: clamp(18px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 30em;
  margin: 0 0 32px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Phones */

.stage {
  position: relative;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 4% -6% 0 4%;
  background: var(--blob);
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  transform: rotate(-8deg);
}
.phone {
  position: relative;
  width: 260px;
  aspect-ratio: 402 / 874;
  border-radius: 44px;
  background: #2b2826;
  padding: 8px;
  box-shadow: 0 30px 60px rgba(47, 42, 38, 0.22), inset 0 0 0 1.5px #6e655d;
  flex: none;
}
.phone-front {
  z-index: 2;
  transform: rotate(-6deg) translate(-44px, 22px);
}
.phone-back {
  position: absolute;
  z-index: 1;
  width: 230px;
  transform: rotate(8deg) translate(122px, -30px);
}

/* An Android phone: flatter corners, a punch-hole camera, the system's own status bar and gesture handle */

.phone.android {
  border-radius: 30px;
  padding: 6px;
  background: #1c1b1a;
  box-shadow: 0 30px 60px rgba(47, 42, 38, 0.22), inset 0 0 0 1.5px #4a4642;
}
.android .nata {
  border-radius: 25px;
}
.android .n-island {
  top: 11px;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
}
.android .n-status {
  height: 32px;
  padding: 0 14px;
  font-weight: 500;
  font-size: 9px;
}
.android .n-status::after {
  content: none;
}
.n-sys {
  display: none;
}
.android .n-sys {
  display: flex;
  gap: 4px;
  align-items: center;
}
.android .n-sys i {
  display: block;
  width: 8px;
  height: 8px;
  background: currentColor;
  opacity: 0.9;
}
.android .n-sys i:nth-child(1) {
  clip-path: polygon(50% 100%, 0 25%, 15% 10%, 50% 0, 85% 10%, 100% 25%);
}
.android .n-sys i:nth-child(2) {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.android .n-sys i:nth-child(3) {
  width: 5px;
  height: 9px;
  border-radius: 1.5px;
}
.n-gesture {
  display: none;
}
.android .n-gesture {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 64px;
  height: 3px;
  margin-left: -32px;
  border-radius: 999px;
  background: var(--t);
  opacity: 0.55;
}
.android .n-bar {
  bottom: 18px;
}

/* A Nata screen, drawn after the app's own Today: tokens per palette */

.nata {
  --muted: color-mix(in srgb, var(--t) 55%, transparent);
  --hair: color-mix(in srgb, var(--t) 10%, transparent);
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  color: var(--t);
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%),
    var(--g);
  font-size: 8.6px;
  line-height: 1.3;
  padding: 0 12px;
}
.nata.teal { --g: #eff4f3; --s: #ffffff; --t: #14211f; --a: #0f766e; --on: #ffffff; }
.nata.forest { --g: #f1f4ef; --s: #ffffff; --t: #16201a; --a: #2f6b3f; --on: #ffffff; }
.nata.rose-dark { --g: #1e1517; --s: #2c2023; --t: #faf1f2; --a: #f07a8c; --on: #201e1d; --hair: rgba(250, 241, 242, 0.14); }
.nata svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.n-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  padding: 0 14px 0 16px;
  font-weight: 600;
  font-size: 10px;
}
.n-status::after {
  content: "";
  width: 20px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.9;
}
.n-island {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 70px;
  height: 20px;
  margin-left: -35px;
  border-radius: 999px;
  background: #0d0c0b;
}
.n-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 8px 0 10px;
}
.n-greet {
  color: var(--muted);
  font-size: 9px;
  margin: 0;
}
.n-date {
  font-size: 12.5px;
  font-weight: 700;
  margin: 1px 0 0;
}
.n-round {
  display: flex;
  gap: 5px;
}
.n-round span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--s);
  border: 0.75px solid var(--hair);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.n-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 14px;
}
.n-week span {
  color: var(--muted);
  font-size: 8.5px;
}
.n-week b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 3px auto 0;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 400;
}
.n-week .next {
  color: var(--t);
  font-weight: 600;
}
.n-week .next b {
  font-weight: 700;
}
.n-week .now b {
  background: var(--a);
  color: var(--on);
}
.n-h {
  font-size: 12.5px;
  font-weight: 700;
  margin: 12px 0 7px;
}
.n-h small {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  margin-left: 3px;
}
.n-event {
  display: flex;
  gap: 7px;
  margin-bottom: 6px;
}
.n-time {
  width: 26px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  font-size: 7.6px;
  font-weight: 600;
}
.n-time i {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.n-time::after {
  content: none;
}
.n-card {
  flex: 1;
  min-height: 38px;
  background: var(--s);
  border: 0.75px solid var(--hair);
  border-radius: 10px;
  padding: 7px 8px 7px 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.n-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: var(--edge, var(--a));
}
.n-card .grow {
  flex: 1;
  min-width: 0;
}
.n-title {
  font-weight: 600;
  font-size: 9.2px;
  display: block;
}
.n-sub {
  color: var(--muted);
  font-size: 7.8px;
  display: block;
  margin-top: 1px;
}
.n-tag {
  font-size: 7px;
  font-weight: 600;
  color: var(--edge);
  background: color-mix(in srgb, var(--edge) 12%, transparent);
  border-radius: 999px;
  padding: 2px 6px;
  white-space: nowrap;
}
.n-task {
  background: var(--s);
  border: 0.75px solid var(--hair);
  border-radius: 12px;
  padding: 8px 9px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.n-ring {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.4px solid var(--ring, color-mix(in srgb, var(--t) 35%, transparent));
  flex: none;
}
.n-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 7.6px;
  margin-top: 2px;
}
.n-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: color-mix(in srgb, var(--t) 8%, transparent);
  border-radius: 999px;
  padding: 1.5px 5px;
}
.n-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.n-tabs {
  flex: 1;
  display: flex;
  justify-content: space-between;
  background: var(--s);
  border: 0.75px solid var(--hair);
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.n-tabs span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0 3px;
  border-radius: 999px;
  font-size: 6.4px;
  font-weight: 600;
  color: var(--muted);
}
.n-tabs svg {
  font-size: 11px;
}
.n-tabs .on {
  background: var(--a);
  color: var(--on);
}
.n-plus {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--s);
  border: 0.75px solid var(--hair);
  color: var(--a);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  flex: none;
}

/* Highlights */

.highlights {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground-deep);
}
.highlights .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.highlight {
  display: flex;
  gap: 18px;
}
.highlight svg {
  flex: none;
  width: 30px;
  height: 30px;
  stroke: var(--ink);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.highlight h3 {
  font-size: 19px;
  margin: 0 0 4px;
}
.highlight p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* Sections */

section {
  scroll-margin-top: 24px;
}
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.section h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* App card */

.app-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.app-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(47, 42, 38, 0.16);
}
.app-id h3 {
  font-size: 30px;
  margin: 0;
  line-height: 1.1;
}
.app-id p {
  margin: 2px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
}
.app-feature > div > p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.ticks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 7px;
  height: 12px;
  border: solid var(--fur);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.badge-note {
  font-size: 14px;
  color: var(--ink-muted);
}
.app-links {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-muted);
}
.app-links a {
  color: var(--ink-soft);
}
.app-shot {
  display: flex;
  justify-content: center;
}
.app-shot .phone {
  transform: none;
  width: 260px;
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.about-art {
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: var(--ground-deep);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.about-art img {
  width: 62%;
}
.about p {
  color: var(--ink-soft);
  margin: 16px 0 0;
}

/* Contact */

.cta {
  background: var(--blob);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 6vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  margin-bottom: 10px;
}
.cta p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34em;
}
.cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.cta-mail {
  font-size: 15px;
  color: var(--ink-soft);
}

/* Legal list on the home page */

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.legal-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.legal-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.legal-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.legal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  margin-top: clamp(40px, 6vw, 72px);
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-brand p {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}
.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.copyright {
  width: 100%;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}

/* Legal pages */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) var(--gutter) 0;
}
.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.doc .updated {
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0 0 28px;
}
.doc .summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 36px;
}
.doc .summary h2 {
  margin-top: 0;
  font-size: 19px;
}
.doc .summary ul {
  margin-bottom: 0;
}
.doc nav.toc {
  margin: 0 0 40px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}
.doc nav.toc h2 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.doc nav.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}
.doc nav.toc li {
  break-inside: avoid;
  margin-bottom: 4px;
}
.doc nav.toc a {
  color: var(--ink-soft);
  text-decoration: none;
}
.doc nav.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.doc h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  scroll-margin-top: 24px;
}
.doc h3 {
  font-size: 18px;
  margin: 28px 0 8px;
}
.doc p,
.doc li {
  color: var(--ink-soft);
}
.doc ul,
.doc ol {
  padding-left: 22px;
}
.doc li {
  margin-bottom: 6px;
}
.doc strong {
  color: var(--ink);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 20px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.doc th {
  color: var(--ink);
  font-weight: 600;
}
.doc .table-scroll {
  overflow-x: auto;
}
.doc .caps {
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.01em;
}

/* Responsive */

@media (max-width: 900px) {
  .hero .wrap,
  .app-feature,
  .about {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 470px;
  }
  .highlights .wrap,
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .app-shot {
    order: -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .site-header .wrap {
    flex-direction: column;
    gap: 14px;
  }
  .stage {
    min-height: 500px;
    overflow: hidden;
  }
  .phone-front {
    transform: rotate(-6deg) translate(-30px, 16px) scale(0.86);
  }
  .phone-back {
    transform: rotate(8deg) translate(84px, -26px) scale(0.86);
  }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
  .doc nav.toc ol {
    columns: 1;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-brand p {
    border-left: 0;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .legal-card {
    transition: none;
  }
}
