:root {
  color-scheme: light;
  --bg: #f4f7ec;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.82);
  --text: #0d1f12;
  --muted: #465a4b;
  --soft: #eef4e6;
  --line: #d4dfca;
  --blue: #173300;
  --blue-2: #275600;
  --cyan: #9fe870;
  --green: #63c93d;
  --violet: #143021;
  --amber: #d6ff63;
  --coral: #b8f25a;
  --ink: #102315;
  --shadow: 0 22px 70px rgba(16, 35, 21, 0.16);
  --small-shadow: 0 10px 28px rgba(16, 35, 21, 0.09);
  --radius: 8px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f7ec;
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(15, 44, 17, 0.1);
  background: rgba(244, 247, 236, 0.78);
  backdrop-filter: blur(20px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(16, 35, 21, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #173300;
  box-shadow: 0 12px 26px rgba(16, 35, 21, 0.22);
}

.brand-mark span,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 7px;
  border-radius: 999px;
  background: #9fe870;
  transform: rotate(-43deg);
}

.brand-mark::after {
  transform: rotate(43deg);
  opacity: 0.82;
}

.brand-text {
  font-size: 18px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(16, 35, 21, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: #173300;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a,
.footer-links a {
  border-radius: var(--radius);
}

.site-nav a {
  padding: 8px 12px;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--blue);
  background: rgba(159, 232, 112, 0.42);
}

.header-cta,
.primary-btn,
.secondary-btn,
.contact-link,
.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 900;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header-cta,
.primary-btn {
  color: #9fe870;
  background: #173300;
  box-shadow: 0 16px 34px rgba(16, 35, 21, 0.22);
}

.secondary-btn,
.language-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 35, 21, 0.16);
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: start;
  padding: 172px clamp(20px, 6vw, 84px) 128px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, #9fe870 0%, #b7f26a 48%, #eaf6d9 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02);
  opacity: 0.16;
  mix-blend-mode: multiply;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(159, 232, 112, 0.96) 0%, rgba(159, 232, 112, 0.86) 39%, rgba(159, 232, 112, 0.18) 74%, rgba(159, 232, 112, 0.38) 100%),
    linear-gradient(180deg, rgba(244, 247, 236, 0) 0%, rgba(244, 247, 236, 0.18) 62%, #f4f7ec 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(23, 51, 0, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 51, 0, 0.34) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black 0%, black 58%, transparent 92%);
}

.hero-content {
  width: min(760px, 100%);
  animation: rise-in 540ms ease both;
}

.eyebrow,
.label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(16, 35, 21, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(16, 35, 21, 0.08);
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(74px, 12vw, 168px);
  line-height: 0.84;
  font-weight: 950;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.06;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
}

.hero-lead {
  max-width: 640px;
  color: #213b24;
  font-size: clamp(17px, 2vw, 21px);
}

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

.quote-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.quote-line span {
  padding: 10px 13px;
  border: 1px solid rgba(16, 35, 21, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  color: #173300;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(16, 35, 21, 0.08);
}

.hero-dashboard {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  top: 154px;
  width: min(380px, 32vw);
  display: grid;
  gap: 14px;
}

.dashboard-card {
  border: 1px solid rgba(16, 35, 21, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 62px rgba(16, 35, 21, 0.16);
}

.main-rate,
.alert-card {
  padding: 22px;
}

.dashboard-card span,
.dashboard-card em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.dashboard-card strong {
  display: block;
  margin: 10px 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.05;
}

.main-rate strong {
  color: #173300;
}

.alert-card {
  background: #173300;
}

.alert-card span,
.alert-card strong,
.alert-card em {
  color: #9fe870;
}

.mini-list {
  overflow: hidden;
}

.mini-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(16, 35, 21, 0.1);
}

.mini-list div:last-child {
  border-bottom: 0;
}

.mini-list b {
  color: #275600;
}

.hero-ticker {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  bottom: 34px;
  left: clamp(20px, 6vw, 84px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #173300;
  border-radius: var(--radius);
  background: #173300;
  box-shadow: 0 24px 70px rgba(16, 35, 21, 0.22);
}

.hero-ticker div {
  min-height: 96px;
  padding: 18px;
  background: #173300;
  backdrop-filter: blur(10px);
}

.hero-ticker span,
.hero-ticker small {
  display: block;
  color: rgba(159, 232, 112, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.hero-ticker strong {
  display: block;
  margin: 7px 0;
  color: white;
  font-size: 30px;
  line-height: 1;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.98fr) minmax(280px, 0.72fr);
  gap: 28px;
  max-width: none;
  align-items: end;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.app-preview,
.large-card,
.feature-grid article,
.scenario-grid article,
.data-board article,
.legal-grid article,
.faq-list details {
  border: 1px solid rgba(16, 35, 21, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--small-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.large-card:hover,
.feature-grid article:hover,
.scenario-grid article:hover,
.data-board article:hover,
.legal-grid article:hover,
.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 51, 0, 0.28);
  box-shadow: 0 26px 70px rgba(16, 35, 21, 0.14);
}

.app-preview {
  display: grid;
  place-items: center;
  min-height: 650px;
  padding: 34px;
  background:
    linear-gradient(180deg, #173300, #254b13);
  box-shadow: var(--shadow);
}

.phone-shell {
  width: min(330px, 100%);
  min-height: 580px;
  padding: 22px;
  border: 10px solid #0d1f12;
  border-radius: 44px;
  background: linear-gradient(180deg, #fbfff5 0%, #e8f5d9 100%);
  box-shadow:
    0 34px 80px rgba(15, 23, 42, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.phone-status {
  width: 96px;
  height: 26px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: #101827;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.screen-top b {
  color: var(--blue);
}

.converter-card {
  padding: 22px;
  border-radius: var(--radius);
  background: #9fe870;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(30, 48, 78, 0.09);
}

.converter-card span,
.converter-card em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.converter-card strong {
  display: block;
  margin: 10px 0;
  color: #173300;
  font-size: 30px;
  line-height: 1.08;
}

.search-pill {
  margin: 18px 0;
  padding: 15px 16px;
  border: 1px solid rgba(16, 35, 21, 0.12);
  border-radius: var(--radius);
  background: white;
  color: #8796ab;
  font-size: 13px;
  font-weight: 850;
}

.price-list {
  display: grid;
  gap: 10px;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(225, 235, 244, 0.82);
}

.price-list span {
  color: #334155;
  font-weight: 900;
}

.price-list b {
  color: var(--green);
}

.bottom-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding: 13px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.bottom-tabs span {
  height: 8px;
  border-radius: 999px;
  background: #c9d5e5;
}

.bottom-tabs .active {
  background: #173300;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.large-card,
.feature-grid article,
.scenario-grid article,
.data-board article,
.legal-grid article {
  padding: 26px;
}

.large-card p,
.feature-grid p,
.scenario-grid p,
.data-board p,
.legal-grid p,
.faq-list p {
  margin-bottom: 0;
}

.card-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(39, 100, 232, 0.18);
}

.card-icon.blue {
  background: #173300;
}

.card-icon.green {
  background: #9fe870;
}

.card-icon.amber {
  background: #d6ff63;
}

.feature-section,
.data-section,
.faq-section {
  padding-top: 54px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  min-height: 220px;
  border-top: 3px solid #9fe870;
}

.feature-num {
  display: inline-flex;
  margin-bottom: 22px;
  color: #74859b;
  font-size: 13px;
  font-weight: 950;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scenario-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(180deg, #ffffff, #f9fcff);
}

.scenario-grid article::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(159, 232, 112, 0.42), rgba(23, 51, 0, 0.08));
}

.scenario-grid span,
.data-board span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.data-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.data-board article {
  min-height: 230px;
  background: rgba(255, 255, 255, 0.88);
}

.data-board strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.35;
}

.data-board span {
  background: #9fe870;
  color: #173300;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(16, 35, 21, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #173300, #254b13);
  box-shadow: var(--shadow);
}

.privacy-band h2,
.privacy-band p {
  color: white;
}

.privacy-band .label {
  color: #9fe870;
}

.privacy-copy h2,
.privacy-copy p {
  max-width: 570px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.boundary-grid div {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #9fe870;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(30, 48, 78, 0.07);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.legal-grid article {
  min-height: 238px;
  display: flex;
  flex-direction: column;
}

.legal-grid a,
.policy-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.82fr);
  gap: 32px;
  align-items: center;
  padding: 46px;
  border-radius: var(--radius);
  background: #173300;
  box-shadow: var(--shadow);
}

.contact-section h2,
.contact-section p {
  color: white;
}

.contact-section p {
  opacity: 0.76;
}

.contact-link {
  justify-self: end;
  color: #173300;
  background: #9fe870;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 6vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-header {
  position: sticky;
}

.legal-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 96px;
}

.legal-hero {
  padding: 52px 0 24px;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.96;
}

.policy-card {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--small-shadow);
}

.policy-card h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.policy-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-table div {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) 1fr;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.policy-table div:nth-child(even) {
  background: #f8fbff;
}

.policy-table div:last-child {
  border-bottom: 0;
}

.policy-table span {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .legal-grid,
  .data-board,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 2px;
    font-size: 13px;
  }

  .intro-grid,
  .contact-section,
  .split-head,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .contact-link {
    justify-self: start;
  }

  .hero-dashboard {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding: 116px 20px 258px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.99), rgba(248, 251, 255, 0.88), rgba(244, 248, 252, 1)),
      linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0.76));
  }

  .hero-ticker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    right: 14px;
    left: 14px;
    bottom: 18px;
  }

  .hero-ticker div {
    min-height: 84px;
    padding: 14px;
  }

  .hero-ticker strong {
    font-size: 24px;
  }

  .feature-grid,
  .boundary-grid,
  .legal-grid,
  .data-board,
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-cta {
    display: none;
  }

  .language-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .section {
    width: calc(100% - 28px);
    padding: 68px 0;
  }

  .app-preview,
  .privacy-band,
  .contact-section {
    padding: 22px;
  }

  .phone-shell {
    min-height: 540px;
  }

  .policy-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
