/* Gemego Ltd - site stylesheet
   Card-table green + gold theme. Shared by all redesigned pages. */

:root {
  --felt-900: #072a19;
  --felt-800: #0b3a23;
  --felt-700: #0f4d2e;
  --felt-600: #17643d;
  --gold: #d9b45a;
  --gold-light: #f0d68f;
  --cream: #fbf7ec;
  --card-red: #c8213a;
  --ink: #1d2420;
  --ink-soft: #4f5a54;
  --line: #e4ded0;
  --bg: #f6f3ea;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(7,42,25,.10);
  --display: Georgia, "Times New Roman", "Book Antiqua", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

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

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

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

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

a { color: var(--felt-600); text-underline-offset: 2px; }
a:hover { color: var(--felt-800); }

h1, h2, h3 { font-family: var(--display); line-height: 1.2; color: var(--felt-800); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--felt-900);
  border-bottom: 1px solid rgba(217,180,90,.35);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap;
  min-height: 64px; padding-top: 8px; padding-bottom: 8px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cream); text-decoration: none;
  font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: .5px;
}
.brand:hover { color: var(--white); }
.brand svg { width: 26px; height: 30px; flex: none; }

.nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: 6px 12px; border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav a[aria-current="page"] { color: var(--felt-900); background: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  color: var(--cream);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(ellipse at 50% 120%, var(--felt-900), transparent 70%),
    var(--felt-700);
  padding: 64px 0 72px;
}
.hero h1 { color: var(--cream); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.2rem; max-width: 640px; color: #dfe9e2; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}

.hero-app { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-app .app-icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero-app .hero-text { flex: 1 1 360px; }
.hero-app h1 { margin-bottom: .25em; }
.hero-app .lead { margin-bottom: 18px; }

.hero-cta { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }

/* ---------- Buttons & badge ---------- */
.play-badge { display: inline-block; line-height: 0; }
.play-badge img { height: 64px; width: auto; margin: -10px; } /* official badge has built-in padding */
.play-badge:hover img { filter: brightness(1.08); }

.btn {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: .95rem;
  border: 1.5px solid var(--gold); color: var(--gold);
}
.btn:hover { background: var(--gold); color: var(--felt-900); }
.btn-dark { border-color: var(--felt-700); color: var(--felt-700); }
.btn-dark:hover { background: var(--felt-700); color: var(--cream); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head p { color: var(--ink-soft); }

/* ---------- App cards (home) ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.app-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.app-card .feature { width: 100%; aspect-ratio: 512 / 250; object-fit: cover; }
.app-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.app-card .title-row { display: flex; align-items: center; gap: 14px; }
.app-card .title-row img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.app-card h3 { margin: 0; font-size: 1.45rem; }
.app-card .tag { color: var(--ink-soft); font-size: .9rem; margin: 2px 0 0; }
.app-card .desc { color: var(--ink-soft); margin: 0; flex: 1; }
.app-card .actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.quotes li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; font-family: var(--display); font-size: 1.15rem; font-style: italic; color: var(--felt-800);
}
.quotes li::before { content: "\201C"; display: block; font-size: 2.4rem; line-height: .8; color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 2px; font-style: normal; font-size: .95rem; display: block; margin-top: 8px; }

/* ---------- Stat strip ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; }
.stats div { color: #cfe0d5; font-size: .95rem; }
.stats strong { display: block; color: var(--gold); font-family: var(--display); font-size: 1.7rem; }

/* ---------- Screenshots ---------- */
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 18px; margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
}
.shots img {
  flex: none; width: 216px; height: auto; aspect-ratio: 288 / 512;
  border-radius: 18px; scroll-snap-align: start;
  border: 6px solid #111; box-shadow: var(--shadow); background: #111;
}
.shots-note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 4px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.feature-box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.feature-box h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.feature-box h3::before { content: "\2605"; color: var(--gold); font-size: 1rem; }
.feature-box ul { margin: 0; padding-left: 1.1em; }
.feature-box li { margin: 0 0 .45em; color: var(--ink-soft); font-size: .97rem; }
.feature-box li strong { color: var(--ink); }

/* ---------- Callouts ---------- */
.callout {
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--felt-700), var(--felt-800));
  color: var(--cream); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow);
}
.callout h2, .callout h3 { color: var(--cream); margin-bottom: .3em; }
.callout p { margin: 0; color: #d6e4da; }
.callout .callout-text { flex: 1 1 320px; }
.callout-icon { font-size: 2.4rem; line-height: 1; }

.note {
  border-left: 4px solid var(--gold); background: var(--cream);
  padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--ink-soft); font-size: .95rem;
}

.link-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

/* ---------- Prose / long-form ---------- */
.prose { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px clamp(20px, 5vw, 48px); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose ol > li > p { margin-top: .3em; color: var(--ink-soft); }
.prose .meta { color: var(--ink-soft); font-size: .9rem; }

.page-hero { padding: 48px 0 52px; }
.page-hero .lead { margin: 0; }

/* ---------- Step-by-step guide ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps > li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px 22px 76px;
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 22px; top: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--felt-700); color: var(--gold); font-weight: 700; font-family: var(--display);
}
.steps > li p { margin: 0; }
.steps > li p + p { margin-top: .5em; }
.steps img { max-width: 240px; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.08); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 22px; }
.form-card label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-card input[type="text"], .form-card input[type="number"], .form-card input[type="date"] {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fffdf8; color: var(--ink);
}
.form-card input:focus { outline: none; border-color: var(--felt-600); box-shadow: 0 0 0 3px rgba(23,100,61,.15); }
.form-card .full { grid-column: 1 / -1; }
.form-card input[type="submit"] {
  font: inherit; font-weight: 700; cursor: pointer;
  padding: 12px 28px; border: 0; border-radius: 999px;
  background: var(--felt-700); color: var(--cream);
}
.form-card input[type="submit"]:hover { background: var(--felt-800); }

/* ---------- Contact ---------- */
.contact-card { text-align: center; }
.contact-card .email {
  display: inline-block; margin-top: 8px; padding: 14px 28px; border-radius: 999px;
  background: var(--felt-700); color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.1rem;
}
.contact-card .email:hover { background: var(--felt-800); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--felt-900); color: #a9bfb1; padding: 40px 0 34px; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: flex-start; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .brand { font-size: 1.3rem; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer p { margin: 8px 0 0; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 52px; }
  .section { padding: 44px 0; }
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; }
  .hero-app { text-align: center; justify-content: center; }
  .hero-app .app-icon { margin: 0 auto; width: 104px; height: 104px; border-radius: 24px; }
  .hero-cta { justify-content: center; }
  .stats { justify-content: center; text-align: center; }
  .shots img { width: 180px; }
  .steps > li { grid-template-columns: 1fr; padding: 70px 18px 20px; }
  .steps > li::before { left: 18px; top: 18px; }
  .steps img { max-width: 100%; justify-self: center; }
  .callout { text-align: center; justify-content: center; }
}
