/* treye.in: the iDesign web surface. One white sheet, light only, Figtree,
   a dark footer beneath. No accent fill: colour comes from Treye's mark. */
@font-face {
  font-family: "Figtree";
  src: url("Figtree.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #121212;
  --ink-2: #676767;
  --ring: rgba(18, 18, 18, 0.08);
  --footer: #0a0a0a;
  --footer-ink: #f5f5f5;
  --footer-ink-2: #a3a3a3;
  --focus: #1b77f3;
  --pad: clamp(20px, 4vw, 40px);
  --measure: 68ch;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { background: var(--footer); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sheet { padding-inline: var(--pad); padding-block: 24px 96px; }
.wrap { max-width: 1200px; margin-inline: auto; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.brand img { width: 40px; height: 40px; }
.bar nav { display: flex; gap: 20px; font-size: 15px; color: var(--ink-2); }
.bar nav a { text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.bar nav a:hover { color: var(--ink); }

.hero { padding-block: clamp(56px, 10vw, 120px) clamp(40px, 6vw, 72px); max-width: 820px; }
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero p {
  margin: 24px 0 0;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: balance;
}
.hero .mark { width: clamp(72px, 10vw, 112px); height: auto; margin-bottom: 28px; }

.doc { max-width: var(--measure); padding-block: clamp(40px, 7vw, 88px) 0; }
.doc h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.doc .dated { margin: 16px 0 40px; color: var(--ink-2); font-size: 15px; }
.doc h2 { margin: 44px 0 10px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.doc p, .doc li { color: #2a2a2a; }
.doc ul { padding-left: 22px; }
.doc li { margin-block: 6px; }
.doc .lead { font-size: 19px; color: var(--ink); }

footer {
  background: var(--footer);
  color: var(--footer-ink-2);
  padding-inline: var(--pad);
  padding-block: 48px 64px;
  font-size: 15px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer .name { color: var(--footer-ink); font-weight: 500; letter-spacing: -0.02em; font-size: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--footer-ink); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
footer a:hover { text-decoration: underline; }
footer .contact { user-select: all; }

@media (prefers-reduced-motion: no-preference) {
  .bar nav a, footer a { transition: color 160ms cubic-bezier(0.2, 0, 0, 1); }
}
