:root {
  --ink: #102345;
  --muted: #66799a;
  --blue: #3978ff;
  --blue-deep: #164fc4;
  --sky: #dff1ff;
  --sky-soft: #f1f8ff;
  --sun: #ffd95a;
  --mint: #76dfd1;
  --purple: #8c78f5;
  --cloud: #ffffff;
  --line: rgba(44, 86, 145, .13);
  --soft-shadow: 0 30px 90px rgba(53, 93, 147, .13);
  --spring: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 230, 116, .38), transparent 22rem),
    radial-gradient(circle at 3% 30%, rgba(125, 212, 255, .32), transparent 30rem),
    linear-gradient(180deg, #f7fbff 0%, #edf7ff 31%, #f8fbff 60%, #e8f5ff 100%);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  min-width: 320px;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }
.en { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }
html[data-lang="en"] .en { display: inline !important; }
html[data-lang="en"] h2.en,
html[data-lang="en"] p.en,
html[data-lang="en"] strong.en,
html[data-lang="en"] small.en { display: block !important; }

.sky-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .32;
  background-image: radial-gradient(rgba(29, 94, 161, .22) .6px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}

.floating-nav {
  position: relative;
  z-index: 10;
  width: min(1320px, calc(100% - 48px));
  height: 78px;
  margin: 24px auto 0;
  padding: 8px 10px 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 28px;
  background: rgba(255, 255, 255, .76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 55px rgba(53,93,147,.10);
  outline: 1px solid rgba(58, 104, 160, .10);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 16px; letter-spacing: -.03em; }
.brand small { margin-top: 6px; color: #8291aa; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-block;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, #edf8ff, #cfeaff);
  box-shadow: inset 0 1px 2px white;
}
.brand-mark i, .brand-mark b, .brand-mark em { position: absolute; display: block; border-radius: 50%; }
.brand-mark i { width: 21px; height: 21px; left: 7px; top: 7px; background: var(--sun); }
.brand-mark b { width: 27px; height: 12px; left: 10px; bottom: 7px; background: white; box-shadow: 0 3px 7px rgba(33,96,160,.12); }
.brand-mark em { width: 13px; height: 13px; left: 10px; bottom: 10px; background: white; }

.nav-actions { display: flex; align-items: center; gap: 7px; }
.quiet-button, .language-button {
  height: 48px;
  padding: 0 17px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .6s var(--spring), background .6s var(--spring);
}
.quiet-button:hover, .language-button:hover { background: #edf6fd; transform: translateY(-2px); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #a8b6c8; }
.quiet-button.connected .status-dot { background: #27c29b; box-shadow: 0 0 0 5px rgba(39,194,155,.12); }
.nav-cta {
  height: 52px;
  padding: 0 8px 0 21px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-radius: 19px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 700;
  transition: transform .65s var(--spring), box-shadow .65s var(--spring);
}
.nav-cta i, .primary-button i, .analyze-button > i, .connect-button i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--sun);
  color: var(--ink);
  font-style: normal;
  transition: transform .65s var(--spring);
}
.nav-cta:hover, .primary-button:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22,79,196,.20); }
.nav-cta:hover i, .primary-button:hover i, .analyze-button:hover > i { transform: translate(2px, 2px) rotate(-4deg); }

main { position: relative; z-index: 1; }
.hero {
  width: min(1320px, calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  padding: 100px 10px 92px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #577095;
  box-shadow: inset 0 1px 1px white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(57,120,255,.1); }
.hero h1 {
  margin: 28px 0 24px;
  font-size: clamp(52px, 5.5vw, 82px);
  line-height: .99;
  letter-spacing: -.07em;
  font-weight: 800;
}
.sky-word {
  position: relative;
  display: inline-block;
  color: var(--blue);
}
.sky-word::after {
  content: "";
  position: absolute;
  left: 2%;
  bottom: -9px;
  width: 96%;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--sun), #93e8db);
  transform: rotate(-1deg);
  opacity: .75;
}
.hero-lead { max-width: 570px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; }
.primary-button {
  min-width: 205px;
  height: 62px;
  padding: 0 9px 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 22px;
  background: linear-gradient(135deg, #245fe7, #438bff);
  color: white;
  box-shadow: 0 20px 42px rgba(57,120,255,.23);
  font-size: 14px;
  font-weight: 700;
  transition: transform .65s var(--spring), box-shadow .65s var(--spring);
}
.primary-button i { background: rgba(255,255,255,.18); color: white; }
.text-button { border: 0; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.text-button i { margin-left: 8px; font-style: normal; color: var(--blue); }
.trust-line { margin-top: 36px; display: flex; gap: 24px; color: #7789a6; font-size: 10px; }
.trust-line span { display: flex; align-items: center; gap: 7px; }
.trust-line b { font-weight: 600; }
.mini-shield, .mini-eye { position: relative; width: 16px; height: 16px; display: inline-block; }
.mini-shield::before { content: ""; position: absolute; inset: 1px 3px 2px; border: 1.5px solid var(--blue); border-radius: 5px 5px 7px 7px; }
.mini-eye::before { content: ""; position: absolute; width: 14px; height: 9px; top: 3px; left: 1px; border: 1.5px solid var(--blue); border-radius: 70% 30%; transform: rotate(45deg); }
.mini-eye::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); top: 6px; left: 6px; }

.weather-stage { position: relative; min-height: 590px; display: grid; place-items: center; }
.stage-shell {
  position: relative;
  width: min(650px, 100%);
  padding: 9px;
  border-radius: 50px;
  background: rgba(101, 163, 226, .14);
  outline: 1px solid rgba(62,111,169,.09);
  box-shadow: var(--soft-shadow);
  transform: rotate(1.2deg);
}
.stage-core {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 34px 38px 28px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 77% 18%, rgba(255, 226, 96, .95) 0 8%, transparent 8.3%),
    linear-gradient(165deg, #c9e9ff 0%, #e7f6ff 45%, #ffffff 100%);
  box-shadow: inset 0 1px 2px white;
}
.stage-core::after { content: ""; position: absolute; inset: auto -20% -55% 23%; height: 80%; background: rgba(255,255,255,.73); border-radius: 50%; transform: rotate(-5deg); }
.sun-orbit { position: absolute; width: 220px; height: 220px; right: -32px; top: -42px; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; }
.sun-orbit::after { content: ""; position: absolute; inset: 32px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; }
.cloud { position: absolute; z-index: 1; filter: drop-shadow(0 18px 20px rgba(77,133,190,.12)); }
.cloud i, .cloud b, .cloud em { position: absolute; display: block; background: rgba(255,255,255,.88); border-radius: 50%; }
.cloud-a { width: 190px; height: 80px; right: 24px; top: 126px; }
.cloud-a i { width: 130px; height: 48px; left: 30px; top: 29px; border-radius: 35px; }
.cloud-a b { width: 76px; height: 76px; left: 30px; top: 3px; }
.cloud-a em { width: 58px; height: 58px; right: 24px; top: 21px; }
.cloud-b { width: 130px; height: 60px; left: -35px; top: 260px; opacity: .64; transform: scale(.8); }
.cloud-b i { width: 120px; height: 40px; left: 10px; top: 23px; border-radius: 28px; }
.cloud-b b { width: 58px; height: 58px; left: 20px; top: 2px; }
.cloud-b em { width: 48px; height: 48px; right: 6px; top: 13px; }
.weather-meta { position: relative; z-index: 2; display: flex; justify-content: space-between; color: #60799c; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.weather-reading { position: relative; z-index: 2; margin-top: 100px; display: flex; align-items: flex-end; gap: 20px; }
.degree { font-size: 110px; line-height: .78; font-weight: 600; letter-spacing: -.09em; }
.degree sup { font-size: 33px; vertical-align: top; }
.weather-reading div { display: flex; flex-direction: column; padding-bottom: 3px; }
.weather-reading strong { font-size: 22px; letter-spacing: -.04em; }
.weather-reading small { margin-top: 7px; color: #667e9f; font-size: 11px; }
.stage-chart { position: relative; z-index: 2; margin-top: 58px; height: 150px; }
.stage-chart svg { width: 100%; height: 125px; overflow: visible; }
.stage-chart .area { fill: url(#area); }
.stage-chart .line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.chart-labels { display: flex; justify-content: space-between; color: #8ba0ba; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.stage-footer { position: relative; z-index: 2; margin-top: 14px; padding-top: 20px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(52,100,158,.13); }
.stage-footer div { display: flex; flex-direction: column; }
.stage-footer span { font-size: 22px; font-weight: 800; letter-spacing: -.05em; }
.stage-footer small { margin-top: 5px; color: #7186a3; font-size: 9px; }
.float-note {
  position: absolute;
  z-index: 3;
  padding: 11px 15px 11px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 17px 45px rgba(49,94,147,.15);
  color: #557093;
  font-size: 10px;
  font-weight: 700;
  animation: float 5s var(--spring) infinite alternate;
}
.float-note i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 11px; background: #fff5bd; color: #b98600; font-style: normal; }
.note-one { right: -12px; top: 72px; }
.note-two { left: -14px; bottom: 86px; animation-delay: -2s; }
.note-two i { background: #e2f4ff; color: var(--blue); }
@keyframes float { to { transform: translate3d(0,-10px,0) rotate(.5deg); } }

.principles {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 130px;
  padding: 74px 80px;
  border-radius: 44px;
  background: var(--ink);
  color: white;
  box-shadow: 0 32px 90px rgba(16,35,69,.18);
}
.principles > p { max-width: 950px; margin: 0; font-size: clamp(34px,4.2vw,66px); line-height: 1.14; letter-spacing: -.06em; font-weight: 600; }
.principles > p span:first-child { color: #82d9ff; }
.principles > p span:last-child { color: var(--sun); }
.principle-list { margin-top: 56px; padding-top: 25px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.13); }
.principle-list span { display: flex; align-items: center; gap: 15px; }
.principle-list b { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); color: #8ddcff; font-size: 9px; }
.principle-list em { font-style: normal; font-size: 11px; color: #b7c5d9; font-weight: 600; }

.observatory { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 10px 0 140px; }
.section-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; }
.section-index { color: #6582a7; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.section-heading h2, .how-copy h2 { margin: 16px 0 0; font-size: clamp(38px,4vw,62px); line-height: 1.05; letter-spacing: -.06em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.workbench-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 22px; align-items: start; }
.input-shell, .preview-shell { padding: 8px; border-radius: 38px; background: rgba(84,138,199,.10); outline: 1px solid rgba(54,105,164,.08); }
.input-core, .preview-core { border-radius: 31px; background: rgba(255,255,255,.90); box-shadow: inset 0 1px 2px white, 0 26px 70px rgba(62,103,153,.10); }
.input-core { padding: 36px; }
.preview-shell { position: sticky; top: 22px; }
.preview-core { padding: 31px; overflow: hidden; }
.form-topline, .preview-header { display: flex; align-items: center; justify-content: space-between; }
.form-topline > span { font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.form-topline button { border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 700; cursor: pointer; }
.form-topline button i { margin-left: 8px; font-style: normal; }
.field { margin-top: 32px; display: grid; grid-template-columns: 1fr 1.55fr; align-items: center; gap: 24px; }
.field > span, .privacy-heading > div { display: flex; flex-direction: column; }
.field b, .privacy-heading strong { font-size: 13px; }
.field small, .privacy-heading small { margin-top: 5px; color: #8392aa; font-size: 9px; }
.field input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  outline: 1px solid rgba(51,93,145,.13);
  background: #f8fbfe;
  color: var(--ink);
  font-size: 13px;
  transition: outline .5s var(--spring), box-shadow .5s var(--spring);
}
.field input:focus, textarea:focus, .key-input:focus-within { outline: 2px solid rgba(57,120,255,.38); box-shadow: 0 0 0 6px rgba(57,120,255,.07); }
.mode-field { margin: 36px 0 0; padding: 0; border: 0; }
.mode-field legend { margin-bottom: 14px; font-size: 12px; font-weight: 800; }
.mode-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mode-grid input { position: absolute; opacity: 0; pointer-events: none; }
.mode-grid label > span {
  min-height: 132px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #f5f9fd;
  outline: 1px solid transparent;
  cursor: pointer;
  transition: transform .6s var(--spring), background .6s var(--spring), outline .6s var(--spring);
}
.mode-grid label:hover > span { transform: translateY(-3px); background: #edf7ff; }
.mode-grid input:checked + span { background: #e9f4ff; outline-color: rgba(57,120,255,.35); box-shadow: inset 0 1px 2px white; }
.mode-grid b { margin-top: 16px; font-size: 12px; }
.mode-grid small { margin-top: 5px; color: #7c8ca5; font-size: 9px; line-height: 1.5; }
.weather-icon { position: relative; width: 26px; height: 26px; display: block; }
.sun-icon { border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(255,217,90,.20); }
.wind-icon::before, .wind-icon::after { content: ""; position: absolute; left: 0; width: 25px; height: 8px; border-top: 2px solid var(--blue); border-radius: 50%; }
.wind-icon::before { top: 7px; }.wind-icon::after { top: 16px; width: 18px; }
.cloud-icon::before { content: ""; position: absolute; width: 25px; height: 12px; left: 0; bottom: 4px; border-radius: 12px; background: #90b5df; }
.cloud-icon::after { content: ""; position: absolute; width: 15px; height: 15px; left: 4px; top: 3px; border-radius: 50%; background: #90b5df; }
.upload-zone {
  position: relative;
  min-height: 210px;
  margin-top: 14px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0, rgba(115,201,255,.18), transparent 45%),
    #f8fbfe;
  outline: 1px dashed rgba(55,106,166,.23);
  cursor: pointer;
  transition: transform .6s var(--spring), background .6s var(--spring), outline .6s var(--spring);
}
.upload-zone.dragging { transform: scale(.99); background: #eaf7ff; outline: 2px solid rgba(57,120,255,.35); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone strong { margin-top: 14px; font-size: 13px; }
.upload-zone p { margin: 6px 0 12px; color: #8495ad; font-size: 9px; }
.upload-zone > span { padding: 7px 11px; border-radius: 99px; background: white; color: #677c99; font-size: 9px; box-shadow: 0 7px 18px rgba(57,93,137,.08); }
.upload-sky { position: relative; width: 65px; height: 46px; }
.upload-sky i, .upload-sky b { position: absolute; display: block; background: white; box-shadow: 0 9px 20px rgba(71,129,182,.16); }
.upload-sky i { width: 56px; height: 24px; left: 5px; bottom: 2px; border-radius: 17px; }
.upload-sky b { width: 31px; height: 31px; left: 16px; top: 2px; border-radius: 50%; }
.upload-sky em { position: absolute; z-index: 1; left: 27px; bottom: 6px; color: var(--blue); font-style: normal; font-size: 18px; font-weight: 700; }
.or-divider { margin: 24px 0; display: flex; align-items: center; gap: 16px; color: #9aa7ba; font-size: 9px; }
.or-divider::before, .or-divider::after { content: ""; height: 1px; flex: 1; background: rgba(62,101,150,.11); }
.text-field { position: relative; display: block; }
textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  padding: 18px 18px 35px;
  border: 0;
  border-radius: 21px;
  outline: 1px solid rgba(51,93,145,.13);
  background: #f8fbfe;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.8;
}
.text-field > span { position: absolute; right: 14px; bottom: 11px; color: #98a5b8; font-size: 8px; }
.privacy-panel { margin-top: 20px; padding: 20px; border-radius: 22px; background: #eef8f7; }
.privacy-heading { padding-bottom: 16px; display: flex; gap: 12px; border-bottom: 1px solid rgba(44,120,112,.10); }
.privacy-heading .mini-shield { flex: 0 0 18px; }
.privacy-heading .mini-shield::before { border-color: #23a794; }
.switch-row { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.switch-row span b { font-size: 10px; font-weight: 600; }
.switch-row input { position: absolute; opacity: 0; }
.switch-row > i { position: relative; width: 38px; height: 22px; border-radius: 99px; background: #c4d6d4; transition: background .5s var(--spring); }
.switch-row > i::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 3px 7px rgba(52,94,88,.18); transition: transform .5s var(--spring); }
.switch-row input:checked + i { background: #41c5b2; }
.switch-row input:checked + i::after { transform: translateX(16px); }
.form-error { min-height: 18px; margin: 12px 3px 0; color: #d65060; font-size: 10px; line-height: 1.6; }
.analyze-button {
  width: 100%;
  min-height: 72px;
  padding: 10px 10px 10px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 24px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  transition: transform .65s var(--spring), box-shadow .65s var(--spring);
}
.analyze-button:hover { transform: translateY(-3px); box-shadow: 0 22px 42px rgba(16,35,69,.20); }
.analyze-button > span { display: flex; flex-direction: column; align-items: flex-start; }
.analyze-button b { font-size: 13px; }
.analyze-button small { margin-top: 4px; color: #9fb0c7; font-size: 8px; }
.analyze-button > i { width: 50px; height: 50px; border-radius: 17px; }
.preview-header span { color: #7288a6; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.preview-header span i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #7ea8d9; }
.preview-header > b { color: var(--blue); font-size: 18px; letter-spacing: -.05em; }
.preview-weather { position: relative; min-height: 220px; margin: 22px 0; padding: 30px 24px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 25px; background: linear-gradient(155deg,#c8eaff,#eef8ff); }
.preview-orbit { position: absolute; width: 180px; height: 180px; right: -45px; top: -60px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; }
.preview-orbit::after { content: ""; position: absolute; inset: 31px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.preview-orbit i { position: absolute; width: 48px; height: 48px; left: 27px; bottom: 23px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 10px rgba(255,255,255,.20); }
.preview-weather > span { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.08em; }
.preview-weather > div:last-child { margin-top: 9px; display: flex; flex-direction: column; }
.preview-weather strong { font-size: 14px; }
.preview-weather small { margin-top: 5px; color: #6e84a0; font-size: 9px; line-height: 1.5; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.preview-grid > div { padding: 15px; display: grid; grid-template-columns: 1fr auto; gap: 11px; border-radius: 18px; background: #f5f9fd; }
.preview-grid span { color: #788aa4; font-size: 8px; }
.preview-grid b { font-size: 10px; }
.preview-grid i { grid-column: 1/-1; height: 3px; border-radius: 3px; overflow: hidden; background: #e1eaf2; }
.preview-grid em { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--blue); transition: width .8s var(--spring); }
#privacy-bar { background: #38bea9; }
.report-map { margin-top: 24px; }
.map-title { color: #7185a2; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.report-map ol { margin: 12px 0 0; padding: 0; list-style: none; }
.report-map li { padding: 14px 0; display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(54,94,144,.09); }
.report-map li > i { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; border-radius: 11px; background: #eaf4fc; color: var(--blue); font-style: normal; font-size: 13px; }
.report-map li div { display: flex; flex-direction: column; }
.report-map b { font-size: 10px; }
.report-map small { margin-top: 3px; color: #8796ab; font-size: 8px; }
.safety-copy { margin: 18px 0 0; padding: 14px; border-radius: 15px; background: #fff8dc; color: #866e1e; font-size: 8px; line-height: 1.65; }

.loading-section {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto 140px;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 48px;
  background: rgba(255,255,255,.80);
  box-shadow: var(--soft-shadow);
}
.loading-sky { position: relative; width: 290px; height: 180px; }
.loading-cloud { position: absolute; width: 170px; height: 70px; left: 56px; top: 20px; animation: cloudBob 3.8s var(--spring) infinite alternate; }
.loading-cloud i, .loading-cloud b, .loading-cloud em { position: absolute; display: block; background: #d8ebf9; }
.loading-cloud i { width: 165px; height: 58px; left: 0; bottom: 0; border-radius: 40px; }
.loading-cloud b { width: 83px; height: 83px; left: 27px; top: -10px; border-radius: 50%; }
.loading-cloud em { width: 63px; height: 63px; right: 20px; top: 10px; border-radius: 50%; }
@keyframes cloudBob { to { transform: translate3d(8px,-6px,0); } }
.loading-rain { position: absolute; left: 75px; top: 95px; display: flex; gap: 28px; }
.loading-rain i { width: 3px; height: 13px; border-radius: 3px; background: var(--blue); transform: rotate(18deg); animation: rain 1.2s var(--spring) infinite; }
.loading-rain i:nth-child(2) { animation-delay: -.4s; }.loading-rain i:nth-child(3) { animation-delay: -.8s; }.loading-rain i:nth-child(4) { animation-delay: -.2s; }
@keyframes rain { 0% { opacity: 0; transform: translate3d(0,-6px,0) rotate(18deg); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate3d(-5px,18px,0) rotate(18deg); } }
.weather-cat { position: absolute; right: 32px; bottom: 4px; width: 83px; height: 78px; animation: catPlay 2.6s var(--spring) infinite alternate; }
@keyframes catPlay { to { transform: translate3d(0,-4px,0) rotate(2deg); } }
.weather-cat i { position: absolute; width: 52px; height: 47px; left: 10px; top: 5px; border-radius: 45% 45% 48% 48%; background: #ffd4a2; }
.weather-cat b, .weather-cat em { position: absolute; z-index: 1; width: 5px; height: 7px; top: 24px; border-radius: 50%; background: var(--ink); }
.weather-cat b { left: 27px; }.weather-cat em { left: 46px; }
.weather-cat u { position: absolute; width: 68px; height: 36px; left: 2px; bottom: 0; border-radius: 40px 40px 17px 17px; background: #ffc781; text-decoration: none; }
.weather-cat .ear { position: absolute; z-index: 2; width: 20px; height: 25px; top: -1px; background: #ffd4a2; transform: rotate(35deg); clip-path: polygon(0 0,100% 100%,0 100%); }
.weather-cat .ear.left { left: 8px; }.weather-cat .ear.right { right: 12px; transform: scaleX(-1) rotate(35deg); }
.loading-kicker { margin-top: 8px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.loading-section h2 { margin: 15px 0 8px; font-size: 30px; letter-spacing: -.05em; }
.loading-section p { max-width: 520px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.loading-track { width: min(430px,90%); height: 7px; margin-top: 28px; padding: 2px; border-radius: 9px; background: #e4eef6; }
.loading-track i { display: block; width: 7%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),#76dcd1); transition: width 1.2s var(--spring); }
.loading-section > small { margin-top: 10px; color: #8697ae; font-size: 9px; letter-spacing: .1em; }

.report-section { width: min(1320px, calc(100% - 48px)); margin: 0 auto 150px; }
.report-topbar { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; }
.report-topbar h2 { margin: 10px 0 0; font-size: 36px; letter-spacing: -.05em; }
.export-actions { display: flex; gap: 8px; }
.export-actions button { height: 48px; padding: 0 9px 0 18px; border: 0; border-radius: 18px; background: white; box-shadow: 0 14px 34px rgba(53,93,147,.10); font-size: 10px; font-weight: 800; cursor: pointer; }
.export-actions i { width: 31px; height: 31px; margin-left: 10px; display: inline-grid; place-items: center; border-radius: 11px; background: #eaf4fd; color: var(--blue); font-style: normal; }
.weather-report { padding: 8px; border-radius: 48px; background: rgba(88,142,201,.10); outline: 1px solid rgba(62,108,161,.08); }
.weather-report > section { margin-bottom: 8px; border-radius: 40px; background: rgba(255,255,255,.94); }
.report-hero { min-height: 430px; padding: 64px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; overflow: hidden; }
.report-hero-copy > span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.report-hero-copy h3 { max-width: 720px; margin: 18px 0; font-size: clamp(42px,5vw,76px); line-height: 1; letter-spacing: -.065em; }
.report-hero-copy p { max-width: 650px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.report-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; }
.report-meta span { padding: 9px 13px; border-radius: 999px; background: #edf6fd; color: #647c9b; font-size: 9px; font-weight: 700; }
.report-temperature { position: relative; min-height: 300px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 34px; background: linear-gradient(150deg,#c9eaff,#f5fbff); text-align: center; overflow: hidden; }
.report-sun { position: absolute; width: 220px; height: 220px; right: -50px; top: -80px; border: 1px solid white; border-radius: 50%; }
.report-sun::after { content: ""; position: absolute; inset: 35px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; }
.report-sun i { position: absolute; width: 65px; height: 65px; left: 25px; bottom: 20px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 12px rgba(255,255,255,.2); }
.report-temperature > b { position: relative; font-size: 92px; line-height: 1; letter-spacing: -.1em; }
.report-temperature sup { font-size: 28px; vertical-align: top; }
.report-temperature > span { position: relative; margin-top: 10px; font-size: 16px; font-weight: 800; }
.report-temperature > small { position: relative; margin-top: 6px; color: #6d82a0; font-size: 10px; }
.signal-section, .moments-section { padding: 55px; }
.report-heading span, .action-heading > span { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.report-heading h3, .action-heading h3 { margin: 10px 0 0; font-size: 27px; letter-spacing: -.045em; }
.signal-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.signal-card { min-height: 190px; padding: 24px; border-radius: 26px; background: #f4f9fd; }
.signal-card header { display: flex; align-items: flex-start; justify-content: space-between; }
.signal-card header span { font-size: 11px; font-weight: 800; }
.signal-card header b { color: var(--blue); font-size: 30px; letter-spacing: -.08em; }
.signal-card .signal-bar { height: 5px; margin: 22px 0 18px; border-radius: 5px; background: #e0eaf2; overflow: hidden; }
.signal-card .signal-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),#7bdbd0); }
.signal-card p { margin: 0; color: #6f829d; font-size: 9px; line-height: 1.7; }
.signal-card small { display: inline-block; margin-top: 13px; color: #479f94; font-size: 8px; font-weight: 800; }
.weather-data-grid { padding: 8px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; background: transparent !important; }
.topic-panel, .rhythm-panel { padding: 45px; border-radius: 34px; background: white; }
.topic-panel > div:last-child { margin-top: 24px; }
.topic-row { padding: 14px 0; display: grid; grid-template-columns: 1fr 1.2fr 60px; gap: 16px; align-items: center; border-top: 1px solid rgba(52,95,146,.09); }
.topic-row > span { font-size: 10px; font-weight: 700; }
.topic-meter { height: 7px; border-radius: 7px; background: #eaf1f7; overflow: hidden; }
.topic-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),#82daca); }
.topic-row b { text-align: right; color: var(--blue); font-size: 9px; }
.rhythm-chart { min-height: 290px; margin-top: 22px; padding: 24px 16px 10px; display: flex; align-items: end; justify-content: space-between; gap: 8px; border-radius: 24px; background: linear-gradient(180deg,#eff8ff,rgba(245,250,254,.4)); }
.rhythm-column { height: 245px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.rhythm-column i { width: min(24px,75%); min-height: 4px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg,var(--blue),#91dce1); transform-origin: bottom; }
.rhythm-column span { color: #8191a8; font-size: 7px; writing-mode: vertical-rl; max-height: 45px; overflow: hidden; }
.moments-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.moment-card { min-height: 200px; padding: 24px; display: flex; flex-direction: column; border-radius: 26px; background: #f5f9fd; }
.moment-card:nth-child(2) { background: #fff6d6; }.moment-card:nth-child(3) { background: #eaf8f5; }.moment-card:nth-child(4) { background: #f1efff; }
.moment-card > span { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.moment-card h4 { margin: 24px 0 10px; font-size: 17px; line-height: 1.3; letter-spacing: -.04em; }
.moment-card p { margin: 0; color: #6d809b; font-size: 9px; line-height: 1.75; }
.moment-card time { margin-top: auto; padding-top: 20px; color: #8797ad; font-size: 8px; }
.action-section { padding: 64px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; background: var(--ink) !important; color: white; }
.action-heading p { margin: 14px 0 0; color: #9eb0c9; font-size: 10px; line-height: 1.7; }
.action-list { display: flex; flex-direction: column; }
.action-item { padding: 22px 0; display: grid; grid-template-columns: 45px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.11); }
.action-item > b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px; background: var(--sun); color: var(--ink); font-size: 9px; }
.action-item h4 { margin: 0; font-size: 14px; }
.action-item p { margin: 7px 0; color: #aebcd0; font-size: 9px; line-height: 1.7; }
.action-item small { color: #74d9ca; font-size: 8px; }
.method-section { margin-bottom: 0 !important; padding: 30px 42px; display: grid; grid-template-columns: 180px 1fr 1fr; gap: 30px; align-items: center; }
.method-section > div { display: flex; flex-direction: column; }
.method-section span { color: #7286a2; font-size: 8px; }
.method-section b { margin-top: 5px; color: var(--blue); font-size: 28px; letter-spacing: -.06em; }
.method-section p, .method-section ul { margin: 0; color: #71839e; font-size: 8px; line-height: 1.7; }
.method-section ul { padding-left: 16px; }

.how-section { width: min(1320px, calc(100% - 48px)); margin: 0 auto 130px; padding: 70px 0; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.how-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.how-steps > div { min-height: 150px; padding: 24px; display: flex; gap: 18px; border-radius: 27px; background: rgba(255,255,255,.78); box-shadow: inset 0 1px 2px white; }
.how-steps b { color: var(--blue); font-size: 9px; }
.how-steps span { display: flex; flex-direction: column; }
.how-steps strong { font-size: 15px; }
.how-steps small { margin-top: 9px; color: #7185a1; font-size: 9px; line-height: 1.6; }

footer {
  position: relative;
  z-index: 1;
  min-height: 220px;
  padding: 50px max(24px,calc((100vw - 1320px)/2));
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  background: white;
}
footer > p { margin: 0; color: #6f829f; text-align: center; font-size: 10px; }
footer > span { color: #93a0b3; font-size: 8px; letter-spacing: .08em; }

.api-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: 30px;
  display: grid;
  place-items: center;
  background: rgba(34,60,93,.36);
  backdrop-filter: blur(18px);
}
.api-dialog {
  position: relative;
  width: min(1120px,100%);
  max-height: calc(100dvh - 60px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  overflow: auto;
  border-radius: 42px;
  background: white;
  box-shadow: 0 50px 120px rgba(24,52,90,.27);
  animation: modalIn .65s var(--spring);
}
@keyframes modalIn { from { opacity: 0; transform: translate3d(0,30px,0) scale(.98); } }
.modal-close { position: absolute; z-index: 2; right: 24px; top: 24px; width: 44px; height: 44px; border: 0; border-radius: 16px; background: #edf5fb; color: #647b99; font-size: 21px; cursor: pointer; }
.api-side { position: relative; min-height: 610px; padding: 62px 52px; overflow: hidden; background: linear-gradient(150deg,#d9efff,#edf8ff); }
.api-side > span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.api-side h2 { position: relative; z-index: 1; margin: 45px 0 23px; font-size: 42px; line-height: 1.08; letter-spacing: -.06em; }
.api-side h2 span { color: var(--blue); }
.api-side p { position: relative; z-index: 1; max-width: 390px; color: #657c9c; font-size: 12px; line-height: 1.9; }
.api-side-weather { position: absolute; width: 320px; height: 250px; left: 45px; bottom: -45px; }
.api-side-weather i { position: absolute; width: 140px; height: 140px; right: 5px; top: 5px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 30px rgba(255,255,255,.20); }
.api-side-weather b, .api-side-weather em { position: absolute; z-index: 1; display: block; background: rgba(255,255,255,.9); }
.api-side-weather b { width: 260px; height: 95px; left: 0; bottom: 32px; border-radius: 60px; }
.api-side-weather em { width: 130px; height: 130px; left: 54px; bottom: 57px; border-radius: 50%; }
.api-main { padding: 62px 56px 46px; }
.credit-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: #e7f8f4; color: #238d7d; font-size: 9px; font-weight: 800; }
.credit-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2fbea8; }
.api-main > h2 { margin: 25px 0 10px; font-size: 36px; letter-spacing: -.05em; }
.api-main > p { margin: 0; color: #6e809b; font-size: 11px; }
.api-main ol { margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; list-style: none; }
.api-main li { min-height: 95px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 20px; background: #f4f8fc; color: #6b7e99; font-size: 9px; }
.api-main li b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; background: #e1ecff; color: var(--blue); font-size: 9px; }
.api-main form > label { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; }
.api-main form > label small { color: #8798ae; font-size: 8px; font-weight: 500; }
.key-input { margin-top: 8px; height: 60px; padding: 5px 5px 5px 16px; display: flex; border-radius: 19px; outline: 1px solid rgba(50,92,145,.16); background: #f8fbfe; }
.key-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.key-input button { width: 48px; border: 0; border-radius: 15px; background: #e8f2fb; color: #7589a5; cursor: pointer; }
.api-error { min-height: 20px; padding: 7px 2px 0; color: #cf5263; font-size: 9px; }
.api-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.connect-button, .api-buttons a { min-height: 56px; padding: 7px 8px 7px 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 20px; font-size: 10px; font-weight: 800; }
.connect-button { border: 0; background: var(--ink); color: white; cursor: pointer; }
.connect-button i { width: 40px; height: 40px; border-radius: 14px; }
.api-buttons a { justify-content: center; text-align: center; outline: 1px solid rgba(51,94,146,.16); background: white; }
.disconnect-button { display: block; margin: 18px auto 0; border: 0; border-bottom: 1px solid #e7a8af; background: transparent; color: #c44f60; font-size: 8px; cursor: pointer; }

.reveal { opacity: 0; transform: translate3d(0,35px,0); transition: opacity .9s var(--spring), transform .9s var(--spring); }
.reveal.visible { opacity: 1; transform: translate3d(0,0,0); }
:focus-visible { outline: 3px solid rgba(57,120,255,.45) !important; outline-offset: 3px; }

@media (max-width: 980px) {
  .floating-nav { width: calc(100% - 28px); margin-top: 14px; }
  .quiet-button { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 720px; }
  .weather-stage { min-height: 580px; }
  .workbench-grid, .section-heading, .how-section { grid-template-columns: 1fr; }
  .section-heading { gap: 20px; }
  .preview-shell { position: relative; top: auto; }
  .preview-core { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .preview-header, .safety-copy { grid-column: 1/-1; }
  .preview-weather { margin: 0; }
  .report-map { margin: 0; }
  .weather-data-grid { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: repeat(2,1fr); }
  .moments-grid { grid-template-columns: repeat(2,1fr); }
  .action-section { grid-template-columns: 1fr; gap: 35px; }
  .method-section { grid-template-columns: 150px 1fr; }
  .method-section ul { grid-column: 1/-1; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-content: center; }
  .api-dialog { grid-template-columns: 1fr; }
  .api-side { min-height: 350px; }
  .api-side-weather { left: auto; right: 20px; bottom: -85px; }
}

@media (max-width: 700px) {
  .floating-nav { height: 66px; padding: 7px 7px 7px 14px; border-radius: 22px; }
  .brand small, .language-button { display: none; }
  .nav-cta { height: 48px; padding-left: 15px; gap: 8px; border-radius: 16px; }
  .nav-cta i { width: 34px; height: 34px; }
  .hero, .principles, .observatory, .report-section, .how-section { width: calc(100% - 28px); }
  .hero { min-height: auto; padding: 70px 2px 80px; gap: 50px; }
  .hero h1 { font-size: clamp(45px,14vw,64px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trust-line { flex-direction: column; gap: 10px; }
  .weather-stage { min-height: 500px; }
  .stage-shell { transform: none; border-radius: 36px; }
  .stage-core { min-height: 475px; padding: 27px 23px; border-radius: 29px; }
  .weather-reading { margin-top: 95px; }
  .degree { font-size: 78px; }
  .stage-chart { margin-top: 50px; }
  .stage-footer span { font-size: 17px; }
  .float-note { display: none; }
  .principles { margin-bottom: 90px; padding: 45px 28px; border-radius: 34px; }
  .principles > p { font-size: 35px; }
  .principle-list { grid-template-columns: 1fr; gap: 12px; }
  .observatory { padding-bottom: 100px; }
  .input-shell, .preview-shell { padding: 5px; border-radius: 30px; }
  .input-core, .preview-core { border-radius: 25px; }
  .input-core { padding: 24px 18px; }
  .field { grid-template-columns: 1fr; gap: 10px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-grid label > span { min-height: 105px; }
  .upload-zone { min-height: 190px; padding: 25px 15px; }
  .preview-core { display: block; padding: 22px; }
  .preview-weather { margin: 18px 0; }
  .report-map { margin-top: 22px; }
  .loading-section { width: calc(100% - 28px); padding: 55px 20px; border-radius: 34px; }
  .report-topbar { align-items: flex-start; flex-direction: column; gap: 20px; }
  .weather-report { border-radius: 35px; }
  .weather-report > section { border-radius: 29px; }
  .report-hero { padding: 35px 24px; grid-template-columns: 1fr; }
  .report-hero-copy h3 { font-size: 43px; }
  .signal-section, .moments-section, .topic-panel, .rhythm-panel { padding: 34px 24px; }
  .signal-grid, .moments-grid { grid-template-columns: 1fr; }
  .weather-data-grid { padding: 5px; }
  .topic-row { grid-template-columns: 1fr 1fr 45px; gap: 8px; }
  .action-section { padding: 38px 25px; }
  .method-section { padding: 28px 24px; grid-template-columns: 1fr; }
  .how-section { padding: 20px 0 90px; gap: 40px; }
  .how-steps { grid-template-columns: 1fr; }
  .api-modal { padding: 12px; }
  .api-dialog { max-height: calc(100dvh - 24px); border-radius: 30px; }
  .modal-close { right: 15px; top: 15px; }
  .api-side { min-height: 330px; padding: 45px 28px; }
  .api-side h2 { font-size: 34px; }
  .api-main { padding: 38px 24px 30px; }
  .api-main > h2 { font-size: 30px; }
  .api-main ol { gap: 5px; }
  .api-main li { padding: 12px; }
  .api-buttons { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
