/* equinoxe.app — site styles */

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

:root {
  --night: #0d1117;
  --night-deep: #05070a;
  --night-surface: #161b24;
  --night-surface-2: #11151c;
  --night-line: #232a36;
  --night-line-2: #2f3747;
  --night-line-3: #3a4252;
  --night-text: #eef0f3;
  --night-text-2: #c9cfd9;
  --night-muted: #9aa3b2;
  --night-faint: #6b7485;

  --day: #f5f3ee;
  --day-surface: #ffffff;
  --day-line: #e4e0d8;
  --day-line-2: #d9d4ca;
  --day-text: #12151b;
  --day-text-2: #4a505c;
  --day-muted: #5b6270;
  --day-accent: #8a5200;

  --accent: #f0b44c;
  --accent-glow: rgba(240, 180, 76, 0.55);
  --accent-halo: rgba(240, 180, 76, 0.15);

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: 24px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--night-text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

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

/* ---------- Sections: day / night ---------- */

.section {
  padding-top: 112px;
  padding-bottom: 112px;
}
.section--day {
  background: var(--day);
  color: var(--day-text);
}
.section--night {
  background: var(--night);
  color: var(--night-text);
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.section--day .eyebrow {
  color: var(--day-muted);
}

.h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.section--day .em {
  color: var(--day-accent);
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--night-muted);
}
.section--day .lead {
  color: var(--day-muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.section-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--accent {
  background: var(--accent);
  color: var(--night);
}
.btn--accent:hover {
  background: #f4c46c;
}
.btn--light {
  background: var(--day);
  color: var(--night);
}
.btn--light:hover {
  background: #ffffff;
}
.btn--ghost {
  border-color: var(--night-line-3);
  color: var(--night-text);
  font-weight: 500;
}
.btn--ghost:hover {
  border-color: var(--night-muted);
}
.btn--dark {
  background: var(--day-text);
  color: var(--day);
}
.btn--dark:hover {
  background: #000000;
}
.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

/* ---------- Brand mark ---------- */

.mark {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--day);
  background: linear-gradient(90deg, var(--day) 0 50%, var(--night) 50% 100%);
}
.mark--lg {
  width: 56px;
  height: 56px;
  border-color: var(--day-text);
  background: linear-gradient(90deg, var(--day) 0 50%, var(--day-text) 50% 100%);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--night-text);
  text-decoration: none;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.wordmark__tld {
  color: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 10;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav__links {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__links a {
  display: inline-block;
  padding: 12px 0;
  color: var(--night-text-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav__links a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--night-line-2);
  background: var(--night-surface);
  color: var(--night-text);
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--night-line-2);
    background: var(--night-surface);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav__links {
    flex-direction: column;
    gap: 0;
  }
  .site-nav__links a {
    display: block;
    padding: 14px 12px;
    font-size: 17px;
  }
}

/* ---------- Hero ---------- */

.hero {
  overflow-x: clip; /* orbit rings may extend past narrow screens */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 112px;
}
.hero__copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #2a3140;
  background: var(--night-surface);
  font-size: 14px;
  color: var(--night-text-2);
}
.dot {
  display: block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__title {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--night-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  font-size: 14px;
  color: var(--night-muted);
}
.hero__tags li + li::before {
  content: "/";
  margin-right: 16px;
  color: var(--night-line-3);
}

/* ---------- Hero visual: animated phone ---------- */

.hero__visual {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 660px;
}
.orbit,
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
}
.orbit {
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border: 1px dashed var(--night-line-2);
}
.orbit-ring {
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border: 1px solid #1a202b;
}
.orbit--spin {
  border: 0;
  animation: eq-spin 10s linear infinite;
}
.orbit__sun,
.orbit__moon {
  position: absolute;
  left: 50%;
  border-radius: 50%;
}
.orbit__sun {
  top: -9px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-halo);
}
.orbit__moon {
  bottom: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--night-text-2);
}

.phone {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 300px;
  height: 616px;
  margin-left: -150px;
  padding: 10px;
  border-radius: 52px;
  background: var(--night-deep);
  border: 1px solid var(--night-line-2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--day);
}
.phone__island {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  border-radius: var(--radius-pill);
  background: var(--night-deep);
  z-index: 5;
}

/* App UI inside the phone; themed by .ui--day / .ui--night */
.ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 56px 18px 16px;
  --ui-bg: var(--day);
  --ui-card: var(--day-surface);
  --ui-line: var(--day-line);
  --ui-text: var(--day-text);
  --ui-muted: var(--day-muted);
  --ui-strong: var(--day-text);
  --ui-skel: var(--day-line-2);
  --ui-skel-2: #ece8e0;
  --ui-icon: var(--day-accent);
  background: var(--ui-bg);
  color: var(--ui-text);
}
.ui--night {
  --ui-bg: var(--night);
  --ui-card: var(--night-surface);
  --ui-line: var(--night-line);
  --ui-text: var(--night-text);
  --ui-muted: var(--night-muted);
  --ui-strong: var(--night-text);
  --ui-skel: var(--night-line-2);
  --ui-skel-2: var(--night-line);
  --ui-icon: var(--accent);
  clip-path: inset(0 0 0 50%);
  animation: eq-wipe 10s ease-in-out infinite;
}
.ui__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui__greeting {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ui__day {
  font-size: 12px;
  color: var(--ui-muted);
}
.ui__hello {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.ui__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ui-card);
  border: 1px solid var(--ui-line);
  color: var(--ui-icon);
}
.ui__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--ui-card);
  border: 1px solid var(--ui-line);
}
.ui__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}
.ui__chip {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--ui-bg);
  font-size: 11px;
  font-weight: 400;
  color: var(--ui-muted);
}
.ui__bars,
.ui__days {
  display: flex;
  justify-content: space-between;
}
.ui__bars {
  height: 84px;
  align-items: flex-end;
}
.ui__bar {
  width: 20px;
  height: 100%;
  border-radius: 6px;
  background: var(--ui-strong);
  transform-origin: bottom;
  animation: eq-bar 2.4s ease-in-out infinite;
}
.ui__bar--today {
  background: var(--accent);
}
.ui__bar--future {
  background: var(--ui-skel);
}
.ui__bar:nth-child(2) { animation-delay: -0.4s; }
.ui__bar:nth-child(3) { animation-delay: -0.8s; }
.ui__bar:nth-child(4) { animation-delay: -1.2s; }
.ui__bar:nth-child(5) { animation-delay: -1.6s; }
.ui__bar:nth-child(6) { animation-delay: -2s; }
.ui__bar:nth-child(7) { animation-delay: -2.2s; }
.ui__days span {
  width: 20px;
  text-align: center;
  font-size: 10px;
  color: var(--ui-muted);
}
.ui__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ui__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--ui-card);
  border: 1px solid var(--ui-line);
}
.ui__tile {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ui-skel);
}
.ui__tile--strong { background: var(--ui-strong); }
.ui__tile--accent { background: var(--accent); }
.ui__lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ui__line {
  height: 8px;
  border-radius: 4px;
  background: var(--ui-skel);
}
.ui__line--sub {
  height: 6px;
  border-radius: 3px;
  background: var(--ui-skel-2);
}
.ui__check {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--ui-skel);
}
.ui__check--done {
  border-color: var(--ui-strong);
  background: var(--ui-strong);
}
.ui__tabs {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 56px;
  border-radius: 20px;
  background: var(--ui-card);
  border: 1px solid var(--ui-line);
}
.ui__tab {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--ui-skel);
}
.ui__tab--round { border-radius: 50%; }
.ui__tab--active {
  width: 40px;
  height: 28px;
  border-radius: 10px;
  background: var(--ui-strong);
}

.terminator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  box-shadow: 0 0 16px 2px var(--accent-glow);
  opacity: 0;
  z-index: 3;
  animation: eq-line 10s ease-in-out infinite;
}

.toast {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 48px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(22, 27, 36, 0.94);
  border: 1px solid var(--night-line-2);
  color: var(--night-text);
  opacity: 0;
  animation: eq-pop 10s ease-out infinite;
}
.toast__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--night);
}
.toast__icon .mark {
  width: 16px;
  height: 16px;
}
.toast__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.toast__title {
  font-size: 12px;
  font-weight: 600;
}
.toast__body {
  font-size: 11px;
  color: var(--night-muted);
}

.chip {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: var(--night-surface);
  border: 1px solid #2a3140;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  animation: eq-float 5s ease-in-out infinite;
}
.chip--design { left: 0; top: 120px; }
.chip--build { right: 0; top: 300px; animation-delay: -1.7s; }
.chip--grow { left: 16px; bottom: 70px; animation-delay: -3.2s; }
.chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.chip--design .chip__icon { background: var(--day); color: var(--night); }
.chip--build .chip__icon { background: var(--night); border: 1px solid var(--night-line-2); color: var(--night-text); }
.chip--grow .chip__icon { background: var(--accent); color: var(--night); }
.chip__text {
  display: flex;
  flex-direction: column;
}
.chip__title {
  font-size: 13px;
  font-weight: 600;
}
.chip__sub {
  font-size: 11px;
  color: var(--night-muted);
}

@media (max-width: 520px) {
  .stage {
    height: 600px;
  }
  .phone {
    transform: scale(0.9);
    transform-origin: top center;
  }
  .orbit { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .orbit-ring { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
  .chip--design { top: 0; }
  .chip--build { top: 270px; }
  .chip--grow { bottom: 60px; left: 0; }
}

@keyframes eq-wipe {
  0%, 10% { clip-path: inset(0 0 0 100%); }
  40%, 60% { clip-path: inset(0 0 0 0); }
  90%, 100% { clip-path: inset(0 100% 0 0); }
}
@keyframes eq-line {
  0%, 10% { left: 100%; opacity: 0; }
  13%, 37% { opacity: 1; }
  40% { left: 0; opacity: 0; }
  60% { left: 100%; opacity: 0; }
  63%, 87% { opacity: 1; }
  90%, 100% { left: 0; opacity: 0; }
}
@keyframes eq-spin {
  to { transform: rotate(360deg); }
}
@keyframes eq-bar {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
@keyframes eq-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes eq-pop {
  0%, 8% { opacity: 0; transform: translateY(-8px) scale(0.96); }
  14%, 30% { opacity: 1; transform: translateY(0) scale(1); }
  36%, 100% { opacity: 0; transform: translateY(-8px) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ui--night,
  .terminator,
  .orbit--spin,
  .ui__bar,
  .chip,
  .toast {
    animation: none !important;
  }
  .btn { transition: none; }
}

/* ---------- Cards (studio) ---------- */

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.split-head .section-head {
  max-width: 640px;
}
.split-head .lead {
  max-width: 380px;
  font-size: 17px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--day-surface);
  border: 1px solid var(--day-line);
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--night);
  color: var(--day);
}
.card__icon--accent {
  background: var(--accent);
  color: var(--night);
}
.card__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--day-muted);
}
.card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.card__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--day-text-2);
}

/* ---------- Portfolio ---------- */

.project {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--night-surface);
  border: 1px solid var(--night-line);
}
.project__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.project__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px dashed var(--night-line-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--night-faint);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--night-line-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--night-text-2);
}
.status .dot { width: 7px; height: 7px; }
.status--design .dot { background: var(--night-text-2); }
.status--explore .dot { background: var(--night-faint); }
.project__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.project__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--night-muted);
}
.project__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--night-line);
  font-size: 14px;
  color: var(--night-muted);
}

.notify {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid #2a3140;
  background: var(--night-surface-2);
}
.notify__copy {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.notify__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.notify__body {
  margin: 0;
  font-size: 15px;
  color: var(--night-muted);
}

/* ---------- Approach ---------- */

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 2px solid var(--day-text);
}
.step--accent {
  border-top-color: var(--accent);
}
.step__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--day-muted);
}
.step__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--day-text-2);
}

/* ---------- About ---------- */

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 80px;
}
.about__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__copy .lead {
  line-height: 1.65;
}
.quote {
  margin: 8px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--night-line);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  color: var(--night-text);
}
.values {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.value {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--night-surface);
  border: 1px solid var(--night-line);
}
.value__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--night-line-2);
  color: var(--accent);
}
.value__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.value__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}
.value__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--night-muted);
}

/* ---------- Contact ---------- */

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.contact__title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.contact .lead {
  max-width: 540px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night);
  border-top: 1px solid #1e2430;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand p {
  margin: 0;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--night-muted);
}
.footer-col {
  flex: 0 1 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  color: var(--night-text-2);
}
.footer-col__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a93a3;
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a,
.footer-col span {
  display: inline-block;
  padding: 6px 0;
  color: var(--night-text-2);
  text-decoration: none;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #1e2430;
  font-size: 14px;
  color: #8a93a3;
}

/* ---------- Legal / simple pages ---------- */

.page {
  padding-top: 64px;
  padding-bottom: 112px;
}
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--day-text-2);
}
.prose h1 {
  margin: 0 0 8px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--day-text);
}
.prose h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--day-text);
}
.prose p,
.prose ul {
  margin: 0 0 16px;
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  color: var(--day-accent);
}
.prose .updated {
  margin-bottom: 40px;
  font-size: 15px;
  color: var(--day-muted);
}

.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 112px;
}
.not-found .h2 {
  font-size: clamp(44px, 6vw, 80px);
}

@media (max-width: 600px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .hero {
    padding-bottom: 80px;
    gap: 40px;
  }
  .hero__lead {
    font-size: 18px;
  }
  .card,
  .project,
  .notify,
  .value {
    padding: 24px;
  }
  .quote {
    font-size: 22px;
  }
}
