/* Good Take — goodtakeapp.com, version 2.
   Light warm-grey ground, Inter, black pill buttons, tilted phone mockups.
   The legal/support/age pages share this file through body.legal. */

:root {
  --bg: #e3e3dd;
  --bg-2: #d3d7da;
  --bg-3: #c9cfd6;
  --ink: #1e1a24;
  --ink-2: rgba(30, 26, 36, 0.72);
  --ink-3: rgba(30, 26, 36, 0.5);
  --card: rgba(255, 255, 255, 0.42);
  --card-border: rgba(30, 26, 36, 0.08);
  --dark: #1e1a24;
  --navy: #07112d;
  --amber: #ffc53d;
  --coral: #ff4539;
  --radius: 22px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  /* Midnight navy at the very top, dissolving into the warm grey just
     before the hero's content; the long grey-to-blue fade runs beneath it. */
  background:
    linear-gradient(180deg, var(--navy) 0px, var(--navy) 40px, rgba(7, 17, 45, 0.55) 130px, rgba(7, 17, 45, 0) 260px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, var(--bg-2) 80%, var(--bg-3) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
html, body { max-width: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 34px; height: 34px; }
.wordmark { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.3px; color: #f4f1ea; }
.wordmark em { font-style: normal; color: var(--amber); }
nav.main { display: flex; gap: 28px; font-size: 16px; font-weight: 500; color: rgba(244, 241, 234, 0.8); }
nav.main a:hover { color: #fff; }
header.site .btn-light { background: rgba(244, 241, 234, 0.92); border-color: transparent; }
header.site .store-badge { border-color: rgba(255, 255, 255, 0.35); }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons and badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 22px;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid var(--card-border); }
.btn-big { font-size: 18px; font-weight: 700; padding: 16px 26px; }

/* The App Store badge, drawn inline so it needs no image file. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  flex-shrink: 0;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  padding: 7px 14px 7px 11px;
  line-height: 1.05;
  transition: transform 0.15s ease;
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge .apple { width: 24px; height: 24px; fill: #fff; }
.store-badge small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.2px; }
.store-badge strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.3px; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 120px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb457; }
.hero h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero .lede { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 32em; }
.hero .cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Two tilted phones with an arrow between them, like the reference. */
.mockups { position: relative; display: flex; justify-content: center; align-items: center; gap: 64px; padding: 20px 0; }
.mockups .arrow { position: absolute; left: 50%; top: 40%; width: 96px; transform: translate(-50%, -50%); color: var(--ink); z-index: 2; overflow: visible; }

.phone {
  width: 250px;
  aspect-ratio: 1206 / 2622;
  background: linear-gradient(100deg, #8f939c, #2b2e36 28%, #3a3d46 50%, #23252c 72%, #868a93);
  border-radius: 46px;
  padding: 8px;
  box-shadow: 0 30px 60px rgba(30, 26, 36, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  position: relative;
}
.phone .screen { height: 100%; border-radius: 38px; overflow: hidden; background: #0c0c0c; }
.phone .screen img, .phone .screen video { width: 100%; height: 100%; object-fit: cover; }
.phone.tilt-l { transform: rotate(-7deg) translateY(14px); }
.phone.tilt-r { transform: rotate(7deg) translateY(-14px); width: 230px; }
.phone.tilt-r2 { transform: rotate(9deg); }
.phone.large { width: 300px; }

/* ---------- Sections ---------- */

section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.12;
}
.section-sub { text-align: center; margin-top: 12px; font-size: 18px; color: var(--ink-2); }

/* What does Good Take include? phone left, cards right. */
.include { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; margin-top: 56px; }
.include .phone-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border: 0; padding: 0; border-radius: 50%; background: rgba(30, 26, 36, 0.22); cursor: pointer; }
.dots button.on { background: var(--ink); }
.phone .screen { position: relative; }
.phone .screen video.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease; }
.phone .screen video.slide.on { opacity: 1; }
.feature-list { display: grid; gap: 14px; }
.feature-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px 26px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover { border-color: rgba(30, 26, 36, 0.3); }
.feature-card.active { border-color: var(--ink); background: rgba(255, 255, 255, 0.55); }
.feature-card h3 { font-size: 19px; font-weight: 600; }
.feature-card p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }

/* Why choose Good Take? three cards. */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.why-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(30, 26, 36, 0.06);
}
.why-card .tile {
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.why-card h3 { margin-top: 24px; font-size: 21px; font-weight: 600; }
.why-card p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }

/* NEW FEATURE band: copy left, tilted phone right. */
.new-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 60px 0 40px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); }
.new-feature h2 { margin-top: 18px; font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -0.5px; }
.new-feature .note { margin-top: 22px; font-size: 18px; color: var(--ink-2); }
.new-feature .phone-col { display: flex; justify-content: center; }

/* Dark band: privacy. */
.dark-band { background: var(--dark); color: #fff; padding: 110px 0; }
.dark-band .section-title { color: #fff; }
.dark-band .section-sub { color: rgba(255, 255, 255, 0.65); }
.privacy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.privacy-cards .row-2 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 0 auto; width: 100%; }
.privacy-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 28px;
}
.privacy-card .who { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; }
.privacy-card .who span.ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 197, 61, 0.18); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.privacy-card p { margin-top: 14px; font-size: 15.5px; color: rgba(255, 255, 255, 0.7); }

/* FAQ: pill rows with a chevron, expanded with <details>. */
.faq { max-width: 780px; margin: 48px auto 0; display: grid; gap: 14px; }
.faq details {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
}
.faq details[open] { border-radius: 26px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(30, 26, 36, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1a24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 28px 24px; font-size: 16px; color: var(--ink-2); }
.faq-more { display: flex; justify-content: center; margin-top: 28px; }

/* Download band: soft gradient, centered. */
.download-band {
  margin-top: 40px;
  padding: 120px 0;
  background:
    radial-gradient(600px 400px at 30% 40%, rgba(255, 197, 61, 0.22), transparent 70%),
    radial-gradient(600px 400px at 75% 60%, rgba(255, 69, 57, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  text-align: center;
}
.download-band .kicker-plain { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.download-band h2 { margin-top: 14px; font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.5px; }
.download-band .fine { margin-top: 16px; font-size: 15px; color: var(--ink-3); }
.download-band .cta { margin-top: 28px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */

footer.site {
  background: rgba(255, 255, 255, 0.22);
  border-top: 1px solid var(--card-border);
  padding: 44px 0 0;
  font-size: 15px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.foot-grid ul a:hover { color: var(--ink); }
.foot-grid .download-label { margin: 18px 0 12px; color: var(--ink-2); }
.foot-bar { margin-top: 36px; border-top: 1px solid var(--card-border); padding: 16px 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }

/* ---------- Legal / support / age pages ---------- */

body.legal {
  background:
    linear-gradient(180deg, var(--navy) 0px, var(--navy) 28px, rgba(7, 17, 45, 0.5) 72px, rgba(7, 17, 45, 0) 118px),
    var(--bg);
}
body.legal .doc { padding-top: 56px; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.doc h1 { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.4px; }
.doc .updated { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.doc h2 { font-size: 22px; font-weight: 600; margin-top: 40px; }
.doc p, .doc li { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.doc ul { margin-left: 22px; }
.doc strong { color: var(--ink); }
.doc .callout {
  margin-top: 24px;
  background: rgba(255, 197, 61, 0.18);
  border-left: 4px solid var(--amber);
  border-radius: 0 14px 14px 0;
  padding: 16px 18px;
  font-weight: 500;
  color: var(--ink);
}
.doc a { color: #b07a00; text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  nav.main { display: none; }
  header.site { padding: 14px 0; }
  header.site .btn-light { display: none; }
  header.site .store-badge { padding: 6px 12px 6px 10px; }
  header.site .store-badge .apple { width: 20px; height: 20px; }
  header.site .store-badge strong { font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding: 24px 0 72px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  /* Phones scale with the screen: same width for the pair, bezel, corner
     radius, and tilt offsets scaled down with them, and the row bleeds into
     the page padding so the pair can be larger. */
  .mockups { order: -1; gap: 14px; padding: 10px 0; margin: 0 -14px; }
  .mockups .arrow { width: 40px; top: 44%; }
  .phone, .phone.tilt-r { width: min(168px, 42vw); padding: 6px; border-radius: 32px; }
  .phone .screen { border-radius: 26px; }
  .phone.tilt-l { transform: rotate(-7deg) translateY(8px); }
  .phone.tilt-r { transform: rotate(7deg) translateY(-8px); }
  .phone.large { width: min(230px, 62vw); padding: 7px; border-radius: 40px; }
  .phone.large .screen { border-radius: 33px; }
  .include { grid-template-columns: 1fr; gap: 36px; }
  .why { grid-template-columns: 1fr; }
  .new-feature { grid-template-columns: 1fr; text-align: center; }
  .new-feature .phone-col { order: -1; }
  .privacy-cards { grid-template-columns: 1fr; }
  .privacy-cards .row-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .dark-band { padding: 72px 0; }
  .download-band { padding: 80px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 33px; letter-spacing: -0.4px; }
  .hero .lede { font-size: 17px; }
  .section-title { font-size: 30px; }
  .new-feature h2, .download-band h2 { font-size: 34px; }
}

