/* ==========================================================================
   Catchdex 1.5 · Website
   Design source: Figma "Catchdex 1.5 · Website" (node 3-12, 1440 × 4155)
   Palette from Figma variables "Catchdex Web 1.5"
   ========================================================================== */

:root {
  --ink: #0A302C;
  --deep: #092A27;
  --forest: #144E44;
  --sea: #DDF0E8;
  --paper: #F3F6F0;
  --white: #FFFFFF;
  --muted: #5C746D;
  --lime: #BFE673;
  --gold: #E0BB77;

  --line: rgba(10, 48, 44, 0.14);
  --line-soft: rgba(10, 48, 44, 0.08);
  --line-light: rgba(255, 255, 255, 0.16);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --maxw: 1200px;
  --radius-card: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.container {
  width: min(var(--maxw), calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-nav.is-stuck { border-bottom-color: var(--line-soft); }

.nav-inner {
  width: min(var(--maxw), calc(100% - 96px));
  margin-inline: auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: none;
}
.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  flex: none;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  color: var(--ink);
  opacity: 0.82;
  transition: opacity 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-links a:hover { opacity: 1; background: rgba(10, 48, 44, 0.05); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.btn-app {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}
.btn-app:hover { background: var(--forest); transform: translateY(-1px); }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  appearance: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 600;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--deep); color: var(--white); }
.btn-solid:hover { background: var(--forest); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--deep); }

/* --------------------------------------------------------------------------
   01 · Hero
   -------------------------------------------------------------------------- */

.hero { background: var(--paper); padding: 76px 0 92px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero h1 {
  margin: 0;
  display: grid;
  font-size: clamp(2.4rem, 4.35vw, 3.95rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--ink);
}
.h-line-1 { display: block; }
.h-line-2 {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-top: 2px;
}

.hero-sub {
  margin: 26px 0 0;
  max-width: 25em;
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--muted);
}

.hero-coverage {
  margin: 18px 0 0;
  max-width: 30em;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.85;
}

.hero-meta {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-meta .dot { opacity: 0.5; }
.hero-meta a {
  border-bottom: 1px solid rgba(10, 48, 44, 0.25);
  padding-bottom: 1px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.hero-meta a:hover { color: var(--forest); border-color: var(--forest); }

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero 登录门槛说明 */
.hero-gate {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-visual { min-width: 0; }
.hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 46px rgba(9, 42, 37, 0.14));
}

/* --------------------------------------------------------------------------
   02 · How it looks
   -------------------------------------------------------------------------- */

.how { background: var(--deep); color: var(--white); padding: 100px 0; }

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 72px;
  align-items: center;
}

.how h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 3.35rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--white);
}

.how-sub {
  margin: 22px 0 0;
  max-width: 27em;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
}

.how-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  max-width: 34em;
}
.how-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.how-list li:first-child { border-top: 1px solid var(--line-light); }
.how-list .num {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 2px;
}

.how-note {
  margin: 34px 0 0;
  font-size: 0.78rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

/* Identification card */

.how-visual { display: flex; justify-content: center; min-width: 0; }

.id-card {
  width: min(392px, 100%);
  padding: 18px 16px 16px;
  border-radius: 24px;
  border: 1px solid rgba(191, 230, 115, 0.16);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(20, 78, 68, 0.85), rgba(9, 42, 37, 0.96) 62%);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.id-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.id-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d1f;
  font-size: 1rem;
  line-height: 1;
}
.id-scans {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.id-fish {
  width: 78%;
  margin: 6px auto 0;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.35));
}

.id-name {
  margin: 4px 0 0;
  text-align: center;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.id-tags {
  margin: 8px 0 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.6);
}
.id-tags .tag-rarity { color: var(--lime); }

.id-alts {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.id-alts figure {
  margin: 0;
  padding: 8px 6px 7px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
}
.id-alts img { width: 100%; height: 34px; object-fit: contain; }
.id-alts figcaption {
  margin-top: 4px;
  font-size: 0.6rem;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.id-tell-label {
  margin: 16px 2px 0;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}
.id-tell {
  margin: 4px 2px 0;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.id-cta {
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   03 · Species
   -------------------------------------------------------------------------- */

.species { background: var(--paper); padding: 104px 0 96px; }

.species-head {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 48px;
  align-items: start;
}

.species-count { display: grid; justify-items: start; }
.big-number {
  font-size: clamp(4.6rem, 10vw, 9.2rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--forest);
}
.rule {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 20px;
  background: var(--ink);
}

.species-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.15rem);
  line-height: 1.2;
  letter-spacing: -0.024em;
  font-weight: 700;
  color: var(--ink);
}
.species-intro p {
  margin: 20px 0 0;
  max-width: 30em;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--muted);
}

.species-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sp-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 22px 20px 20px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(9, 42, 37, 0.05);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(9, 42, 37, 0.1);
}
.sp-fish {
  height: clamp(120px, 13.6vw, 172px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sp-fish img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.sp-card h3 {
  margin: 12px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--ink);
}
.sp-card .rarity {
  height: 30px;
  width: auto;
  margin: 10px auto 0;
}

.species-note {
  margin: 52px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   04 · Personal record
   -------------------------------------------------------------------------- */

.record { background: var(--sea); padding: 104px 0; }

.record-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 76px;
  align-items: center;
}

/* 样例日志标识 */
.log-sample {
  margin: 0 0 16px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.log-card {
  width: min(470px, 100%);
  margin-inline: auto;
  padding: 26px 24px 28px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 24px 50px rgba(9, 42, 37, 0.12);
}

.log-group + .log-group { margin-top: 26px; }

.log-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
}
.log-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}
.log-date i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
  flex: none;
  transform: translateY(-1px);
}
.log-day { font-size: 0.74rem; color: var(--muted); }
.log-count { margin-left: auto; font-size: 0.76rem; color: var(--ink); opacity: 0.8; }

.log-photos {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.log-photos.cols-4 { grid-template-columns: repeat(4, 1fr); }
.log-photos.cols-3 { grid-template-columns: repeat(3, 1fr); }
.log-photos.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 62%; }
.log-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper);
}

.record-copy h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.35vw, 3.15rem);
  line-height: 1.16;
  letter-spacing: -0.026em;
  font-weight: 700;
  color: var(--ink);
}
.record-sub {
  margin: 22px 0 0;
  max-width: 31em;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}

.record-features { margin-top: 40px; max-width: 33em; }
.feat + .feat { margin-top: 26px; }
.feat {
  padding-top: 22px;
  border-top: 1px solid rgba(10, 48, 44, 0.24);
}
.feat h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feat p {
  margin: 6px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   05 · Closing CTA
   -------------------------------------------------------------------------- */

.cta { background: var(--deep); padding: 118px 0 126px; color: var(--white); text-align: center; }
.cta-inner { display: grid; justify-items: center; }

.cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.3rem, 4.9vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--white);
}
.cta-sub {
  margin: 22px 0 0;
  max-width: 40em;
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}
.cta .btn { margin-top: 34px; }

/* 底部 CTA 登录门槛说明（深色底） */
.cta-gate {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--paper); padding: 70px 0 28px; }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand { max-width: 320px; }
.footer-brand .brand { font-size: 1.03rem; }
.footer-brand p {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.lang-picker { position: relative; display: inline-block; margin-top: 18px; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.lang-btn:hover { border-color: var(--forest); background: rgba(10, 48, 44, 0.04); }
.lang-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.lang-btn[aria-expanded="true"] { border-color: var(--forest); background: rgba(10, 48, 44, 0.05); }
.lang-btn .lang-chevron { transition: transform 0.18s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 168px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(9, 42, 37, 0.16);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}
.lang-menu button:hover { background: var(--paper); }
.lang-menu button[aria-checked="true"] { background: var(--sea); font-weight: 600; }
.lang-menu button[aria-checked="true"]::after {
  content: "✓";
  margin-left: 12px;
  color: var(--forest);
}

.footer-nav { display: grid; gap: 26px; justify-items: end; text-align: right; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: flex-end;
  font-size: 0.93rem;
}
.footer-links a { color: var(--ink); opacity: 0.85; transition: opacity 0.18s var(--ease); }
.footer-links a:hover { opacity: 1; }
.footer-mail { margin: 0; font-size: 0.93rem; color: var(--muted); }
.footer-mail a { border-bottom: 1px solid transparent; transition: border-color 0.18s var(--ease); }
.footer-mail a:hover { border-color: var(--muted); }

.footer-bottom {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Fishing guide (landing placeholder)
   -------------------------------------------------------------------------- */

.guide-hero { background: var(--paper); padding: 82px 0 54px; }
.guide-eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}
.guide-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.026em;
  font-weight: 700;
  color: var(--ink);
}
.guide-lede {
  margin: 22px 0 0;
  max-width: 40em;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--muted);
}
.guide-note {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.guide-note a { color: var(--forest); border-bottom: 1px solid rgba(20, 78, 68, 0.35); }

.guide-body { background: var(--paper); padding: 10px 0 100px; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.guide-card {
  padding: 28px 26px 30px;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(9, 42, 37, 0.05);
}
.guide-idx {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--forest);
}
.guide-card h2 {
  margin: 10px 0 0;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.guide-card p {
  margin: 8px 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}
.guide-back { margin: 44px 0 0; font-size: 0.92rem; }
.guide-back a { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.guide-back a:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Focus + motion
   -------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 8px;
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Tablet landscape */
@media (max-width: 1080px) {
  .container,
  .nav-inner { width: min(100% - 64px, 940px); }

  .hero { padding: 64px 0 78px; }
  .hero-grid { gap: 40px; }
  .how { padding: 84px 0; }
  .how-grid { gap: 48px; }
  .species { padding: 84px 0 76px; }
  .record { padding: 84px 0; }
  .record-grid { gap: 48px; }
  .cta { padding: 96px 0 104px; }
}

/* Tablet portrait — stack the two-column blocks */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% - 6px);
    margin-left: 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 40px rgba(9, 42, 37, 0.14);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; opacity: 1; font-size: 0.96rem; }
  .nav-burger { display: inline-flex; }

  .hero-grid,
  .how-grid,
  .record-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-visual { order: 2; }
  .hero-visual img { width: min(100%, 620px); margin-inline: auto; }

  .how-visual { order: 2; }
  .id-card { width: min(420px, 100%); }

  .record-visual { order: 2; }

  .species-head { grid-template-columns: 1fr; gap: 26px; }
  .species-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
  .sp-card > img:first-child { height: clamp(128px, 30vw, 190px); }

  .footer-top { flex-direction: column; gap: 34px; }
  .footer-nav { justify-items: start; text-align: left; width: 100%; }
  .footer-links { justify-content: flex-start; gap: 10px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-hero { padding: 56px 0 36px; }
  .guide-body { padding-bottom: 64px; }
  .guide-card { padding: 22px 20px 24px; }
}

/* Phone */
@media (max-width: 640px) {
  .container,
  .nav-inner { width: calc(100% - 40px); }
  .nav-inner { min-height: 64px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 30px; height: 30px; }
  .btn-app { min-height: 36px; padding: 0 15px; font-size: 0.84rem; }

  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: clamp(2.05rem, 8.4vw, 2.75rem); }
  .hero-sub { margin-top: 20px; font-size: 1rem; }
  .hero-coverage { font-size: 0.76rem; }
  .hero-meta { font-size: 0.76rem; gap: 6px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { width: 100%; }

  .how { padding: 64px 0 68px; }
  .how h2 { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .how-list { margin-top: 32px; }
  .how-list li { grid-template-columns: 32px 1fr; padding: 16px 0; font-size: 0.9rem; }
  .how-note { margin-top: 26px; }
  .id-card { padding: 14px 12px 12px; border-radius: 20px; }
  .id-fish { width: 70%; }

  .species { padding: 60px 0 60px; }
  .big-number { font-size: clamp(3.4rem, 17vw, 4.6rem); }
  .species-intro h2 { font-size: clamp(1.4rem, 6.4vw, 1.9rem); }
  .species-intro p { margin-top: 16px; font-size: 0.93rem; }
  .species-grid { gap: 12px; margin-top: 30px; }
  .sp-card { padding: 14px 10px 14px; border-radius: 16px; }
  .sp-card > img:first-child { height: clamp(96px, 30vw, 140px); }
  .sp-card h3 { font-size: 0.66rem; letter-spacing: 0.05em; margin-top: 8px; }
  .sp-card .rarity { height: 22px; margin-top: 8px; }
  .species-note { margin-top: 34px; font-size: 0.86rem; }

  .record { padding: 60px 0; }
  .log-card { padding: 18px 16px 20px; border-radius: 20px; }
  .log-head { font-size: 0.8rem; flex-wrap: wrap; }
  .log-date i { width: 6px; height: 6px; }
  .log-photos { gap: 6px; }
  .log-photos img { border-radius: 8px; }
  .record-copy h2 { font-size: clamp(1.5rem, 6.6vw, 2rem); }
  .record-sub { font-size: 0.94rem; }
  .record-features { margin-top: 30px; }
  .feat h3 { font-size: 1.04rem; }

  .cta { padding: 70px 0 76px; }
  .cta h2 { font-size: clamp(1.75rem, 7.6vw, 2.3rem); }
  .cta-sub { font-size: 0.94rem; }
  .cta .btn { margin-top: 26px; width: 100%; }

  .hero-gate,
  .cta-gate { font-size: 0.78rem; max-width: 100%; }
  .log-sample { font-size: 0.64rem; margin-bottom: 12px; }

  .site-footer { padding: 50px 0 24px; }
  .footer-links { font-size: 0.88rem; gap: 8px 18px; }
  .footer-mail { font-size: 0.88rem; }
  .footer-bottom { margin-top: 32px; font-size: 0.74rem; }
}

@media (max-width: 380px) {
  .sp-card > img:first-child { height: 88px; }
  .hero-meta { font-size: 0.72rem; }
}
/* 上架前 CTA：链接不跳商店，视觉保持可读 */
.btn.is-coming-soon, .btn-app.is-coming-soon { cursor: default; }
