/* Gentic Software — genticsoftware.com
   Sunset palette: aubergine, shell, marigold, burnt orange, coral (Gentic Games). */

:root {
  --ink: #1E0F1C;
  --ink-2: #2B1828;
  --line-dark: #45304A;
  --shell: #FFF4EA;
  --white: #FFFFFF;
  --marigold: #FFB13B;
  --burnt: #B8480A;
  --coral: #FF5E5B;
  --muted: #5C4757;
  --muted-dark: #C9B3C2;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --brand: 'Unbounded', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--burnt); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--shell); font-weight: 600;
}
.skip-link:focus { left: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Navigation */
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding: 24px 0; border-bottom: 1px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand svg { flex: 0 0 auto; }
.brand-name { display: flex; flex-direction: column; gap: 4px; font-family: var(--brand); line-height: 1; }
.brand-name b { font-weight: 700; font-size: 17px; }
.brand-name small { font-weight: 500; font-size: 8px; letter-spacing: 0.5em; }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px;
  font-size: 15px; font-weight: 500;
}
.nav-links a { padding: 12px 0; text-decoration: none; }
.nav-links .accent {
  text-decoration: underline; text-decoration-color: var(--marigold);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}

/* Hero */
.hero { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.label { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
h1 {
  margin: 0; font-family: var(--display); font-weight: 500;
  font-size: clamp(52px, 9vw, 144px); line-height: 0.92; letter-spacing: -0.045em;
}
.cursor {
  display: inline-block; width: 0.42em; height: 0.72em; margin-left: 0.08em;
  background: var(--marigold); vertical-align: -0.02em;
}
.intro { display: flex; flex-wrap: wrap; gap: 24px 40px; padding-top: 28px; border-top: 1px solid var(--ink); }
.intro > .label { flex: 1 1 240px; }
.intro-body { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lead {
  margin: 0; max-width: 27em; font-family: var(--display); font-weight: 500;
  font-size: clamp(21px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -0.01em;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: var(--shell); font-size: 16px; font-weight: 600; text-decoration: none;
}
.btn:hover { color: var(--marigold); }
.link {
  display: inline-block; padding: 12px 0; font-size: 16px; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--marigold);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.link--coral { text-decoration-color: var(--coral); }

/* Section headings */
.section { padding: 72px 0 88px; display: flex; flex-direction: column; gap: 40px; }
.section--tight-top { padding-top: 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; }
.section-head p { margin: 0; color: var(--muted); }
h2 {
  margin: 0; display: flex; align-items: baseline; gap: 20px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(38px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.03em;
}
h2 .num { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* Products */
.product { display: flex; flex-direction: column; gap: 28px; padding: 24px 0 72px; }
.product + .product { padding-top: 40px; }
.ft-visual { display: flex; flex-wrap: wrap; min-height: 420px; }
.ft-logo { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--white); }
.ft-logo img { width: 100%; max-width: 440px; mix-blend-mode: multiply; }
.ft-demo {
  flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 40px; background: var(--ink);
}
.plate {
  padding: 16px 28px; border-radius: 12px; background: var(--shell); color: var(--ink);
  box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 4px var(--shell);
  font-family: var(--mono); font-weight: 600; font-size: clamp(28px, 3vw, 42px); letter-spacing: 0.12em;
}
.screen {
  min-width: 260px; display: flex; flex-direction: column; gap: 8px; padding: 20px 24px;
  border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink-2); color: var(--shell);
}
.screen-tag { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--marigold); }
.screen-code { font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; }
.screen-note { font-size: 15px; color: var(--muted-dark); }

.caption { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.caption h3 {
  flex: 1 1 320px; margin: 0; font-family: var(--display); font-weight: 500;
  font-size: 34px; line-height: 1.1; letter-spacing: -0.02em;
}
.caption .meta { flex: 1 1 220px; margin: 0; font-size: 15px; font-weight: 500; color: var(--muted); }
.caption .desc { flex: 1 1 340px; margin: 0; color: var(--muted); }
.caption .desc strong { display: block; margin-bottom: 12px; font-weight: 600; color: var(--ink); }

.steps { display: flex; flex-wrap: wrap; gap: 24px 32px; margin: 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--muted); }
.steps b { font-size: 14px; color: var(--burnt); }

.stats { display: flex; flex-wrap: wrap; gap: 24px 32px; margin: 0; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat { flex: 1 1 200px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stat dt { font-size: 15px; color: var(--muted); }
.stat dd { margin: 0; font-family: var(--display); font-weight: 500; font-size: 48px; line-height: 1; letter-spacing: -0.03em; }
.stat--wide { flex: 2 1 340px; flex-direction: column; }
.stat--wide dt { font-size: 15px; font-weight: 600; color: var(--ink); }
.stat--wide dd { font-family: var(--body); font-weight: 400; font-size: 15px; line-height: 1.6; letter-spacing: 0; color: var(--muted); }

.games-art { position: relative; display: block; height: 520px; overflow: hidden; background: var(--ink); color: var(--shell); text-decoration: none; }
.games-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.games-art:hover { color: var(--shell); }
.games-badge {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; background: var(--ink);
}
.games-badge img { width: 56px; height: 56px; border-radius: 12px; }
.games-badge span { display: flex; flex-direction: column; gap: 4px; }
.games-badge b { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: 0.02em; }
.games-badge em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--coral); }
.games-badge u { font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.shots { display: flex; flex-wrap: wrap; gap: 16px; }
.shots img { flex: 1 1 300px; min-width: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.links-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }

/* What we look after */
.rows { margin: 0; padding: 0; list-style: none; }
.row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 30px 0; border-top: 1px solid var(--ink); }
.row:last-child { border-bottom: 1px solid var(--ink); }
.row .n { flex: 0 0 64px; font-size: 15px; font-weight: 600; color: var(--burnt); }
.row h3 { flex: 1 1 280px; margin: 0; font-family: var(--display); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; }
.row p { flex: 1 1 400px; margin: 0; color: var(--muted); }

/* Company */
.facts { display: flex; flex-wrap: wrap; gap: 32px; margin: 0; }
.fact { flex: 1 1 230px; min-width: 0; padding-top: 20px; border-top: 1px solid var(--ink); }
.fact dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.fact dd { margin: 10px 0 0; font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }

/* Contact */
.contact { background: var(--ink); color: var(--shell); }
.contact .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.contact .label { font-size: 16px; color: var(--muted-dark); }
.contact h2 { display: block; max-width: 16em; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; }
.email {
  align-self: flex-start; max-width: 100%; overflow-wrap: anywhere;
  font-family: var(--display); font-weight: 500; font-size: clamp(28px, 5vw, 80px); line-height: 1.1; letter-spacing: -0.03em;
  color: var(--shell); text-decoration: underline; text-decoration-color: var(--marigold);
  text-decoration-thickness: 6px; text-underline-offset: 12px;
}
.email:hover { color: var(--marigold); }
.contact p { margin: 0; color: var(--muted-dark); }
.contact p a { color: var(--shell); font-weight: 600; }
.contact p a:hover { color: var(--marigold); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer a { padding: 12px 0; text-decoration: none; }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 96px; padding-bottom: 96px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 28px; }
  .section { padding: 56px 0 64px; gap: 28px; }
  .ft-logo, .ft-demo { padding: 32px 20px; }
  .screen { min-width: 0; width: 100%; }
  .games-art { height: 360px; }
  .games-badge { right: 0; padding: 16px; }
  .row { padding: 22px 0; }
  .row .n { flex-basis: 40px; }
  .contact .wrap { padding-top: 64px; padding-bottom: 64px; }
}
