/* =========================================================================
   CHORALO LANDING — mobile-first, brand-aligned
   Brand: cyan #33C7EC → dark #0E7FA8
   Ink:   #0B2A36 / #5B7682
   Card:  #EAF4F8 background, #FFFFFF surfaces
   ========================================================================= */

:root {
  --brand: #1FB6DF;
  --brand-light: #33C7EC;
  --brand-dark: #0E7FA8;
  --ink: #0B2A36;
  --ink-2: #5B7682;
  --ink-3: #8FA7B3;
  --bg: #EAF4F8;
  --card: #FFFFFF;
  --line: #D7E6EC;
  --shadow: 0 12px 32px rgba(11, 42, 54, 0.08);
  --shadow-strong: 0 24px 48px rgba(11, 42, 54, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
}

/* ----- Material Symbols icon font ----- */
.icon {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}
.brand-icon {
  color: white;
  font-size: 32px !important;
  margin-right: 2px;
  font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 32;
}
.crown.icon {
  color: #FFB300;
  font-size: 22px;
  font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 24;
  vertical-align: -3px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  background: linear-gradient(135deg, #33C7EC 0%, #0E7FA8 100%);
  color: white;
  padding: 20px 20px 60px;
  overflow: hidden;
  position: relative;
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
/* Legacy class kept in case any markup still references it. */
.drop { font-size: 20px; }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: white;
  opacity: 0.85;
}
.nav-link:hover { opacity: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-copy h1 {
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero-copy .lede {
  font-size: clamp(16px, 2vw, 18px);
  opacity: 0.92;
  margin: 0 0 24px;
  max-width: 480px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: white;
  min-width: 160px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cta:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.18); }
.cta-sub { font-size: 11px; opacity: 0.85; }
.cta-main { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.cta-primary {
  background: white;
  color: var(--brand-dark);
  border-color: white;
}
.trust { font-size: 13px; opacity: 0.85; margin: 0; }

/* Phones */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.phone {
  position: absolute;
  width: min(260px, 56vw);
  border-radius: 36px;
  box-shadow: var(--shadow-strong);
  border: 6px solid #1A2A30;
  background: black;
}
/* phone-back is now a div holding 4 cross-fading screens — it floats gently
   while .phone-screen children cycle through the demo. */
.phone-back {
  display: block;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  z-index: 1;
  opacity: 0.9;
  animation: phoneFloatBack 6s ease-in-out infinite;
  /* baseline transform that the float keyframe also re-applies */
  transform: rotate(-6deg) translateX(-26%) translateY(20px);
}
.phone-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: phoneCycle 16s infinite;
}
.phone-screen:nth-child(1) { animation-delay:  0s; }
.phone-screen:nth-child(2) { animation-delay:  4s; }
.phone-screen:nth-child(3) { animation-delay:  8s; }
.phone-screen:nth-child(4) { animation-delay: 12s; }
.phone-front {
  display: block;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  z-index: 2;
  animation: phoneFloatFront 6s ease-in-out infinite;
  animation-delay: -3s; /* opposite phase to phone-back for nice counter-bob */
  transform: rotate(4deg) translateX(8%);
}

/* Cross-fade keyframes: 1s fade-in, 3s hold, 1s fade-out, then wait.
   4 screens × 4s slot = 16s loop. */
@keyframes phoneCycle {
  0%, 100%      { opacity: 0; }
  6.25%, 25%    { opacity: 1; }
  31.25%        { opacity: 0; }
}
@keyframes phoneFloatBack {
  0%, 100% { transform: rotate(-6deg) translateX(-26%) translateY(20px); }
  50%      { transform: rotate(-6deg) translateX(-26%) translateY(8px); }
}
@keyframes phoneFloatFront {
  0%, 100% { transform: rotate(4deg) translateX(8%) translateY(0); }
  50%      { transform: rotate(4deg) translateX(8%) translateY(-12px); }
}
@keyframes watchBob {
  0%, 100% { transform: translateY(0)   rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

/* Honor users who explicitly ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  .phone-back, .phone-front, .watch,
  .phone-screen { animation: none !important; }
  .phone-screen:nth-child(1) { opacity: 1; }
}
.watch {
  position: absolute;
  width: 110px;
  height: auto;
  border-radius: 22px;
  background: black;
  border: 5px solid #1A2A30;
  box-shadow: var(--shadow-strong);
  z-index: 3;
  bottom: 14px;
  right: 14px;
  animation: watchBob 5s ease-in-out infinite;
  animation-delay: -1.5s;
  transform: translateY(0) rotate(-2deg);
}

/* =========================================================================
   PILLARS (3 columns)
   ========================================================================= */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.pillar {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.pillar-emoji { font-size: 36px; margin-bottom: 8px; }
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #33C7EC 0%, #0E7FA8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pillar-icon .icon {
  color: white;
  font-size: 30px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 40;
}
.pillar h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 800;
}
.pillar p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

/* =========================================================================
   FEATURE SECTION (alternating left/right)
   ========================================================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.feature-text { padding: 0; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.kicker.light { color: rgba(255, 255, 255, 0.85); }
.feature h2 {
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.feature p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 540px;
}
.feature-text.light p { color: rgba(255, 255, 255, 0.9); }
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullets li {
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0 8px 28px;
  position: relative;
}
.bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  font-weight: 900;
  color: var(--brand);
}
.bullets.light li { color: white; }
.bullets.light li::before { color: white; }

.feature-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-img {
  width: min(280px, 70vw);
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  border: 6px solid #1A2A30;
  background: black;
}
.watch-phone { padding: 20px; }
.watch-img {
  width: 200px;
  height: auto;
  border-radius: 32px;
  background: black;
  border: 6px solid #1A2A30;
  box-shadow: var(--shadow-strong);
}

/* Backgrounds for "dark" feature sections */
.wrapped-bg {
  background: linear-gradient(135deg, #33C7EC 0%, #0E7FA8 100%);
  color: white;
  margin: 0;
  max-width: none;
  padding: 60px 20px;
}
.wrapped-bg .feature-text { max-width: 540px; }
.watch-bg {
  background: linear-gradient(135deg, #0E2A36 0%, #1A4456 100%);
  color: white;
  margin: 0;
  max-width: none;
  padding: 60px 20px;
}

/* =========================================================================
   HOW IT WORKS (5 numbered steps + finale card)
   ========================================================================= */
.how {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.how-head { text-align: center; margin-bottom: 40px; }
.how-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
}
.how-sub { color: var(--ink-2); max-width: 560px; margin: 0 auto; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 22px 22px 88px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #33C7EC 0%, #0E7FA8 100%);
  color: white;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}
.step-body { }
.step-icon {
  font-size: 22px !important;
  color: var(--brand);
  vertical-align: -4px;
  margin-right: 4px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}
.step-tag {
  display: inline-block;
  background: linear-gradient(135deg, #FFB300, #FF8A00);
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: 2px;
  margin-left: 6px;
}
.step p {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.step-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.step-bullets li {
  padding: 4px 0 4px 22px;
  position: relative;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}
.step-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}

.how-finale {
  margin-top: 28px;
  background: linear-gradient(135deg, #33C7EC 0%, #0E7FA8 100%);
  color: white;
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.how-finale .step-icon {
  display: block;
  margin: 0 auto 8px;
  color: white;
  font-size: 32px !important;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 40;
}
.how-finale h3 { color: white; font-size: 20px; margin: 0 0 6px; }
.how-finale p { color: rgba(255,255,255,0.92); margin: 0; }

/* On tablet, give the number column more room */
@media (min-width: 720px) {
  .step { padding: 26px 26px 26px 110px; }
  .step-num {
    left: 26px;
    top: 26px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 22px;
  }
}

/* =========================================================================
   DETAILED MANUAL
   ========================================================================= */
.manual {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.manual-head { text-align: center; margin-bottom: 32px; }
.manual-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
}
.manual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.manual-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.manual-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.manual-icon {
  font-size: 26px !important;
  color: var(--brand);
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}
.manual-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.manual-card > p {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 10px;
}
.manual-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manual-card li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.manual-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}
.manual-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .manual-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .manual-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   SCREENSHOT STRIP
   ========================================================================= */
.strip {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.strip h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.strip-sub {
  color: var(--ink-2);
  margin: 0 0 32px;
}
.strip-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.strip-row img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: black;
}

/* =========================================================================
   PRICING
   ========================================================================= */
.pricing {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.pricing-sub {
  text-align: center;
  color: var(--ink-2);
  margin: 0 0 32px;
  font-size: 15px;
}
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.plan {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.plan h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}
.plan .price {
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--ink);
}
.plan .per {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  margin-left: 6px;
}
.plan .alt-price {
  color: var(--ink-2);
  font-size: 13px;
  margin: 0 0 16px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.plan li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--ink);
  font-size: 14px;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 900;
  color: var(--brand);
}
.plan-premium {
  background: linear-gradient(135deg, #33C7EC 0%, #0E7FA8 100%);
  color: white;
  border-color: transparent;
}
.plan-premium .price, .plan-premium .per, .plan-premium .alt-price,
.plan-premium li { color: white; }
.plan-premium li::before { color: white; }
.crown { font-size: 18px; }

/* =========================================================================
   CTA STRIP (waitlist)
   ========================================================================= */
.cta-strip {
  background: var(--ink);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.cta-strip p { color: rgba(255, 255, 255, 0.8); margin: 0 0 24px; }
.waitlist {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
}
.waitlist input {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 15px;
}
.waitlist input::placeholder { color: rgba(255, 255, 255, 0.5); }
.waitlist button {
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.waitlist button:hover { background: white; }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  background: #061218;
  color: white;
  padding: 40px 20px 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 24px;
}
.footer-inner > div { font-size: 14px; }
.footer-inner h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 12px;
  opacity: 0.6;
}
.footer-inner a {
  display: block;
  padding: 4px 0;
  opacity: 0.85;
}
.footer-inner a:hover { opacity: 1; }
.muted { opacity: 0.55; margin: 4px 0 0; font-size: 13px; }
.copyright {
  text-align: center;
  font-size: 12px;
  opacity: 0.4;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================================
   RESPONSIVE — tablet + desktop
   ========================================================================= */
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); padding: 60px 32px; }
  .feature { padding: 80px 32px; }
  .feature-left { grid-template-columns: 1.1fr 1fr; }
  .feature-right { grid-template-columns: 1fr 1.1fr; }
  .feature-right .feature-text { order: 2; }
  .feature-right .feature-phone { order: 1; }
  .strip-row { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .hero { padding: 24px 32px 80px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .hero-phones { min-height: 600px; }
  .phone { width: 280px; }
}

/* =========================================================================
   HOW-FINALE LINK (index.html → how-to.html jump)
   ========================================================================= */
.how-finale-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.15s ease;
}
.how-finale-link:hover { background: rgba(255, 255, 255, 0.28); }
.how-finale-link .icon { font-size: 18px !important; }

/* =========================================================================
   HOW-TO PAGE — walkthrough with screenshots
   ========================================================================= */
.howto-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.howto-nav .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.howto-nav .back .icon { font-size: 18px !important; color: var(--brand); }
.howto-nav .brand { font-size: 20px; gap: 6px; color: var(--ink); }
.howto-nav .brand-icon { color: var(--brand); font-size: 26px !important; }

.howto-hero {
  padding: 56px 20px 32px;
  text-align: center;
  background: linear-gradient(180deg, #E6F8FE 0%, #ffffff 100%);
}
.howto-hero .kicker { color: var(--brand); }
.howto-hero h1 {
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  line-height: 1.1;
}
.howto-hero p {
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.55;
}
.howto-toc {
  max-width: 720px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  text-align: left;
}
.howto-toc a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
}
.howto-toc a:hover { background: var(--bg); }
.howto-toc .icon { font-size: 18px !important; color: var(--brand); }

.howto-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.howto-section + .howto-section { border-top: 1px solid var(--line); }
.howto-shot {
  display: flex;
  justify-content: center;
}
.howto-shot img {
  width: 100%;
  max-width: 300px;
  border-radius: 28px;
  box-shadow: 0 24px 56px -16px rgba(15, 60, 90, 0.28),
              0 2px 6px rgba(15, 60, 90, 0.08);
  border: 1px solid var(--line);
  background: white;
}
.howto-copy .kicker { color: var(--brand); }
.howto-copy h2 {
  font-size: clamp(24px, 4.5vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.howto-copy h2 .icon {
  color: var(--brand);
  font-size: 32px !important;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 32;
}
.howto-copy > p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.howto-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.howto-steps li {
  position: relative;
  padding: 10px 0 10px 38px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  counter-increment: step;
}
.howto-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.howto-steps li strong { font-weight: 700; color: var(--ink); }
.howto-steps li .tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6c560, #e69e2e);
  color: white;
  font-size: 11px;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.howto-section.alt { background: var(--bg); }

.howto-end-cta {
  margin: 24px 20px 80px;
  padding: 36px 24px;
  background: linear-gradient(135deg, #33C7EC, #0E9BCB);
  border-radius: 24px;
  color: white;
  text-align: center;
}
.howto-end-cta h2 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.howto-end-cta p { color: rgba(255, 255, 255, 0.92); margin: 0 0 18px; }
.howto-end-cta .home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--brand-dark);
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

/* Two-column on tablet+: alternate sides */
@media (min-width: 760px) {
  .howto-section {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 72px 32px;
  }
  .howto-section.reverse .howto-shot { order: 2; }
  .howto-shot img { max-width: 320px; }
  .howto-toc { grid-template-columns: repeat(3, 1fr); }
  .howto-end-cta { margin: 32px auto 100px; max-width: 720px; }
}
@media (min-width: 1100px) {
  .howto-shot img { max-width: 340px; }
  .howto-toc { grid-template-columns: repeat(5, 1fr); }
}

/* =========================================================================
   LEGAL PAGES (privacy.html, terms.html) — reuse howto-nav at the top
   ========================================================================= */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.legal-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-head .kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.legal-head h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
  line-height: 1.15;
}
.legal-head .effective {
  color: var(--ink-2);
  font-size: 13px;
  margin: 0;
}
.legal-page .lede {
  font-size: 17px;
  color: var(--ink);
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 14px;
  margin: 8px 0 28px;
  background: rgba(31, 182, 223, 0.04);
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.legal-page h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 0 8px;
}
.legal-page p { margin: 10px 0; }
.legal-page ul {
  margin: 10px 0;
  padding-left: 22px;
}
.legal-page li { margin: 6px 0; }
.legal-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.legal-page a {
  color: var(--brand-dark);
  border-bottom: 1px solid rgba(14, 127, 168, 0.3);
}
.legal-page a:hover { border-bottom-color: var(--brand-dark); }
.legal-end {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

/* =========================================================================
   COMING-SOON TOAST (hero App Store / Google Play taps)
   ========================================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast .icon {
  font-size: 18px !important;
  color: var(--brand-light);
}
