/* Pine (pinepod.fm) — Clean, fast, zero-JS stylesheet */

:root {
  --pine-forest: #0D2B1D;
  --pine-forest-deep: #081C13;
  --pine-forest-mid: #143A28;
  --pine-emerald: #2E9E5B;
  --pine-emerald-bright: #34C759;
  --pine-emerald-ink: #1A723E;

  --bg: #FFFFFF;
  --bg-alt: #F5F8F6;
  --surface: #FFFFFF;
  --surface-subtle: #EDF4F0;
  --border: #DCE6E0;
  --border-strong: #C4D6CC;

  --text: #102018;
  --text-muted: #425B4E;
  --text-subtle: #5B7366;

  --code-bg: #E7F0EB;
  --code-ink: #0E3321;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 1px 2px rgba(13, 43, 29, 0.05), 0 8px 24px rgba(13, 43, 29, 0.04);
  --shadow-phone: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(242, 247, 244, 0.12);

  --max-width: 1080px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pine-emerald-ink: #34C759;

    --bg: #08150F;
    --bg-alt: #0C1E15;
    --surface: #10261B;
    --surface-subtle: #143123;
    --border: #1D3B2C;
    --border-strong: #28513C;

    --text: #EEF5F1;
    --text-muted: #ADC4B7;
    --text-subtle: #89A696;

    --code-bg: #153324;
    --code-ink: #8CE8A4;

    --shadow-card: 0 2px 6px rgba(0, 0, 0, 0.28);
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--pine-emerald-ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--pine-emerald-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--code-bg);
  color: var(--code-ink);
  padding: 0.12em 0.42em;
  border-radius: 5px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine-emerald-bright);
  color: #062014;
  font-weight: 600;
  padding: 0.65rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

/* Hero & Navigation Band */
.hero-band {
  background:
    radial-gradient(900px 520px at 80% 10%, rgba(52, 199, 89, 0.14), transparent 62%),
    radial-gradient(700px 420px at 15% 85%, rgba(46, 158, 91, 0.12), transparent 60%),
    linear-gradient(180deg, #0A2217 0%, var(--pine-forest) 58%, #0E3121 100%);
  color: #F2F7F4;
  border-bottom: 1px solid rgba(242, 247, 244, 0.09);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #F2F7F4;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(242, 247, 244, 0.18);
  overflow: hidden;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-domain {
  font-size: 0.82rem;
  color: #9EC4B0;
  font-weight: 500;
  padding-left: 0.45rem;
  border-left: 1px solid rgba(242, 247, 244, 0.18);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  font-size: 0.92rem;
}

.site-nav a {
  color: #CBE0D4;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  transition: color 140ms ease;
}

.site-nav a:hover {
  color: #FFFFFF;
}

.site-nav .nav-gh {
  color: #F2F7F4;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 247, 244, 0.22);
  background: rgba(242, 247, 244, 0.06);
}

.site-nav .nav-gh:hover {
  border-color: rgba(52, 199, 89, 0.65);
  background: rgba(52, 199, 89, 0.14);
}

/* Hero layout */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
  padding-top: 2.25rem;
  padding-bottom: 4.25rem;
}

.hero-emblem-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.hero-icon {
  display: inline-flex;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(242, 247, 244, 0.18);
  overflow: hidden;
  flex-shrink: 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7BE098;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: #FFFFFF;
  max-width: 17ch;
}

.hero-subtitle {
  margin: 0 0 1.85rem;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.6;
  color: #CFE2D7;
  max-width: 54ch;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--pine-emerald-bright);
  color: #052012;
  box-shadow: 0 6px 20px rgba(52, 199, 89, 0.25);
}

.btn-primary:hover {
  background: #46D369;
}

.btn-secondary {
  background: rgba(242, 247, 244, 0.11);
  color: #FFFFFF;
  border: 1px solid rgba(242, 247, 244, 0.28);
}

.btn-secondary:hover {
  background: rgba(242, 247, 244, 0.18);
  border-color: rgba(242, 247, 244, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #CBE2D5;
  border: 1px solid rgba(242, 247, 244, 0.18);
}

.btn-ghost:hover {
  color: #FFFFFF;
  border-color: rgba(242, 247, 244, 0.36);
  background: rgba(242, 247, 244, 0.06);
}

.hero-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: #A2C4B2;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.hero-pills li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pine-emerald-bright);
}

/* Miniature Pine Player Preview */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: 100%;
  max-width: 344px;
  background: linear-gradient(180deg, #091D14 0%, #07160F 100%);
  border-radius: 28px;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(158, 196, 176, 0.18);
  color: #EFF6F2;
  font-size: 0.84rem;
}

.phone-skip-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 0.6rem;
  margin-bottom: 0.85rem;
  background: rgba(242, 247, 244, 0.06);
  border: 1px solid rgba(242, 247, 244, 0.08);
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #C3DCD0;
  font-variant-numeric: tabular-nums;
}

.phone-ep-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.phone-art {
  flex-shrink: 0;
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(242, 247, 244, 0.14);
}

.phone-show {
  font-size: 0.72rem;
  color: #7BE098;
  font-weight: 600;
}

.phone-ep-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.phone-ep-date {
  font-size: 0.73rem;
  color: #93B4A3;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #8CAE9C;
  padding-bottom: 0.55rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(242, 247, 244, 0.09);
}

.phone-tabs .active {
  color: #FFFFFF;
  position: relative;
}

.phone-tabs .active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--pine-emerald-bright);
  border-radius: 99px;
  margin-top: 0.35rem;
}

.phone-notes {
  background: rgba(242, 247, 244, 0.04);
  border: 1px solid rgba(242, 247, 244, 0.07);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.85rem;
}

.phone-notes p {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #C7DDD1;
}

.phone-notes p:last-child {
  margin-bottom: 0;
}

.phone-notes .notes-lead {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #84A895;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.phone-notes .ts {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: #7BE098;
  background: rgba(52, 199, 89, 0.14);
  padding: 0.04rem 0.35rem;
  border-radius: 4px;
  margin-right: 0.25rem;
}

.phone-scrubber {
  margin-bottom: 0.75rem;
}

.scrubber-track {
  position: relative;
  height: 5px;
  border-radius: 99px;
  background: rgba(242, 247, 244, 0.15);
  margin-bottom: 0.35rem;
}

.scrubber-fill {
  width: 57%;
  height: 100%;
  border-radius: 99px;
  background: var(--pine-emerald-bright);
}

.scrubber-knob {
  position: absolute;
  left: 57%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.scrubber-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #93B4A3;
  font-variant-numeric: tabular-nums;
}

.phone-transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding: 0 0.2rem;
}

.t-muted {
  color: #82A894;
  font-size: 0.95rem;
}

.t-icon {
  color: #E4F0E9;
  font-size: 1rem;
}

.t-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pine-emerald-bright);
  color: #052012;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.t-speed {
  font-size: 0.8rem;
  font-weight: 700;
  color: #E4F0E9;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(242, 247, 244, 0.09);
}

.t-smart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(52, 199, 89, 0.2);
  color: #7BE098;
  border: 1px solid rgba(52, 199, 89, 0.45);
  font-size: 0.82rem;
}

.phone-smart-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.28);
  color: #C7F2D3;
  font-size: 0.74rem;
}

.smart-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pine-emerald-bright);
}

/* Main Editorial Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 2.5rem;
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine-emerald-ink);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 720;
  color: var(--text);
}

.section-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* 6-card editorial feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem 1.55rem;
  box-shadow: var(--shadow-card);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--surface-subtle);
  color: var(--pine-emerald-ink);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Value-for-Value (V4V) Lightning Zaps Spotlight */
.v4v-spotlight {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--pine-emerald);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem;
  box-shadow: var(--shadow-card);
}

.v4v-copy h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  color: var(--text);
}

.v4v-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.v4v-wallets-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.wallet-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.wallet-pills li {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.wallet-pills code {
  background: transparent;
  padding: 0;
  color: var(--pine-emerald-ink);
}

/* Sync vs Backup comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.compare-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.badge-sync {
  background: rgba(46, 158, 91, 0.14);
  color: var(--pine-emerald-ink);
  border: 1px solid rgba(46, 158, 91, 0.3);
}

.badge-backup {
  background: var(--surface-subtle);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.compare-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.compare-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.clean-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.clean-list li {
  margin-bottom: 0.42rem;
}

.clean-list li:last-child {
  margin-bottom: 0;
}

.footnote-bar {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Under the hood spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  margin: 0;
}

.spec-item {
  padding-top: 1rem;
  border-top: 1px solid var(--border-strong);
}

.spec-item dt {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.spec-item dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Get Pine cards */
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.platform-label {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine-emerald-ink);
}

.download-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
}

.download-card p {
  margin: 0 0 1.1rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.text-link {
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Editorial narrow sections (Privacy & Support) */
.editorial-narrow {
  max-width: 760px;
}

.policy-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.policy-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.policy-list strong {
  color: var(--text);
}

.support-blocks {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.support-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.support-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.support-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.support-item p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.inline-link {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--pine-forest-deep);
  color: #C7DDD1;
  border-top: 1px solid rgba(242, 247, 244, 0.08);
  padding: 2.25rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #EFF6F2;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.35rem;
}

.footer-links a {
  color: #A8CAB8;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-colophon {
  margin: 0;
  font-size: 0.82rem;
  color: #7EA18F;
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .container {
    padding-inline: 1.75rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.22fr 0.88fr;
    gap: 3rem;
    padding-top: 3.25rem;
    padding-bottom: 5rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v4v-spotlight {
    grid-template-columns: 1.3fr 1fr;
    gap: 2.25rem;
  }

  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
