/* Nomia web sitesi. Renk ve yazı değerleri uygulamanın tasarım belirteçleriyle aynı (mobile/src/theme.ts). */

@font-face {
  font-family: 'DM Serif Display';
  src: url('/fonts/DMSerifDisplay_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f4f8;
  --segment: #f2f0f8;
  --ink: #1a1828;
  --muted: #5a586b;
  --line: #f0eef4;
  --lav: #efe0fb;
  --pink: #fce3e9;
  --mint: #d8f2df;
  --blue: #dcf1f6;
  --gold: #fff4c2;
  --accent: #dcb6f8;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

/* display: grid gibi kurallar hidden özniteliğini ezmesin (davet sayfası). */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

img { max-width: 100%; height: auto; display: block; }

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

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Üst çubuk */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--serif); font-size: 26px; line-height: 1; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current='page'] { color: var(--ink); }

/* Başlıklar ve metin */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.1; letter-spacing: -0.4px; }
h2 { font-size: clamp(26px, 4.5vw, 34px); line-height: 1.2; }
h3 { font-family: var(--sans); font-weight: 800; font-size: 17px; line-height: 1.4; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

main { padding: 40px 0 64px; }
.page-head { display: grid; gap: 10px; margin-bottom: 28px; }

/* Kartlar */
.card { background: var(--surface); border-radius: 20px; padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.stack { display: grid; gap: 14px; }
.card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.card li::marker { color: var(--muted); }
.card strong { font-weight: 800; }

/* Ana sayfa */
.hero { display: grid; gap: 40px; align-items: center; padding: 24px 0 16px; }
.hero-text { display: grid; gap: 18px; }
.hero-logo { width: 88px; height: 88px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 22px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
}
.badge.soft { background: var(--segment); color: var(--ink); }
.soon { font-size: 14px; color: var(--muted); }

.shots { display: flex; gap: 16px; justify-content: center; }
.shot {
  width: 46%; max-width: 250px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(26, 24, 40, 0.14); border: 6px solid #fff; background: #fff;
}
.shot:nth-child(2) { margin-top: 48px; }

.features { display: grid; gap: 14px; margin-top: 56px; }
.feature { border-radius: 24px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.feature:nth-child(6n+1) { background: var(--lav); }
.feature:nth-child(6n+2) { background: var(--pink); }
.feature:nth-child(6n+3) { background: var(--mint); }
.feature:nth-child(6n+4) { background: var(--blue); }
.feature:nth-child(6n+5) { background: var(--gold); }
.feature:nth-child(6n+6) { background: var(--surface); }

/* Davet sayfası */
.code {
  font-family: var(--sans); font-weight: 800; font-size: clamp(34px, 10vw, 48px);
  letter-spacing: 8px; background: var(--lav); border-radius: 24px; padding: 18px 24px;
  text-align: center; font-variant-numeric: tabular-nums;
}
ol.steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot .wrap { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot p { font-size: 13px; color: var(--muted); }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding-top: 48px; }
  .features { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .top nav { display: none; }
  main { padding-top: 28px; }
}

@media (prefers-reduced-motion: no-preference) {
  .badge, .top nav a, .foot a { transition: color 0.15s, background-color 0.15s; }
}

.card-title { font-family: var(--sans); font-weight: 800; font-size: 17px; line-height: 1.4; }
.card ol.steps { padding-left: 22px; }
.card .badges { margin-top: 4px; }
