/* PhotoFroggy — site styles.
   Same tokens as the app, so the site and the product look like one thing.
   No web fonts: the system stack costs nothing to license and nothing to load. */

:root {
  --bg:           #14171b;
  --bg-2:         #1c1f24;
  --panel:        #23272e;
  --panel-2:      #2a2f37;
  --line:         #363c45;
  --text:         #e7eaf0;
  --text-dim:     #9aa4b2;
  --text-faint:   #6c7684;
  --accent:       #43ae4c;
  --accent-hover: #55c25e;
  --accent-soft:  rgba(67, 174, 76, .14);
  --danger:       #e5484d;
  --frog-dark:    #2e8536;
  --frog-main:    #3ea844;
  --frog-light:   #a8d44a;
  --radius:       10px;
  --maxw:         1080px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:           #ffffff;
    --bg-2:         #f4f6f8;
    --panel:        #ffffff;
    --panel-2:      #eef1f4;
    --line:         #dde1e6;
    --text:         #16191d;
    --text-dim:     #4d555f;
    --text-faint:   #79818c;
    --accent:       #2b8c38;
    --accent-hover: #23762e;
    --accent-soft:  rgba(43, 140, 56, .10);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg:           #ffffff;
  --bg-2:         #f4f6f8;
  --panel:        #ffffff;
  --panel-2:      #eef1f4;
  --line:         #dde1e6;
  --text:         #16191d;
  --text-dim:     #4d555f;
  --text-faint:   #79818c;
  --accent:       #2b8c38;
  --accent-hover: #23762e;
  --accent-soft:  rgba(43, 140, 56, .10);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Every interactive thing shows where the keyboard is. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .15s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------------ header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 10px; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 34px; height: auto; display: block; }
.brand b { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.brand b span { color: var(--frog-main); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto;
            flex-wrap: wrap; min-width: 0; }
.site-nav a {
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
  color: var(--text-dim); font-size: 14px;
}
.site-nav a:hover { color: var(--text); background: var(--panel-2); }

.ctl {
  padding: 7px 11px; font: inherit; font-size: 13px; cursor: pointer;
  color: var(--text-dim); background: transparent;
  border: 1px solid var(--line); border-radius: 8px;
  white-space: nowrap; flex: none;   /* 日本語 was wrapping one glyph per line */
}
.ctl:hover { color: var(--text); border-color: var(--accent); }

/* -------------------------------------------------------------------- hero */
.hero { padding-top: 72px; padding-bottom: 56px; text-align: center; }
.hero img.logo { width: 440px; max-width: 88%; height: auto; }
.hero h1 {
  margin: 22px 0 14px; font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15; letter-spacing: -.8px;
}
.hero p.lede {
  max-width: 620px; margin: 0 auto 28px;
  font-size: clamp(16px, 2.2vw, 19px); color: var(--text-dim);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; font: inherit; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border-radius: 10px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--panel-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--text-faint); }

/* ------------------------------------------------------------------ leapfrog */
/* The same three frogs that cross the app's progress bars. */
.leapfrog { position: relative; height: 30px; max-width: 420px; margin: 34px auto 0; overflow: hidden; }
.lf { position: absolute; inset: 0; animation: lf-run 3.6s linear infinite; }
.lf-body { position: absolute; left: 0; bottom: 0; width: 22px; height: 16px; transform-origin: 50% 100%; }
.lf svg { display: block; width: 100%; height: 100%; }
.lf-1 { color: var(--frog-dark);  animation-name: lf-x-a; }
.lf-2 { color: var(--frog-main);  animation-name: lf-x-b; }
.lf-3 { color: var(--frog-light); animation-name: lf-x-c; }
.lf-1 .lf-body { animation: lf-hop-a 3.6s infinite; }
.lf-2 .lf-body { animation: lf-hop-b 3.6s infinite; }
.lf-3 .lf-body { animation: lf-hop-c 3.6s infinite; }

@keyframes lf-x-a {
  0%{transform:translateX(-54%)} 11.11%{transform:translateX(0)}
  33.33%{transform:translateX(0)} 44.44%{transform:translateX(54%)}
  66.67%{transform:translateX(54%)} 77.78%{transform:translateX(108%)}
  100%{transform:translateX(108%)}
}
@keyframes lf-x-b {
  0%{transform:translateX(-36%)} 11.11%{transform:translateX(-36%)}
  22.22%{transform:translateX(18%)} 44.44%{transform:translateX(18%)}
  55.56%{transform:translateX(72%)} 77.78%{transform:translateX(72%)}
  88.89%{transform:translateX(126%)} 100%{transform:translateX(126%)}
}
@keyframes lf-x-c {
  0%{transform:translateX(-18%)} 22.22%{transform:translateX(-18%)}
  33.33%{transform:translateX(36%)} 55.56%{transform:translateX(36%)}
  66.67%{transform:translateX(90%)} 88.89%{transform:translateX(90%)}
  100%{transform:translateX(144%)}
}
@keyframes lf-hop-a {
  0%,11.11%,33.33%,44.44%,66.67%,77.78%,100% { transform: translateY(0) rotate(0); }
  5.5%,38.9%,72.2% { transform: translateY(-13px) rotate(-8deg); }
}
@keyframes lf-hop-b {
  0%,11.11%,22.22%,44.44%,55.56%,77.78%,88.89%,100% { transform: translateY(0) rotate(0); }
  16.6%,50%,83.3% { transform: translateY(-13px) rotate(-8deg); }
}
@keyframes lf-hop-c {
  0%,22.22%,33.33%,55.56%,66.67%,88.89%,100% { transform: translateY(0) rotate(0); }
  27.7%,61.1%,94.4% { transform: translateY(-13px) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) { .leapfrog { display: none; } }

/* ----------------------------------------------------------------- sections */
section { padding: 60px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(22px, 3.4vw, 30px); letter-spacing: -.4px; margin: 0 0 10px; }
.section-lede { color: var(--text-dim); margin: 0 0 32px; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.card .glyph { font-size: 20px; color: var(--accent); display: block; margin-bottom: 10px; }

/* ------------------------------------------------------- launch banner */
.launch-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 14px; padding: 9px 16px; text-align: center;
  background: var(--accent); color: #fff; font-size: 14.5px;
}
.launch-bar b { font-size: 1.1em; }
.launch-bar a {
  color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap;
}
.launch-bar.ended { background: var(--panel-2); color: var(--text-dim); }
.launch-note {
  margin: -12px 0 18px; color: var(--accent); font-weight: 600; font-size: 14.5px;
}

/* ------------------------------------------------------------ trust page */
.lede-small { font-size: 17px; color: var(--text-dim); }
.trust-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14.5px; }
.trust-table th, .trust-table td { text-align: left; vertical-align: top; padding: 10px 12px;
  border-bottom: 1px solid var(--line); }
.trust-table th { color: var(--text-dim); font-weight: 600; }
.trust-table td:first-child { white-space: nowrap; }
@media (max-width: 640px) {
  .trust-table, .trust-table tbody, .trust-table tr, .trust-table td { display: block; width: 100%; }
  .trust-table thead { display: none; }
  .trust-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .trust-table td { border: 0; padding: 3px 0; }
}
.trust-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.trust-facts dt { color: var(--text-dim); }
.trust-facts dd { margin: 0; min-width: 0; }
.hash { word-break: break-all; font-size: 13px; }
@media (max-width: 560px) { .trust-facts { grid-template-columns: 1fr; } .trust-facts dd { margin-bottom: 8px; } }

/* --------------------------------------------------------- features page */
.features-hero { padding-top: 48px; padding-bottom: 36px; }
.features-hero h1 { font-size: clamp(28px, 4.6vw, 42px); letter-spacing: -.6px; margin: 0 0 14px; }
.features-hero .lede { margin: 0 0 24px; max-width: 680px; }
.features-hero .hero-actions { justify-content: flex-start; }
.feature-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .feature-cols { grid-template-columns: 1fr; } }
.feature-cols > div {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.feature-cols h3 { margin: 0 0 10px; font-size: 17px; }
.feature-cols .ticks li { font-size: 14.5px; color: var(--text-dim); }
.ticks-wide { margin-top: 18px; max-width: 780px; }
.ticks-plain li::before { content: "•"; color: var(--text-faint); }
.features-cta { text-align: center; }
.features-cta .section-lede { margin-left: auto; margin-right: auto; }
.features-cta .hero-actions { justify-content: center; }
.more-link { margin: 22px 0 0; font-weight: 600; }
@media (max-width: 560px) {
  .features-hero .head-frog { flex-direction: column-reverse; gap: 6px; }
  .features-hero .frog-big { margin-top: 0; }
}

/* ------------------------------------------------------------ the frogs */
/* Drawn by the author; decorative, so they carry empty alt text. */
.head-frog { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.head-frog h2 { margin-bottom: 10px; }
.frog-big { width: 120px; height: 120px; flex: none; margin-top: -10px; }
.card-frog { width: 72px; height: 72px; display: block; margin: -6px 0 8px -4px; }
@media (max-width: 560px) { .frog-big { width: 76px; height: 76px; } }

.spotlight {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; margin-bottom: 16px;
}
.spotlight h3 { margin: 0 0 10px; font-size: 21px; }
.spotlight p { margin: 0 0 14px; color: var(--text-dim); }
.spot-img { width: 100%; height: auto; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 4px 0 4px 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
@media (max-width: 700px) {
  .spotlight { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .spot-img { max-width: 190px; margin: 0 auto; }
}

/* ------------------------------------------------------------------ pricing */
.price-wrap { display: flex; justify-content: center; align-items: flex-start;
  gap: 20px; flex-wrap: wrap; }
.price-name { font-weight: 700; font-size: 15px; letter-spacing: .3px; margin: 0 0 12px;
  color: var(--text-dim); text-transform: uppercase; }
.price.price-pass { max-width: 340px; border-color: var(--line); }
.price.price-pass .amount { font-size: 42px; }
.price {
  width: 100%; max-width: 460px; background: var(--panel);
  border: 2px solid var(--accent); border-radius: 14px; padding: 30px;
  text-align: center;
}
.price .amount { font-size: 50px; font-weight: 700; letter-spacing: -1.5px; line-height: 1; }
.price .cur { font-size: 20px; color: var(--text-dim); vertical-align: super; margin-right: 2px; }
.price .once { color: var(--text-dim); margin: 8px 0 22px; }
.price ul { list-style: none; margin: 0 0 24px; padding: 0; text-align: left; }
.price li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; }
.price li::before {
  content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700;
}
.price .btn { width: 100%; justify-content: center; }

#checkout { margin-top: 22px; }
.checkout-panel { max-width: 560px; margin: 26px auto 0; text-align: center; }
.checkout-title { margin: 0 0 4px; font-size: 18px; }
.checkout-title [data-for] { display: none; }
.checkout-title[data-kind="pass"] [data-for="pass"],
.checkout-title[data-kind="lifetime"] [data-for="lifetime"] { display: inline; }
.checkout-note { font-size: 13px; color: var(--text-faint); margin-top: 14px; }
.resend { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.resend label { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.resend-row { display: flex; gap: 8px; flex-wrap: wrap; }
.resend-row input { flex: 1 1 200px; min-width: 0; padding: 10px 12px; font: inherit;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.resend-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* --------------------------------------------------------------- free tier */
.tier-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.tier-table th, .tier-table td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.tier-table th { color: var(--text-faint); font-size: 12px; text-transform: uppercase;
                 letter-spacing: .05em; font-weight: 600; }
.tier-table td:not(:first-child) { text-align: center; }
.yes { color: var(--accent); font-weight: 700; }
.no  { color: var(--text-faint); }

/* ------------------------------------------------------------------- legal */
.legal { padding-top: 48px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 6px; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-dim); }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent); }
.legal .box {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 18px; margin: 22px 0;
}
.legal .box p { margin: 0; color: var(--text); font-size: 15px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
       padding: 18px 22px; margin-bottom: 36px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc a { color: var(--text-dim); }
.toc a:hover { color: var(--accent); }

/* ------------------------------------------------------------ smartscreen */
.smartscreen { margin: 22px auto 0; max-width: 620px; text-align: left;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.smartscreen p { margin: 0 0 14px; font-size: 14px; color: var(--text-dim); }
.ss-mock { background: #1d5fa8; color: #fff; border-radius: 8px; padding: 16px 18px;
  font: 14px/1.4 "Segoe UI", Meiryo, sans-serif; }
.ss-title { font-size: 19px; font-weight: 300; margin-bottom: 10px; }
.ss-link { text-decoration: underline; margin-bottom: 14px; }
.ss-meta { margin: -6px 0 14px; }
.ss-meta b { font-weight: 600; }
.ss-buttons { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ss-btn { border: 2px solid #fff; padding: 5px 14px; }
.ss-btn-dim { opacity: .75; border-width: 1px; }
.ss-step { display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px;
  font-weight: 700; text-decoration: none; margin-left: 6px; vertical-align: middle; }

/* ------------------------------------------------------------------ footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1fr; gap: 28px; }
/* On a phone: logo on its own row, Product and Legal side by side, then
   Contact full width so the email address is never squeezed. */
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .foot-col:first-child, .foot-col:last-child { grid-column: 1 / -1; }
}
.site-foot a { color: var(--text-dim); text-decoration: none; display: block; padding: 3px 0; font-size: 14px; }
.site-foot a:hover { color: var(--accent); }
.foot-col h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase;
               letter-spacing: .06em; color: var(--text-faint); }
.foot-note { margin-top: 28px; font-size: 13px; color: var(--text-faint); }

/* --------------------------------------------------------------- language */
/* Both languages ship in the markup, so the page still reads with JS off. */
[data-lang] { display: none; }
[data-lang].is-active { display: block; }
html.no-js [data-lang] { display: block; }
span[data-lang].is-active, a[data-lang].is-active { display: inline; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ------------------------------------------------------- themed artwork */
/* The wordmark is drawn twice, dark ink and white ink, because the aperture
   standing in for the "o" cannot be recoloured -- its gaps do the drawing.
   These selectors mirror the ones that pick the colour tokens above. */
.logo-light { display: none; }
.logo-dark  { display: inline-block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo-light { display: inline-block; }
  :root:not([data-theme="dark"]) .logo-dark  { display: none; }
}
:root[data-theme="light"] .logo-light { display: inline-block; }
:root[data-theme="light"] .logo-dark  { display: none; }
:root[data-theme="dark"]  .logo-light { display: none; }
:root[data-theme="dark"]  .logo-dark  { display: inline-block; }


/* ------------------------------------------------------------ phone menu */
.menu-btn { display: none; font-size: 16px; line-height: 1; min-width: 40px; }
.menu-btn { color: var(--accent); border-color: var(--accent); }
.menu-btn:hover { color: #fff; background: var(--accent); }

@media (max-width: 760px) {
  .site-head .wrap { position: relative; }
  .brand { margin-right: auto; }
  .menu-btn { display: inline-flex; justify-content: center; order: 5; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 8px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; font-size: 16px; white-space: nowrap; }
}

/* ---------------------------------------------- language link & offer bar */
a.ctl { display: inline-flex; align-items: center; text-decoration: none; }
.lang-offer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 16px; background: var(--accent-soft); border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.lang-offer a { color: var(--accent); font-weight: 600; text-decoration: none; }
.lang-offer button {
  background: none; border: 0; color: var(--text-dim); font-size: 18px;
  line-height: 1; cursor: pointer; padding: 2px 6px;
}

/* ---------------------------------------------------------- how it works */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 60px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text-dim); font-size: 14.5px; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; }
.steps li b { display: block; color: var(--text); margin-bottom: 4px; font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- guides */
.guide-list { list-style: none; padding: 0; margin: 0 0 18px;
  display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-list a { display: block; height: 100%; padding: 14px 16px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-list a:hover { border-color: var(--accent); }
.guide-list b { display: block; color: var(--text); margin-bottom: 4px; }
.guide-list span { display: block; color: var(--text-dim); font-size: 14px; }
@media (max-width: 680px) { .guide-list { grid-template-columns: 1fr; } }

.crumbs { font-size: 13px; color: var(--text-faint); margin: 0 0 18px; }
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.guide { max-width: 760px; }
.guide section { padding: 0; border: 0; }
.guide ol, .guide ul { padding-left: 1.4em; }
.guide em { font-style: normal; font-weight: 600; color: var(--text); }
.guide .box { margin: 0 0 22px; }
.guide code, .guide kbd { font-size: .92em; }
.guide kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px;
  padding: 0 5px; background: var(--panel); }
.compare { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 14px; }
.compare th, .compare td { border: 1px solid var(--line); padding: 8px 10px; text-align: left;
  vertical-align: top; color: var(--text-dim); }
.compare th { color: var(--text); background: var(--panel); }
.compare td:first-child { color: var(--text); font-weight: 600; }
@media (max-width: 680px) {
  .compare { display: block; overflow-x: auto; white-space: nowrap; }
}
.cta { display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 8px;
  padding: 20px; border: 1px solid var(--accent); border-radius: 14px;
  background: var(--accent-soft); }
.cta img { flex: none; }
.cta h2 { margin: 0 0 6px !important; }
.cta p { margin: 0 0 12px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 !important; }
.legal .cta a.btn { text-decoration: none; }
.legal .cta a.btn-primary { color: #fff; }
@media (max-width: 560px) { .cta { flex-direction: column; } }
.related { margin-top: 36px; }

/* ------------------------------------------------------ legal disclosure */
.disclosure { width: 100%; border-collapse: collapse; margin-top: 8px; }
.disclosure th, .disclosure td {
  text-align: left; vertical-align: top; padding: 14px 16px;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.disclosure th { width: 32%; color: var(--text); font-weight: 600; }
.disclosure td { color: var(--text-dim); }
@media (max-width: 600px) {
  .disclosure th, .disclosure td { display: block; width: 100%; }
  .disclosure th { border-bottom: 0; padding-bottom: 2px; }
}

/* ------------------------------------------------------------ what's new */
.release { padding: 18px 0 8px; border-top: 1px solid var(--line); }
.release:first-of-type { border-top: 0; }
.release h2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 4px; }
.release h2 time { font-size: 0.9rem; font-weight: 400; color: var(--text-dim); }
.release-summary { margin: 0 0 8px; font-weight: 600; }
.release ul { margin: 0 0 10px; padding-left: 1.2em; }
.release li { margin: 4px 0; }

/* Long paths and keys in guides wrap instead of pushing the page sideways. */
main code { overflow-wrap: anywhere; }

/* Free-first badge above the homepage headline */
.hero-badge { display: table; margin: 14px auto 4px; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent);
  font-weight: 700; font-size: 14px; letter-spacing: .2px; }
