/*! Play Guitar Info website | Copyright (c) 2026 Play Guitar Info. All rights reserved.
 *  Proprietary and confidential. No copying, modification or distribution
 *  without written permission. See the LICENSE file. */
/* The look of every page. Colours are the PlayGuitarInfo.com brand palette,
   the same tokens the apps use (--brand-…). */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* brand palette */
  --brand-amber: #ffb347;
  --brand-amber-deep: #e07b00; /* amber text on white (the light amber is too faint) */
  --brand-amber-dark: #f08c1a;
  --brand-navy: #1f2937;
  --brand-navy-deep: #111827;
  --brand-blue: #3b82f6;
  --brand-purple: #8b5cf6;
  --brand-gray: #e5e7eb;
  --brand-off-white: #fafafa;

  --bg: var(--brand-off-white);
  --surface: #ffffff;
  --tint: #f3f4f6;
  --line: var(--brand-gray);
  --text: var(--brand-navy);
  --text-2: #4b5563;
  --text-3: #6b7280;
  --on-dark: #e5e7eb;
  --on-dark-2: #9ca3af;

  --font-head: "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
  --wrap: 1180px;
  --app: var(--brand-blue);
  --app-dark: #2563eb;
  --app-soft: #eff6ff;
  color-scheme: light;
}
.app-purple { --app: var(--brand-purple); --app-dark: #7c3aed; --app-soft: #f5f3ff; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand-navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; color: var(--brand-amber-deep); margin-bottom: 0.8em; }
.lead { font-size: 1.2rem; color: var(--text-2); }
.amber { color: var(--brand-amber); }
.small { font-size: 0.9rem; color: var(--text-3); }
.text-link { font-weight: 700; color: var(--brand-amber-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }
.arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-large { min-height: 56px; padding: 12px 30px; font-size: 1.1rem; }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: 0.95rem; }
.btn-amber { background: var(--brand-amber); color: var(--brand-navy); box-shadow: 0 6px 18px rgba(255, 179, 71, 0.35); }
.btn-amber:hover { background: #ffa632; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-app { background: var(--app); color: #fff; }
.btn-app:hover { background: var(--app-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 600; color: var(--text-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--text); border-bottom-color: var(--brand-amber); }
.site-nav ul a[aria-current="page"] { color: var(--text); border-bottom-color: var(--brand-amber); }
.nav-toggle { display: none; }

/* ---------- Hero (home page) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(59, 130, 246, 0.22), transparent 60%),
    linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy) 60%, #24304a);
}
.swooshes { position: absolute; left: 0; bottom: 0; width: 100%; height: 70%; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 112px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.06; margin-bottom: 0.45em; }
.hero .eyebrow { color: var(--brand-amber); }
.hero .lead { color: var(--on-dark); max-width: 34em; margin-bottom: 1.6em; }
.hero-visual { position: relative; padding: 0 6% 9% 0; }
.laptop-screen {
  border: 10px solid #0b1220; border-bottom-width: 14px; border-radius: 16px 16px 4px 4px;
  background: #0b1220; aspect-ratio: 16 / 10; overflow: hidden; box-shadow: var(--shadow-lg);
}
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.laptop-base { height: 14px; margin: 0 -7%; border-radius: 2px 2px 16px 16px; background: linear-gradient(#d7dce4, #9aa3b1); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.phone {
  position: absolute; right: 0; bottom: 0; width: 29%;
  border: 7px solid #0b1220; border-radius: 26px; overflow: hidden; background: #0b1220;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { width: 100%; border-radius: 19px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0 96px; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--text-2); font-size: 1.1rem; }
.page-head {
  padding: 80px 0 32px;
  background: radial-gradient(800px 300px at 90% 0%, rgba(255, 179, 71, 0.16), transparent 70%), linear-gradient(180deg, #fff, var(--bg));
}
.page-head .lead { max-width: 40em; }
.page-404 { padding: 110px 0 120px; }

/* ---------- App cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px; }
.app-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-top: 5px solid var(--app); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.app-card-shot { display: block; padding: 28px 28px 0; background: linear-gradient(180deg, var(--app-soft), var(--surface)); }
.app-card-shot .browser { transition: transform 0.2s; }
/* Every card's screenshot has the same shape, so the cards line up */
.app-card-shot .browser img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: left top; }
.app-card-shot:hover .browser { transform: translateY(-3px); }
.app-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.app-card-body > .btn-row { margin-top: auto; padding-top: 8px; }
.app-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.app-title svg { width: 40px; height: 40px; flex: none; }
.app-title h3 { margin: 0; font-size: 1.55rem; }
.app-title h3 a { text-decoration: none; }
.app-title h3 a:hover { color: var(--app-dark); }
.app-tagline { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.35; }
.for-who { color: var(--text-2); }
.for-who strong { color: var(--text); }
.tester-link { margin: 14px 0 0; font-size: 0.92rem; color: var(--text-3); }
.tester-link a { color: var(--app-dark); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.tester-link a:hover { text-decoration: underline; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.badge-early { background: #fff4e3; color: #9a5300; border: 1px solid #ffd9a3; }
.badge-live { background: #ecfdf3; color: #166534; border: 1px solid #b7ebc8; }

/* A screenshot in a browser window */
.browser { border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 10px 30px rgba(17, 24, 39, 0.1); }
.gallery .browser, .app-hero-shot .browser { border-radius: 12px; border-bottom: 1px solid var(--line); }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #f3f4f6; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.browser-bar i:first-child { background: #ff8a80; }
.browser-bar i:nth-child(2) { background: var(--brand-amber); }
.browser-bar i:nth-child(3) { background: #86d39b; }

/* ---------- Pillars / values ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.pillar p { color: var(--text-2); margin: 0; }
.pillar-icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
}
.pillar-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-plain { border-top: 5px solid var(--brand-amber); }

/* ---------- About ---------- */
.about-teaser { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 64px; align-items: center; }
.about-photo { width: 100%; aspect-ratio: 1; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow); }
.about-photo-placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(260px 200px at 80% 90%, rgba(139, 92, 246, 0.45), transparent 70%),
    radial-gradient(260px 200px at 10% 10%, rgba(59, 130, 246, 0.35), transparent 70%),
    linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy));
}
.about-photo-placeholder img { width: 42%; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)); }
.about-teaser h2 { margin-bottom: 0.6em; }
.about-teaser p { color: var(--text-2); }
.prose p { font-size: 1.08rem; }

/* ---------- Call to action band ---------- */
.cta-band {
  color: #fff; padding: 72px 0;
  background:
    radial-gradient(600px 300px at 100% 100%, rgba(255, 179, 71, 0.22), transparent 70%),
    radial-gradient(700px 300px at 0% 0%, rgba(59, 130, 246, 0.25), transparent 70%),
    linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy));
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 0.3em; }
.cta-inner p { color: var(--on-dark); margin: 0; max-width: 36em; font-size: 1.1rem; }

/* ---------- App pages ---------- */
.app-hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--app-soft), var(--bg)); }
.app-hero-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.crumbs { font-size: 0.92rem; color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: var(--app-dark); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.app-title-large svg { width: 56px; height: 56px; }
.app-title-large h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.app-hero-copy .lead { font-family: var(--font-head); font-weight: 800; color: var(--text); margin-top: 16px; }
.app-hero-copy > p { color: var(--text-2); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.feature::before { content: ""; display: block; width: 36px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--app), var(--brand-amber)); margin-bottom: 16px; }
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--text-2); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.gallery-item { margin: 0; }
.gallery-item:only-child { max-width: 920px; width: 100%; justify-self: center; }
.gallery figcaption { margin-top: 14px; color: var(--text-2); font-size: 0.98rem; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 0 0 32px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  background: var(--brand-amber); color: var(--brand-navy); font-family: var(--font-head); font-weight: 900; font-size: 1.3rem;
}
.steps p { color: var(--text-2); margin: 0; }
.good-to-know { color: var(--text-2); background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 16px 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 28px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.45rem; }
.contact-card > p { color: var(--text-2); }
.contact-card .small a { color: var(--text-2); }
#early-access { border-top: 5px solid var(--brand-amber); }
.access-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.access-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.access-list svg { width: 32px; height: 32px; flex: none; }
.access-list span { font-weight: 700; flex: 1; }

/* ---------- Privacy and other long-text pages ---------- */
.policy h2 { font-size: 1.45rem; margin-top: 1.6em; }
.policy h2:first-child { margin-top: 0; }
.policy ul { padding-left: 1.2em; margin: 0 0 1em; }
.policy li { margin-bottom: 0.7em; color: var(--text-2); }
.policy li strong { color: var(--text); }
.policy p { color: var(--text-2); }
.policy a, .page-head .small a { color: var(--brand-amber-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-navy-deep); color: var(--on-dark-2); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo img { width: 44px; }
.wordmark { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 1.6rem; color: #fff; letter-spacing: -0.01em; }
.wordmark span { color: var(--brand-amber); }
.wordmark small { font-size: 0.7em; color: var(--on-dark-2); font-style: normal; font-weight: 800; }
.script { font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 1.2rem; color: var(--brand-amber); margin-top: 12px; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer ul a:hover { color: var(--brand-amber); }
.social { display: flex !important; gap: 10px !important; margin-top: 16px !important; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.social a:hover { background: var(--brand-amber); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.social a:hover svg { fill: var(--brand-navy); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 48px; padding-top: 22px; font-size: 0.9rem; }
.footer-legal p { margin: 0; }

/* ---------- Narrower screens ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 96px; }
  .hero-visual { max-width: 640px; }
  .pillars, .features, .steps { grid-template-columns: 1fr 1fr; }
  .app-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  #early-access { grid-column: 1 / -1; order: -1; }
  .about-teaser { gap: 40px; }
}

/* Phones: the menu folds into a button */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand img { height: 46px; }
  .js .nav-toggle {
    display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: transform 0.2s, background 0.2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 4px 0 16px; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav ul a[aria-current="page"], .site-nav ul a:hover { border-bottom-color: var(--line); color: var(--brand-amber-deep); }
  .site-nav .btn { margin-top: 8px; }

  .section { padding: 64px 0; }
  .section-tight { padding: 40px 0 64px; }
  .page-head { padding: 52px 0 20px; }
  .section-head { margin-bottom: 32px; }
  .pillars, .features, .steps, .contact-grid { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .app-card-shot { padding: 18px 18px 0; }
  .app-card-body { padding: 20px; }
  .hero-inner { padding-top: 48px; padding-bottom: 80px; }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .access-list li { flex-wrap: wrap; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
