@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@property --sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 360deg;
}

:root {
  --navy: #0C1626;
  --panel: #122236;
  --white: #F4F7FB;
  --gray: #A9BBD1;
  --green: #21E07B;
  --miss: #5C7698;
  --ink-soft: #3C4F68;
  --gutter: clamp(16px, 4.5vw, 72px);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--green); text-decoration-thickness: 2px; }

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

h1, h2, h3, p, ol, table { margin: 0; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.125rem; font-weight: 700; }
.brand svg { width: 30px; height: 30px; }
.brand b { font-weight: 700; }
.brand span { font-weight: 400; color: var(--gray); }

.lang { color: var(--gray); font-size: 0.9375rem; }

/* Hero: the Gedik Labs mark, drawn from the MatchLens record */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: clamp(12px, 2vw, 32px) var(--gutter) clamp(56px, 7vw, 104px);
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.5rem);
  font-stretch: 125%;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.lede { margin-top: 24px; max-width: 34ch; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.4; color: var(--gray); }

.record { margin-top: 36px; max-width: 46ch; }
.record[hidden] { display: none; }
.record p { font-size: 0.9375rem; color: var(--gray); }
.record strong { color: var(--white); font-weight: 600; }

.key { display: inline-block; width: 3px; height: 0.95em; margin-right: 5px; vertical-align: -0.1em; background: var(--white); }
.key.is-miss { background: var(--miss); }

.markets { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 0.9375rem; }
.markets tr { border-top: 1px solid rgba(169, 187, 209, 0.2); cursor: default; }
.markets th { padding: 7px 0; font-weight: 400; text-align: left; color: var(--gray); }
.markets td { padding: 7px 0; text-align: right; }
.markets tr.is-active th { color: var(--white); }
.markets tr:focus-visible { outline-offset: 0; }

.mark { position: relative; width: 100%; max-width: min(100%, 86vh); aspect-ratio: 1; margin: 0 0 0 auto; }
.mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.bar { pointer-events: none; }

.ticks { -webkit-mask-image: conic-gradient(from 90deg, #000 var(--sweep), transparent 0); mask-image: conic-gradient(from 90deg, #000 var(--sweep), transparent 0); }
.ticks.is-drawing { animation: sweep 1.5s cubic-bezier(0.35, 0, 0.2, 1) both; }
.ticks g { transition: opacity 120ms linear; }
.ticks.has-active g:not(.is-active) { opacity: 0.22; }

.solid { animation: appear 300ms linear 1.2s both; }
.dot { transform-box: fill-box; transform-origin: center; animation: pop 320ms cubic-bezier(0.2, 1.5, 0.4, 1) 1.45s both; }

@keyframes sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@keyframes appear { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }

.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: var(--green); }

/* MatchLens: the one light section, so the screenshots read as objects */
.app {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  background: var(--white);
  color: var(--navy);
  color-scheme: light;
  overflow: hidden;
}

.app-name { display: flex; align-items: center; gap: 14px; font-size: clamp(2.25rem, 4.2vw, 3.75rem); font-stretch: 125%; font-weight: 650; line-height: 1.05; letter-spacing: -0.02em; }
.app-name img { width: 1.25em; height: 1.25em; border-radius: 22%; }

.app-lede { margin-top: 22px; max-width: 42ch; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.4; }

.facts { margin-top: 32px; max-width: 46ch; }
.facts h3 { font-size: 1.0625rem; font-weight: 650; }
.facts p { margin: 2px 0 18px; color: var(--ink-soft); }

.status { padding-top: 16px; border-top: 1px solid rgba(12, 22, 38, 0.18); max-width: 46ch; color: var(--ink-soft); }

.links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 8px; }
.app .btn { background: var(--navy); color: var(--white); }
.app .btn:hover { background: #1B3351; }
.links a:not(.btn) { margin-top: 28px; }
.app a:hover { text-decoration-color: var(--navy); }

.phones { display: flex; gap: 2%; align-items: flex-start; }
.phones img {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  border: 5px solid var(--navy);
  border-radius: 24px;
  background: var(--navy);
}
.phones img:nth-child(2) { margin-top: 7%; }
.phones img:nth-child(3) { margin-top: 2.5%; }

/* How we work */
.work { padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(48px, 6vw, 88px); }
.work h2 { max-width: 20ch; font-size: clamp(2rem, 3.8vw, 3.25rem); font-stretch: 125%; font-weight: 650; line-height: 1.08; letter-spacing: -0.02em; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(32px, 4vw, 56px); padding: 0; list-style: none; counter-reset: step; }
.steps li { padding-top: 14px; border-top: 2px solid var(--white); counter-increment: step; }
.steps li::before { content: counter(step); color: var(--gray); font-size: 0.9375rem; }
.steps h3 { margin-top: 6px; font-size: 1.1875rem; font-weight: 650; line-height: 1.25; }
.steps p { margin-top: 8px; color: var(--gray); }

.next { margin-top: clamp(40px, 5vw, 72px); max-width: 52ch; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.4; }
.next a { font-weight: 600; }

.foot { padding: 28px var(--gutter) 36px; border-top: 1px solid rgba(169, 187, 209, 0.2); color: var(--gray); font-size: 0.875rem; }
.foot p { max-width: 80ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }

@media (max-width: 900px) {
  .hero, .app { grid-template-columns: minmax(0, 1fr); }
  .hero > div { display: contents; }
  .hero h1 { order: 1; }
  .lede { order: 2; margin-top: 0; }
  .mark { order: 3; max-width: 100%; margin: 0; }
  .hero .btn { order: 4; justify-self: start; margin-top: 0; }
  .record { order: 5; margin-top: 0; max-width: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones img { border-width: 3px; border-radius: 16px; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticks.is-drawing, .solid, .dot { animation: none; }
}
