/* 正渔 FishingNow — company site
   Tokens follow the product tokens.scss exactly. */

:root {
  --primary: #1a7f5a;
  --primary-dark: #146448;
  --primary-deeper: #0f4a35;
  --primary-light: #e8f5ef;
  --danger: #c0392b;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #f3f4f6;
  --card: #ffffff;
  --border: #e5e7eb;
  --nav-bg: #1a7f5a;
  --on-primary: #ffffff;
  --ring: rgba(26, 127, 90, 0.35);
  --shadow: 0 1px 2px rgba(31, 41, 55, 0.04), 0 10px 28px rgba(31, 41, 55, 0.06);
  --shadow-soft: 0 1px 2px rgba(31, 41, 55, 0.05);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 64px;
  --container: 1080px;
  --space: 1.25rem;
  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Source Han Sans SC", "Source Han Sans CN",
    "Microsoft YaHei", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-dark);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--card);
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.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;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: var(--nav-bg);
  color: var(--on-primary);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--on-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--on-primary);
  opacity: 0.92;
}

.brand:focus-visible {
  outline-color: #fff;
}

.brand-mark {
  height: 32px;
  width: auto;
}

.brand-en {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle:focus-visible {
  outline-color: #fff;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

body.nav-open .nav-toggle-bars {
  background: transparent;
}

body.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
}

.nav-menu a:focus-visible {
  outline-color: #fff;
}

@media (max-width: 800px) {
  .brand-en {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, calc(var(--container) + 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--primary-dark);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 12px 24px rgba(15, 74, 53, 0.25);
  }

  body.nav-open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-on-green {
  background: #fff;
  color: var(--primary-dark);
}

.btn-on-green:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-ghost-on-green {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost-on-green:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(26, 127, 90, 0.16), transparent 60%),
    linear-gradient(180deg, #e8f5ef 0%, #f3f4f6 72%);
  padding: 3.25rem 0 3.5rem;
}

.hero-ripple {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 70vw);
  height: auto;
  pointer-events: none;
  opacity: 0.45;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.eyebrow strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .eyebrow-sep {
    display: none;
  }

  .eyebrow [lang="en"] {
    display: block;
    margin-top: 0.15rem;
  }
}

.hero-title {
  margin: 0 0 0.85rem;
}

.hero-mark {
  height: clamp(72px, 14vw, 112px);
  width: auto;
}

.hero-en {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text);
}

.hero-tag {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 40rem;
  margin: 0 0 0.9rem;
  color: var(--text);
}

.hero-lead[lang="en"] {
  color: #4b5563;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* ---------- Sections ---------- */

main {
  flex: 1;
}

.section {
  padding: 3.25rem 0;
}

.section + .section {
  padding-top: 0;
}

.section-header {
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header h2,
.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.section-header p,
.lede {
  margin: 0;
  color: var(--text-muted);
}

.page-hero {
  padding: 2.4rem 0 1.5rem;
  background:
    radial-gradient(800px 280px at 100% 0%, rgba(26, 127, 90, 0.12), transparent 60%),
    linear-gradient(180deg, #e8f5ef 0%, #f3f4f6 100%);
}

.page-hero .eyebrow {
  margin-bottom: 0.6rem;
}

.page-hero h1 {
  color: var(--text);
}

.page-hero .lede {
  max-width: 42rem;
  font-size: 1.05rem;
  color: var(--text);
}

.page-hero .lede[lang="en"],
.page-hero .lede-en {
  margin-top: 0.7rem;
  color: #4b5563;
  font-size: 1rem;
}

/* ---------- Cards / grids ---------- */

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.1rem;
}

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

  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.45rem 1.4rem 1.5rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.card h3 .en {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.card p {
  margin: 0 0 0.75rem;
  color: var(--text);
}

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

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prose,
.card.prose {
  padding: 1.7rem 1.6rem 1.8rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose p {
  margin: 0 0 1rem;
}

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

.prose h2,
.prose h3 {
  margin: 0 0 0.7rem;
  line-height: 1.35;
}

.prose h2 {
  font-size: 1.35rem;
}

.prose h3 {
  font-size: 1.12rem;
}

.prose + .prose,
.stack > * + * {
  margin-top: 1.1rem;
}

.feature-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 860px) {
  .steps.steps-row {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
  }
}

.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  min-height: 100%;
}

.steps .n {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.steps span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Legal facts ---------- */

.facts {
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.facts div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.facts div:first-child {
  border-top: 0;
}

.facts dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.facts dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 550;
  word-break: break-word;
}

.facts .en {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts div {
    border-top: 0;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .facts div:nth-child(2n) {
    border-right: 0;
  }

  .facts.span-full div.span-2 {
    grid-column: 1 / -1;
    border-right: 0;
  }
}

/* ---------- Contact blocks ---------- */

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-item a {
  font-weight: 650;
  text-decoration: none;
  color: var(--primary);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item .label {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.address {
  margin: 0;
  font-style: normal;
  line-height: 1.7;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  display: grid;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.1rem 2rem;
  }
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: #fff;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

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

.site-footer {
  margin-top: auto;
  background: var(--primary-deeper);
  color: #e8f5ef;
  padding: 2.4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer-brand:hover {
  color: #fff;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.site-footer p,
.site-footer address {
  margin: 0 0 0.45rem;
  font-style: normal;
  color: #e8f5ef;
  font-size: 0.95rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.site-footer a:focus-visible {
  outline-color: #fff;
}

.footer-links,
.footer-legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-legal-links li {
  margin: 0.28rem 0;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(232, 245, 239, 0.8);
}

.footer-bottom p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

/* ---------- Misc ---------- */

.note {
  font-size: 0.95rem;
  color: var(--text-muted);
}

hr.soft {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

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

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    transition: none;
  }
}
