/* Gold Identifier — goldidentifier.app */
:root {
  --gold: #c4922e;
  --gold-bright: #d9a94b;
  --gold-btn: #9a6c14;
  --gold-btn-dark: #7e5810;
  --gold-link: #8a6413;
  --ink: #2b1f10;
  --ink-deep: #1f1609;
  --text: #2b2318;
  --muted: #675a48;
  --gold-soft: #fbf2df;
  --gold-softer: #fdf9f0;
  --white: #ffffff;
  --star: #e0a12e;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(43, 31, 16, 0.10);
  --shadow-lg: 0 24px 60px rgba(43, 31, 16, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* WebP wrappers must not become the flex/grid item themselves — keep the
   inner <img> as the direct layout child so existing sizing rules apply. */
picture { display: contents; }
a { color: var(--gold-link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(43, 31, 16, 0.09);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--gold-btn-dark); text-decoration: none; }
.nav .btn { color: #fff; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold-btn); color: #fff !important;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  box-shadow: 0 6px 18px rgba(154, 108, 20, 0.32);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--gold-btn-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(154, 108, 20, 0.42); text-decoration: none; }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn.large { padding: 16px 34px; font-size: 18px; }
.btn.ghost { background: #fff; color: var(--gold-btn-dark) !important; border: 2px solid var(--gold); box-shadow: none; }
.btn.ghost:hover { background: var(--gold-soft); }

.store-badge { display: inline-block; transition: transform .15s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { height: 56px; width: auto; display: block; }
.store-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #f6e5c2 0%, #fdf6e9 68%, #ffffff 100%);
  overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero-copy .app-icon-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hero-copy .app-icon-row img { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow); }
.hero-copy .app-icon-row .name { font-weight: 700; font-size: 18px; color: var(--ink); }
.hero-copy .app-icon-row .tagline { font-size: 14px; color: var(--muted); }
.hero h1 {
  font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 18px; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--gold-link); }
.hero p.lead { font-size: 19px; color: var(--muted); margin-bottom: 28px; max-width: 54ch; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.rating { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); font-weight: 500; }
.stars { color: var(--star); font-size: 17px; letter-spacing: 2px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-shot { position: relative; display: flex; justify-content: center; }
.hero-shot img {
  width: min(340px, 80%); border-radius: 28px; box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-shot { order: -1; }
  .hero-shot img { width: min(260px, 70%); }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--gold-softer); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-link); margin-bottom: 10px;
}

/* ---------- Download strip ---------- */
.download-strip { background: var(--ink-deep); color: #fff; padding: 40px 0; }
.download-strip h2 { font-size: 24px; margin-bottom: 6px; color: #fff; }
.download-strip p { color: #d8c9ae; font-size: 15px; max-width: 52ch; }
.download-strip .rating { color: #d8c9ae; margin-top: 8px; }
.download-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: start; }
.shot { text-align: center; }
.shot img { border-radius: 24px; box-shadow: var(--shadow-lg); transition: transform .2s ease; }
.shot img:hover { transform: translateY(-6px); }
.shot h3 { margin-top: 20px; font-size: 18px; color: var(--ink); }
.shot p { font-size: 14.5px; color: var(--muted); margin-top: 6px; padding: 0 8px; }
@media (max-width: 800px) { .shots { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* ---------- Steps / feature cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: #fff; border: 1px solid rgba(43,31,16,0.09); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow); position: relative;
}
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-btn); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; margin-bottom: 18px;
}
.step h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid rgba(43,31,16,0.09); border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .ficon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 14px;
}
.feature h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.plan {
  background: #fff; border: 1px solid rgba(43,31,16,0.10); border-radius: var(--radius);
  padding: 30px 28px; text-align: center; position: relative;
}
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-btn); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 17px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.plan .price { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.plan .price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan .note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan ul { list-style: none; text-align: left; margin: 20px 0 0; }
.plan li { font-size: 14.5px; color: var(--muted); margin-bottom: 9px; padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-btn); font-weight: 700; }
.plan-note { text-align: center; font-size: 13.5px; color: var(--muted); max-width: 720px; margin: 26px auto 0; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Guides grid ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guide-card {
  display: block; background: #fff; border: 1px solid rgba(43,31,16,0.09);
  border-radius: var(--radius); padding: 26px 26px 22px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); text-decoration: none; }
.guide-card h2, .guide-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.guide-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.guide-card .more { font-size: 14px; font-weight: 600; color: var(--gold-link); }
@media (max-width: 800px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid rgba(43,31,16,0.09); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px;
  color: var(--ink); list-style: none; position: relative; padding-right: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--gold-link); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; }
.faq-item .faq-body a { font-weight: 600; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, #b8860b 0%, #7e5810 100%);
  color: #fff; text-align: center; padding: 84px 0;
}
.final-cta img.icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 12px 32px rgba(0,0,0,0.28); }
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; letter-spacing: -0.01em; color: #fff; }
.final-cta p { color: #f4e5c6; font-size: 18px; max-width: 58ch; margin: 0 auto 30px; }
.final-cta .store-row { justify-content: center; }
.final-cta .rating { justify-content: center; color: #f4e5c6; margin-top: 18px; display: flex; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0; padding: 18px 22px;
  max-width: 860px; margin: 0 auto; font-size: 15px; color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #b8a88e; padding: 56px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b8a88e; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer p { max-width: 40ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.13); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Guide article pages ---------- */
.article-hero { background: linear-gradient(180deg, #f6e5c2 0%, #ffffff 100%); padding: 56px 0 40px; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-btn-dark); }
.article-hero h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; max-width: 22ch; }
.article-hero p.lead { font-size: 18px; color: var(--muted); max-width: 62ch; margin-top: 16px; }
.article-hero p.byline { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 48px 0 72px; }
.article-body h2 { font-size: 26px; color: var(--ink); margin: 40px 0 14px; letter-spacing: -0.01em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 19px; color: var(--ink); margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; color: var(--text); font-size: 16.5px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; font-size: 16.5px; }
.article-body li { margin-bottom: 10px; }
.article-body .tip {
  background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: 22px 0; font-size: 15.5px;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; font-size: 15.5px; }
.article-body th, .article-body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid rgba(43,31,16,0.10); }
.article-body th { background: var(--gold-soft); color: var(--ink); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.article-cta {
  background: linear-gradient(135deg, #b8860b 0%, #7e5810 100%); color: #fff;
  border-radius: var(--radius); padding: 32px 30px; margin: 40px 0; text-align: center;
}
.article-cta h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.article-cta p { color: #f4e5c6; font-size: 15.5px; margin-bottom: 20px; }
.article-cta .store-row { justify-content: center; }
.article-aside { position: sticky; top: 88px; align-self: start; }
.aside-card {
  background: var(--gold-softer); border: 1px solid rgba(43,31,16,0.09);
  border-radius: var(--radius); padding: 26px; text-align: center; margin-bottom: 22px;
}
.aside-card img.icon { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 14px; box-shadow: var(--shadow); }
.aside-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.aside-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.aside-card .store-row { justify-content: center; gap: 8px; }
.aside-card .store-badge svg { height: 44px; }
.aside-card .rating { justify-content: center; display: flex; margin-top: 12px; font-size: 13.5px; }
.aside-links { background: #fff; border: 1px solid rgba(43,31,16,0.09); border-radius: var(--radius); padding: 22px 24px; }
.aside-links h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.aside-links ul { list-style: none; }
.aside-links li { margin-bottom: 10px; font-size: 14.5px; }
@media (max-width: 940px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; }
}

/* ---------- Legal / simple pages ---------- */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); letter-spacing: -0.02em; margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 14.5px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; color: var(--ink); margin: 34px 0 12px; }
.legal h3 { font-size: 17px; color: var(--ink); margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; }
