/* Fedoron — fedoron.com
   System type, lots of air, one accent. Light and dark follow the device. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --hair: #d2d2d7;
  --card: #ffffff;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
  --nav: rgba(255,255,255,.72);
  --max: 980px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101012;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --hair: #2c2c2e;
    --card: #1c1c1e;
    --accent: #2997ff;
    --accent-hover: #47a6ff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.35);
    --nav: rgba(22,22,23,.72);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.in { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 5;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 60%, transparent);
}
.nav .in {
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; display: block; }
.brand svg path { fill: var(--bg); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav ul a { color: var(--text); opacity: .8; font-size: 12px; letter-spacing: -0.01em; }
.nav ul a:hover { opacity: 1; text-decoration: none; }

/* ---------- hero ---------- */

.hero { text-align: center; padding: 120px 0 112px; }
.eyebrow {
  margin: 0 0 14px; color: var(--muted);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.hero h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero .lede {
  margin: 22px auto 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.38;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.links { margin-top: 30px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.links a { font-size: 19px; }
.links a::after { content: " ›"; }

/* ---------- sections ---------- */

section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
.head { text-align: center; margin-bottom: 56px; }
.head h2 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.035em;
}
.head p { margin: 12px auto 0; max-width: 36em; color: var(--muted); font-size: 19px; }

/* app card */
.app {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  max-width: 760px; margin: 0 auto;
  background: var(--card);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.app img {
  width: 128px; height: 128px; display: block;
  border-radius: 22.37%;          /* the iOS icon corner */
  box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 6px 18px rgba(0,0,0,.18);
}
.app h3 { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.app .what { margin: 8px 0 0; font-size: 19px; color: var(--muted); }
.app .meta { margin: 18px 0 0; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 980px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--muted); border: 1px solid var(--hair);
}
.app .meta a::after { content: " ›"; }

@media (prefers-color-scheme: dark) {
  .app img { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 6px 18px rgba(0,0,0,.5); }
}

/* principles */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  background: var(--card); border-radius: 22px; padding: 32px 28px 34px;
  box-shadow: var(--shadow);
}
.tile svg { width: 30px; height: 30px; display: block; margin-bottom: 18px; color: var(--accent); }
.tile h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.tile p { margin: 0; color: var(--muted); font-size: 17px; }

/* company facts */
.facts {
  max-width: 680px; margin: 0 auto; padding: 0;
  list-style: none;
  border-top: 1px solid var(--hair);
}
.facts li {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  padding: 18px 2px; border-bottom: 1px solid var(--hair);
}
.facts .k { color: var(--muted); }
.facts .v { font-weight: 500; }

/* contact */
.contact { text-align: center; }
.contact .big {
  display: inline-block; margin-top: 4px;
  font-size: clamp(26px, 4vw, 36px); font-weight: 600; letter-spacing: -0.03em;
}
.contact .small { margin: 22px 0 0; color: var(--muted); }

/* ---------- footer ---------- */

footer {
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 12px; line-height: 1.5; letter-spacing: -0.01em;
  padding: 22px 0 30px;
}
footer .in > * { margin: 0; }
footer .legal { padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--hair); }
footer a { color: var(--text); }

/* ---------- 404 ---------- */

.lost { min-height: calc(100vh - 48px - 110px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost h1 { margin: 0; font-size: clamp(40px, 7vw, 64px); letter-spacing: -0.04em; }
.lost p { color: var(--muted); font-size: 19px; }

/* ---------- small screens ---------- */

@media (max-width: 734px) {
  body { font-size: 17px; }
  .nav ul { gap: 18px; }
  .hero { padding: 84px 0 76px; }
  section { padding: 72px 0; }
  .head { margin-bottom: 40px; }
  .app { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 20px; }
  .app img { margin: 0 auto; width: 112px; height: 112px; }
  .app .meta { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 400px) {
  .nav ul li:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
