/*
 * 돌챙이 Firebase Hosting
 * Flutter 앱의 브랜드 토큰과 4px 그리드를 웹에 맞게 확장한다.
 */
:root {
  --brand-red: #ef2e32;
  --brand-orange: #f68712;
  --brand: #f25b24;
  --brand-text: #c94312;
  --brand-hover: #dc470f;
  --brand-soft: #feefe7;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-subtle: #efede7;
  --surface-inset: #f2f0ea;
  --ink: #15110c;
  --ink-secondary: #6b655b;
  --ink-tertiary: #706a61;
  --line: rgba(20, 15, 8, 0.09);
  --line-strong: rgba(20, 15, 8, 0.15);
  --dark: #0e0b07;
  --dark-elevated: #1a1510;
  --dark-subtle: #15110c;
  --dark-inset: #221c16;
  --light: #faf7f2;
  --light-secondary: rgba(250, 247, 242, 0.66);
  --light-tertiary: rgba(250, 247, 242, 0.48);
  --green: #16a34a;
  --blue: #2563eb;
  --warning: #f59e0b;
  --danger: #dc2626;
  --gradient: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  --gradient-horizontal: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  --gradient-readable: linear-gradient(90deg, #d92b32, #c94b00);
  --shadow-sm: 0 1px 2px rgba(20, 15, 8, 0.04), 0 5px 18px rgba(20, 15, 8, 0.06);
  --shadow-lg: 0 24px 70px rgba(20, 15, 8, 0.16);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-xxl: 32px;
  --header-height: 76px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--brand-text);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* Shared header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(20, 15, 8, 0.07);
  background: rgba(247, 246, 243, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.site-header__inner {
  position: relative;
  display: flex;
  width: min(var(--container), calc(100% - 48px));
  min-height: var(--header-height);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.site-brand__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(239, 46, 50, 0.15);
}

.site-brand__wordmark {
  display: grid;
  gap: 1px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.35px;
  line-height: 1.05;
}

.site-brand__wordmark small {
  color: var(--ink-secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.1px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
}

.site-nav a:active {
  transform: scale(0.97);
}

.site-nav .site-nav__cta {
  margin-left: 4px;
  padding-inline: 17px;
  background: var(--ink);
  color: #fff;
}

.site-nav .site-nav__cta:hover {
  background: var(--brand-text);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle__lines {
  display: grid;
  width: 19px;
  gap: 4px;
}

.menu-toggle__lines i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Shared primitives */
.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--brand-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.65px;
  line-height: 1.4;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow > span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gradient-horizontal);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease,
    border-color 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button--primary {
  background: var(--gradient-readable);
  color: #fff;
  box-shadow: 0 12px 28px rgba(242, 91, 36, 0.25);
}

.button--primary:hover {
  box-shadow: 0 16px 34px rgba(242, 91, 36, 0.33);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.button--ghost:hover {
  border-color: rgba(242, 91, 36, 0.28);
  background: var(--surface);
}

.button--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(880px, calc(100svh - var(--header-height)));
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(246, 135, 18, 0.11), transparent 32%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
}

.hero::before {
  position: absolute;
  right: -15vw;
  bottom: -34vw;
  width: 72vw;
  height: 72vw;
  border: 1px solid rgba(242, 91, 36, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 90px rgba(242, 91, 36, 0.025),
    0 0 0 180px rgba(242, 91, 36, 0.018);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  top: 10%;
  right: 8%;
  width: 280px;
  height: 280px;
  background: rgba(246, 135, 18, 0.14);
  filter: blur(80px);
}

.hero__glow--two {
  right: 34%;
  bottom: 7%;
  width: 220px;
  height: 220px;
  background: rgba(239, 46, 50, 0.09);
  filter: blur(80px);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(820px, calc(100svh - var(--header-height)));
  padding-block: 68px 62px;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.92fr);
  align-items: center;
  gap: 56px;
}

.hero__content {
  max-width: 660px;
  min-width: 0;
}

.hero h1 {
  margin: 22px 0 24px;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 850;
  letter-spacing: -3.8px;
  line-height: 1.09;
  text-wrap: balance;
  word-break: keep-all;
}

.hero h1 em {
  background: var(--gradient-readable);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero__lead {
  margin: 0;
  color: var(--ink-secondary);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 470;
  letter-spacing: -0.3px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__signals {
  display: flex;
  margin: 34px 0 0;
  padding: 0;
  color: var(--ink-secondary);
  list-style: none;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 12px;
  font-weight: 650;
}

.hero__signals li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__signals span {
  color: var(--brand-text);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.hero__visual {
  position: relative;
  min-height: 680px;
  min-width: 0;
}

.preview-label {
  position: absolute;
  top: 16px;
  right: 8px;
  z-index: 10;
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-secondary);
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.preview-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(242, 91, 36, 0.12);
}

.phone-stack {
  position: relative;
  height: 680px;
}

.phone {
  position: absolute;
  width: 296px;
  height: 622px;
  overflow: hidden;
  border: 8px solid #211c17;
  border-radius: 46px;
  background: #211c17;
  box-shadow: 0 30px 70px rgba(20, 15, 8, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone__hardware {
  position: absolute;
  z-index: 5;
  top: 9px;
  left: 50%;
  width: 92px;
  height: 25px;
  border-radius: 18px;
  background: #090806;
  transform: translateX(-50%);
}

.phone__hardware span {
  position: absolute;
  top: 8px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #121921;
  box-shadow: inset 0 0 0 2px #243240;
}

.phone__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 38px;
}

.phone--front {
  z-index: 3;
  right: 0;
  bottom: 0;
  transform: rotate(2.2deg);
}

.phone--back {
  z-index: 2;
  top: 14px;
  left: 0;
  transform: rotate(-6deg) scale(0.92);
  transform-origin: center;
}

.phone--dark {
  border-color: #2c251e;
  background: #2c251e;
}

.phone__status {
  display: flex;
  height: 42px;
  padding: 13px 19px 0;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.2px;
}

.phone__status b {
  font-size: 10px;
}

.home-preview {
  background: var(--bg);
  color: var(--ink);
}

.home-preview__brand {
  display: flex;
  padding: 5px 17px 12px;
  align-items: center;
  gap: 8px;
}

.home-preview__brand img {
  width: 27px;
  height: 20px;
  object-fit: contain;
}

.home-preview__brand > div {
  display: grid;
  flex: 1;
  gap: 1px;
  line-height: 1.15;
}

.home-preview__brand b {
  font-size: 12px;
  font-weight: 850;
}

.home-preview__brand small {
  color: var(--ink-tertiary);
  font-size: 6px;
  font-weight: 600;
}

.alarm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(242, 91, 36, 0.1);
}

.home-map {
  position: relative;
  height: 154px;
  margin: 0 14px;
  overflow: hidden;
  border-radius: 17px;
  background:
    repeating-linear-gradient(12deg, transparent 0 17px, rgba(65, 117, 150, 0.07) 18px 19px),
    #cfe5ef;
}

.home-map::after {
  position: absolute;
  right: 11px;
  bottom: 10px;
  width: 95px;
  height: 28px;
  border-radius: 999px;
  background: var(--gradient-horizontal);
  content: "";
  box-shadow: 0 6px 16px rgba(242, 91, 36, 0.28);
}

.home-map > b {
  position: absolute;
  z-index: 2;
  right: 27px;
  bottom: 17px;
  color: #fff;
  font-size: 7px;
}

.home-map__land {
  position: absolute;
  top: 12px;
  left: 44px;
  width: 200px;
  height: 115px;
  border-radius: 52% 48% 58% 42% / 38% 58% 42% 62%;
  background: #e7dfc8;
  box-shadow: inset 0 0 0 1px rgba(116, 102, 74, 0.1);
  transform: rotate(-4deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 25px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  place-items: center;
  font-size: 7px;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(14, 38, 74, 0.2);
}

.map-pin--one { top: 39px; left: 92px; background: var(--brand); }
.map-pin--two { top: 67px; left: 169px; }
.map-pin--three { top: 28px; right: 45px; }

.today-card {
  display: flex;
  min-height: 61px;
  margin: 10px 14px 0;
  padding: 9px 12px;
  border: 1px solid rgba(242, 91, 36, 0.12);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.today-card__date {
  display: grid;
  width: 37px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  place-items: center;
  align-content: center;
  line-height: 1;
}

.today-card__date b { font-size: 15px; }
.today-card__date span { margin-top: 3px; font-size: 5px; }

.today-card__copy {
  display: grid;
  gap: 2px;
}

.today-card__copy b { font-size: 8px; }
.today-card__copy span { color: var(--ink-secondary); font-size: 6px; }

.condition-row {
  display: grid;
  padding: 11px 19px 9px;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  text-align: center;
}

.condition-row span {
  display: grid;
  justify-items: center;
  line-height: 1.25;
}

.condition-row i {
  color: var(--brand);
  font-size: 10px;
  font-style: normal;
}

.condition-row small { color: var(--ink-tertiary); font-size: 5px; }
.condition-row b { margin-top: 2px; font-size: 7px; }
.condition-row span:first-child b { color: var(--green); }

.spot-title {
  display: flex;
  padding: 0 16px 7px;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
}

.spot-title span { color: var(--brand-text); font-size: 6px; font-weight: 700; }

.spot-cards {
  display: grid;
  padding: 0 14px;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.spot-cards > div {
  display: grid;
  min-height: 80px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  align-content: start;
  box-shadow: var(--shadow-sm);
}

.score {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 5px;
  border: 3px solid var(--brand);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  place-items: center;
  font-size: 7px;
  font-weight: 850;
}

.spot-cards b { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.spot-cards small { margin-top: 3px; color: var(--ink-tertiary); font-size: 4.5px; }

.phone-tabs {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 59px;
  padding: 7px 8px 11px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.phone-tabs span {
  display: grid;
  color: var(--ink-tertiary);
  justify-items: center;
  font-size: 11px;
  line-height: 1;
}

.phone-tabs small { margin-top: 4px; font-size: 4.5px; font-weight: 650; }
.phone-tabs .is-active { color: var(--brand); }

.tide-preview {
  background: var(--dark);
  color: var(--light);
}

.tide-preview .phone__status { color: var(--light); }

.tide-preview__head {
  display: grid;
  padding: 24px 19px 12px;
  gap: 2px;
}

.tide-preview__head small,
.tide-preview__head span { color: var(--light-secondary); font-size: 7px; }
.tide-preview__head strong { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }

.tide-orbit {
  position: relative;
  height: 260px;
  margin: 0 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 240, 220, 0.09);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 32%, rgba(242, 91, 36, 0.14), transparent 45%),
    var(--dark-elevated);
}

.tide-orbit::before,
.tide-orbit::after {
  position: absolute;
  top: 30px;
  left: 50%;
  border: 1px solid rgba(255, 240, 220, 0.08);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.tide-orbit::before { width: 146px; height: 146px; }
.tide-orbit::after { top: 52px; width: 102px; height: 102px; }

.tide-orbit__moon {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 50%;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #efe6cb;
  box-shadow: inset 9px -4px 0 #b7a889, 0 0 20px rgba(239, 230, 203, 0.25);
  transform: translateX(-50%);
}

.tide-orbit__time {
  position: absolute;
  z-index: 3;
  top: 76px;
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
}

.tide-orbit__time b { font-size: 25px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tide-orbit__time span { color: var(--brand); font-size: 6px; font-weight: 800; }

.tide-orbit svg {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  width: 100%;
  height: 105px;
}

.tide-orbit .chart-area { fill: url(#tideFill); }
.tide-orbit .chart-line { fill: none; stroke: var(--brand); stroke-width: 2.2; }
.tide-orbit circle { fill: var(--brand); stroke: #fff; stroke-width: 2; }

.tide-mini-grid {
  display: grid;
  margin: 10px 14px;
  padding: 13px 8px;
  border: 1px solid rgba(255, 240, 220, 0.08);
  border-radius: 15px;
  background: var(--dark-elevated);
  grid-template-columns: repeat(3, 1fr);
}

.tide-mini-grid span {
  display: grid;
  border-right: 1px solid rgba(255, 240, 220, 0.08);
  justify-items: center;
}

.tide-mini-grid span:last-child { border: 0; }
.tide-mini-grid small { color: var(--light-tertiary); font-size: 6px; }
.tide-mini-grid b { margin-top: 3px; font-size: 9px; font-variant-numeric: tabular-nums; }

/* Data source bar */
.data-bar {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.data-bar__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.data-bar p {
  display: grid;
  margin: 0;
  line-height: 1.4;
}

.data-bar p b { font-size: 14px; }
.data-bar p span { margin-top: 4px; color: var(--ink-secondary); font-size: 12px; }

.data-bar ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 26px;
}

.data-bar li {
  display: inline-flex;
  color: var(--ink-secondary);
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}

.data-bar li span {
  display: grid;
  min-width: 38px;
  height: 24px;
  padding-inline: 7px;
  border-radius: 7px;
  background: var(--surface-inset);
  color: var(--ink);
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

/* Sections */
.section {
  position: relative;
  padding-block: 132px;
  overflow: hidden;
}

.split-layout,
.device-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(520px, 1.13fr);
  align-items: center;
  gap: 84px;
}

.split-layout--reverse {
  grid-template-columns: minmax(520px, 1.13fr) minmax(0, 0.87fr);
}

.section-copy h2,
.section-heading h2,
.tool-section__head h2,
.launch-card h2 {
  margin: 18px 0 22px;
  font-size: clamp(38px, 4.1vw, 60px);
  font-weight: 830;
  letter-spacing: -2.6px;
  line-height: 1.14;
  text-wrap: balance;
  word-break: keep-all;
}

.section-copy > p:not(.section-kicker, .source-note, .development-note),
.section-heading > p,
.launch-card > div > p:not(.section-kicker) {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 17px;
  letter-spacing: -0.2px;
  line-height: 1.75;
}

.feature-pills,
.device-tags {
  display: flex;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-pills li,
.device-tags li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 240, 220, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--light-secondary);
  font-size: 12px;
  font-weight: 650;
}

.source-note,
.development-note {
  margin: 26px 0 0;
  padding-left: 13px;
  border-left: 2px solid rgba(242, 91, 36, 0.6);
  color: var(--light-tertiary);
  font-size: 11px;
  line-height: 1.65;
}

/* Conditions */
.section--conditions {
  background:
    radial-gradient(circle at 84% 12%, rgba(242, 91, 36, 0.16), transparent 32%),
    var(--dark);
  color: var(--light);
}

.section--conditions::after {
  position: absolute;
  top: -260px;
  right: -250px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255, 240, 220, 0.06);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 80px rgba(255, 240, 220, 0.018),
    0 0 0 160px rgba(255, 240, 220, 0.012);
}

.section--conditions .container { position: relative; z-index: 1; }
.section--conditions .section-kicker,
.section-copy--light .section-kicker,
.launch-card .section-kicker { color: var(--brand); }
.section--conditions .section-copy > p:not(.section-kicker, .source-note) { color: var(--light-secondary); }

.condition-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 240, 220, 0.1);
  border-radius: var(--radius-xxl);
  background: rgba(26, 21, 16, 0.9);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

.condition-panel__top {
  display: flex;
  color: var(--light-tertiary);
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.live-chip {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(242, 91, 36, 0.25);
  border-radius: 999px;
  background: rgba(242, 91, 36, 0.11);
  color: #f8b59c;
  align-items: center;
  gap: 7px;
  letter-spacing: 0;
}

.live-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(242, 91, 36, 0.12);
}

.condition-panel__title {
  display: flex;
  margin: 27px 0 15px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.condition-panel__title > div { display: grid; gap: 5px; }
.condition-panel__title small { color: var(--light-tertiary); font-size: 11px; }
.condition-panel__title b { font-size: 20px; letter-spacing: -0.4px; }
.condition-panel__title > strong { color: var(--brand); font-size: 47px; line-height: 0.8; font-variant-numeric: tabular-nums; }
.condition-panel__title > strong small { margin-left: 3px; color: var(--light-secondary); font-size: 12px; }

.condition-chart {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 240, 220, 0.07);
  border-radius: 19px;
  background: var(--dark-subtle);
}

.condition-chart__labels {
  display: flex;
  padding: 14px 18px 0;
  color: var(--light-tertiary);
  justify-content: space-between;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.condition-chart svg {
  width: 100%;
  height: auto;
}

.condition-chart .grid { fill: none; stroke: rgba(255, 240, 220, 0.06); stroke-width: 1; }
.condition-chart .fill { fill: url(#conditionFill); }
.condition-chart .line { fill: none; stroke: var(--brand); stroke-linecap: round; stroke-width: 3; }
.condition-chart .now { stroke: rgba(255, 255, 255, 0.32); stroke-dasharray: 4 5; }
.condition-chart circle { fill: var(--brand); stroke: #fff; stroke-width: 3; }

.condition-metrics {
  display: grid;
  margin-top: 10px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.condition-metrics > div {
  display: grid;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 240, 220, 0.08);
  border-radius: 15px;
  background: var(--dark-subtle);
  gap: 2px;
}

.metric-icon { color: var(--brand); font-size: 16px; }
.condition-metrics small { color: var(--light-tertiary); font-size: 9px; }
.condition-metrics b { font-size: 15px; font-variant-numeric: tabular-nums; }
.condition-metrics em { overflow: hidden; color: var(--light-tertiary); font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }

/* Map */
.section--map {
  background: var(--bg);
}

.map-showcase {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xxl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.map-showcase__toolbar {
  display: flex;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-inset);
  color: var(--ink-tertiary);
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.map-showcase__toolbar b {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--brand-text);
  place-items: center;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.map-canvas {
  position: relative;
  height: 440px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 18px;
  background:
    repeating-linear-gradient(18deg, transparent 0 27px, rgba(50, 112, 147, 0.055) 28px 29px),
    linear-gradient(145deg, #cce4ed, #aed3e3);
}

.map-canvas::before,
.map-canvas::after {
  position: absolute;
  border: 1px solid rgba(90, 87, 66, 0.12);
  background: #e5ddc3;
  content: "";
}

.map-canvas::before {
  top: 32px;
  left: 64px;
  width: 360px;
  height: 265px;
  border-radius: 44% 56% 52% 48% / 38% 46% 54% 62%;
  transform: rotate(-8deg);
}

.map-canvas::after {
  right: 38px;
  bottom: 26px;
  width: 115px;
  height: 80px;
  border-radius: 55% 45% 52% 48%;
  transform: rotate(17deg);
}

.map-canvas__island {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: #e7dfc8;
}

.map-canvas__island--one { top: 48px; right: 33px; width: 31px; height: 21px; }
.map-canvas__island--two { bottom: 59px; left: 31px; width: 48px; height: 29px; }

.map-bubble {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(23, 66, 112, 0.25);
}

.map-bubble--a { top: 94px; left: 142px; background: var(--brand-text); }
.map-bubble--b { top: 188px; right: 100px; }
.map-bubble--c { bottom: 110px; left: 235px; }

.wind-mark {
  position: absolute;
  z-index: 2;
  color: rgba(37, 99, 235, 0.55);
  font-size: 24px;
  font-weight: 700;
}

.wind-mark--a { top: 73px; right: 175px; }
.wind-mark--b { right: 46px; bottom: 150px; }
.wind-mark--c { bottom: 66px; left: 129px; }

.map-layers {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.map-layers span {
  padding: 8px 10px;
  border: 1px solid rgba(20, 15, 8, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-secondary);
  font-size: 9px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.map-spot-card {
  position: absolute;
  right: 36px;
  bottom: 40px;
  left: 36px;
  z-index: 6;
  display: flex;
  min-height: 96px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 34px rgba(20, 15, 8, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.score--large { flex: 0 0 auto; width: 49px; height: 49px; margin: 0; border-width: 4px; font-size: 13px; }
.map-spot-card > div { display: grid; min-width: 0; flex: 1; gap: 1px; }
.map-spot-card small { color: var(--ink-tertiary); font-size: 9px; }
.map-spot-card b { font-size: 15px; }
.map-spot-card p { margin: 3px 0 0; color: var(--ink-secondary); font-size: 9px; }
.bookmark { color: var(--brand); font-size: 18px; }

.check-list {
  display: grid;
  margin-top: 32px;
  gap: 10px;
}

.check-list p {
  display: grid;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 32px 1fr;
  align-items: center;
}

.check-list p > span {
  grid-row: span 2;
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-text);
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.check-list b { font-size: 14px; }
.check-list small { color: var(--ink-secondary); font-size: 12px; }

/* Device */
.section--device {
  background:
    radial-gradient(circle at 18% 15%, rgba(242, 91, 36, 0.2), transparent 31%),
    linear-gradient(145deg, #24170f 0%, #0e0b07 68%);
  color: var(--light);
}

.device-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
}

.section-copy--light > p:not(.section-kicker, .development-note) { color: var(--light-secondary); }

.status-badge {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(246, 135, 18, 0.24);
  border-radius: 999px;
  background: rgba(246, 135, 18, 0.1);
  color: #ffc87d;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
}

.status-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.device-visual {
  position: relative;
  min-height: 570px;
}

.sensor-orbit {
  position: absolute;
  z-index: 4;
  top: 44px;
  right: 3px;
  display: grid;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 240, 220, 0.14);
  border-radius: 50%;
  place-items: center;
}

.sensor-orbit::before,
.sensor-orbit::after {
  position: absolute;
  border: 1px solid rgba(242, 91, 36, 0.15);
  border-radius: 50%;
  content: "";
}

.sensor-orbit::before { inset: -22px; }
.sensor-orbit::after { inset: -48px; opacity: 0.58; }

.sensor-orbit > span {
  position: absolute;
  width: 77px;
  height: 112px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(160deg, #3b2a1e, #15100c);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 6px #211811;
  transform: rotate(12deg);
}

.sensor-orbit > i {
  position: absolute;
  right: 31px;
  bottom: 34px;
  width: 70px;
  height: 5px;
  border-radius: 5px;
  background: #604830;
  transform: rotate(-48deg);
}

.sensor-orbit > b {
  position: relative;
  z-index: 2;
  color: var(--brand);
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.05;
  text-align: center;
  transform: rotate(12deg);
}

.device-dashboard {
  position: absolute;
  right: 56px;
  bottom: 16px;
  left: 0;
  min-height: 445px;
  padding: 26px;
  border: 1px solid rgba(255, 240, 220, 0.1);
  border-radius: 34px;
  background: rgba(26, 21, 16, 0.92);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

.device-dashboard__head {
  display: flex;
  color: var(--light-tertiary);
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}

.device-dashboard__head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.device-dashboard__head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warning);
}

.device-dashboard__head b { color: var(--light); font-size: 12px; }

.device-dashboard__hero {
  display: grid;
  margin-top: 30px;
  justify-items: center;
}

.device-dashboard__hero small { color: var(--light-tertiary); font-size: 11px; }
.device-dashboard__hero > b { margin: 8px 0 2px; color: var(--brand); font-size: 74px; line-height: 1; font-variant-numeric: tabular-nums; }
.device-dashboard__hero em { margin-left: 5px; color: var(--light-secondary); font-size: 15px; font-style: normal; }
.device-dashboard__hero span { color: var(--light-secondary); font-size: 12px; }

.device-dashboard__grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.device-dashboard__grid span {
  display: grid;
  padding: 15px 10px;
  border: 1px solid rgba(255, 240, 220, 0.07);
  border-radius: 14px;
  background: var(--dark-subtle);
  justify-items: center;
}

.device-dashboard__grid small { color: var(--light-tertiary); font-size: 8px; }
.device-dashboard__grid b { margin-top: 3px; font-size: 15px; }

.device-wave {
  display: flex;
  height: 60px;
  margin-top: 24px;
  padding-inline: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.device-wave i {
  width: 3px;
  height: 18px;
  border-radius: 4px;
  background: var(--gradient);
  opacity: 0.85;
}

.device-wave i:nth-child(2n) { height: 38px; }
.device-wave i:nth-child(3n) { height: 54px; }
.device-wave i:nth-child(5n) { height: 27px; }

/* Measure */
.section--measure {
  background: #f5f2ec;
}

.measure-steps {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  gap: 14px;
}

.measure-steps li {
  display: flex;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  align-items: center;
  gap: 13px;
}

.measure-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-text);
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.measure-steps li > div { display: grid; gap: 1px; }
.measure-steps b { font-size: 14px; }
.measure-steps small { color: var(--ink-secondary); font-size: 12px; }

.measure-camera {
  position: relative;
  height: 610px;
  overflow: hidden;
  border: 8px solid #251f1a;
  border-radius: 40px;
  background:
    radial-gradient(circle at 54% 38%, #40545f 0%, #1d282e 45%, #11181c 100%);
  box-shadow: var(--shadow-lg);
}

.camera-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
}

.squid-shape {
  position: absolute;
  top: 170px;
  left: 50%;
  width: 280px;
  height: 116px;
  border-radius: 60% 38% 55% 35% / 50% 45% 55% 50%;
  background: linear-gradient(135deg, #86919c, #4c5a68 63%, #313c47);
  box-shadow: inset -25px -16px 35px rgba(0, 0, 0, 0.2), 0 24px 30px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%) rotate(-5deg);
}

.squid-shape::before {
  position: absolute;
  top: -16px;
  right: -33px;
  width: 72px;
  height: 70px;
  border-radius: 46% 54% 52% 48%;
  background: #536270;
  content: "";
  transform: rotate(18deg);
}

.squid-shape::after {
  position: absolute;
  top: 14px;
  left: 27px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(29, 40, 46, 0.56);
  content: "";
  box-shadow: 28px 20px 0 rgba(29, 40, 46, 0.42), 62px 5px 0 rgba(29, 40, 46, 0.34), 95px 32px 0 rgba(29, 40, 46, 0.38), 142px 11px 0 rgba(29, 40, 46, 0.36), 178px 37px 0 rgba(29, 40, 46, 0.28);
}

.squid-shape span {
  position: absolute;
  top: 37px;
  left: 100%;
  width: 85px;
  height: 3px;
  border-radius: 3px;
  background: #536270;
  box-shadow: 3px 13px 0 #536270, 0 26px 0 #536270;
  transform: rotate(-12deg);
  transform-origin: left;
}

.measure-line {
  position: absolute;
  z-index: 3;
  top: 316px;
  left: 50%;
  width: 310px;
  height: 2px;
  background: var(--brand);
  transform: translateX(-50%) rotate(-5deg);
  box-shadow: 0 0 12px rgba(242, 91, 36, 0.7);
}

.measure-line i,
.measure-line b {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
}

.measure-line b { right: -16px; }

.measure-line span {
  position: absolute;
  bottom: 12px;
  left: 50%;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-text);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%) rotate(5deg);
}

.reference-card {
  position: absolute;
  z-index: 2;
  top: 366px;
  left: 82px;
  display: flex;
  width: 156px;
  height: 90px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 9px;
  background: #f6f1e6;
  color: var(--ink);
  align-items: center;
  justify-content: space-between;
  transform: rotate(5deg);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.reference-card img { width: 74px; height: 50px; object-fit: contain; }
.reference-card span { font-size: 10px; font-weight: 800; }

.camera-copy {
  position: absolute;
  right: 0;
  bottom: 104px;
  left: 0;
  display: grid;
  color: #fff;
  justify-items: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.camera-copy b { font-size: 15px; }
.camera-copy span { margin-top: 3px; color: rgba(255, 255, 255, 0.62); font-size: 10px; }

.camera-shutter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 4px solid #fff;
  border-radius: 50%;
  background: transparent;
  place-items: center;
  transform: translateX(-50%);
}

.camera-shutter span { width: 48px; height: 48px; border-radius: 50%; background: #fff; }

/* Community */
.section--community {
  background: linear-gradient(180deg, #fff 0%, #fff8f2 100%);
}

.section-heading {
  display: grid;
  margin-bottom: 58px;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 64px;
}

.section-heading h2 { margin-bottom: 0; }
.section-heading > p { padding-bottom: 8px; }

.community-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 16px;
}

.feed-card,
.filter-card,
.record-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feed-card--wide {
  grid-row: 1 / span 2;
  padding: 20px;
}

.feed-card__head {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  gap: 10px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.avatar--orange { background: var(--gradient-readable); }
.feed-card__head > div { display: grid; flex: 1; }
.feed-card__head b { font-size: 13px; }
.feed-card__head small { color: var(--ink-tertiary); font-size: 10px; }
.feed-card__head > span:last-child { color: var(--ink-tertiary); letter-spacing: 2px; }

.feed-photo {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(#a8d8e8 0 47%, #4d8aa1 48% 100%);
}

.feed-photo__sea {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 53%;
  opacity: 0.28;
  background: repeating-linear-gradient(170deg, transparent 0 15px, rgba(255, 255, 255, 0.55) 16px 18px);
}

.feed-photo__rock {
  position: absolute;
  right: -45px;
  bottom: -60px;
  width: 72%;
  height: 68%;
  border-radius: 56% 44% 0 0;
  background: linear-gradient(145deg, #4a463e, #27251f);
  transform: rotate(-8deg);
}

.feed-photo::before {
  position: absolute;
  z-index: 2;
  bottom: 48px;
  left: 42%;
  width: 12px;
  height: 125px;
  border-radius: 7px;
  background: #1b1c1b;
  content: "";
  transform: rotate(18deg);
  transform-origin: bottom;
  box-shadow: -17px -18px 0 -4px #1b1c1b;
}

.feed-photo > span {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(14, 11, 7, 0.58);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.feed-card__actions {
  display: flex;
  padding-top: 15px;
  color: var(--ink-secondary);
  gap: 20px;
  font-size: 11px;
  font-weight: 650;
}

.filter-card,
.record-card {
  display: flex;
  padding: 28px;
  flex-direction: column;
}

.filter-card > small,
.record-card > small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.filter-card > small { color: var(--brand-text); }
.record-card > small { color: var(--brand); }

.filter-card > b,
.record-card > b {
  margin-top: 12px;
  font-size: 24px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}

.filter-card > div {
  display: flex;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-card span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-secondary);
  font-size: 10px;
  font-weight: 700;
}

.filter-card span.is-active { border-color: var(--brand-text); background: var(--brand-text); color: #fff; }

.record-card {
  background: var(--dark);
  color: var(--light);
}

.record-posts {
  display: grid;
  margin-top: auto;
  gap: 8px;
}

.record-posts > span {
  display: grid;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
}

.record-posts i {
  color: var(--brand);
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
  grid-column: 1 / -1;
}

.record-posts b { font-size: 11px; }
.record-posts small { color: var(--light-tertiary); font-size: 9px; }

/* Tools */
.tool-section {
  padding-block: 122px;
  background: var(--bg);
}

.tool-section__head {
  max-width: 760px;
  margin-bottom: 48px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-grid article {
  display: flex;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.tool-grid article > span {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: auto;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-text);
  place-items: center;
  font-size: 21px;
}

.tool-grid article b { margin-top: 38px; font-size: 19px; letter-spacing: -0.4px; }
.tool-grid article p { margin: 8px 0 0; color: var(--ink-secondary); font-size: 13px; line-height: 1.65; }

.tool-grid .tool-card--dark {
  border-color: rgba(255, 240, 220, 0.08);
  background: var(--dark);
  color: var(--light);
}

.tool-grid .tool-card--dark > span { background: rgba(242, 91, 36, 0.16); }
.tool-grid .tool-card--dark p { color: var(--light-secondary); }

/* Launch */
.launch-section {
  position: relative;
  padding: 36px 0 96px;
  overflow: hidden;
  background: var(--bg);
}

.launch-section__glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 900px;
  height: 400px;
  border-radius: 50%;
  background: rgba(242, 91, 36, 0.12);
  filter: blur(100px);
  transform: translateX(-50%);
}

.launch-card {
  position: relative;
  display: grid;
  min-height: 370px;
  padding: 54px 60px;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 82% 16%, rgba(246, 135, 18, 0.23), transparent 36%),
    linear-gradient(135deg, #24150d, var(--dark));
  color: var(--light);
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 42px;
  box-shadow: 0 35px 80px rgba(20, 15, 8, 0.22);
}

.launch-card::before {
  position: absolute;
  right: -170px;
  bottom: -300px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.014),
    0 0 0 140px rgba(255, 255, 255, 0.01);
}

.launch-card > * { position: relative; z-index: 1; }
.launch-card > img { width: 152px; height: auto; border-radius: 26%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28)); }
.launch-card h2 { max-width: 650px; margin: 13px 0 12px; font-size: clamp(32px, 3.5vw, 48px); }
.launch-card > div > p:not(.section-kicker) { color: var(--light-secondary); font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  display: grid;
  width: min(var(--container), calc(100% - 48px));
  min-height: 250px;
  margin-inline: auto;
  padding-block: 54px 36px;
  grid-template-columns: 1fr auto;
  align-content: start;
  align-items: center;
  gap: 28px;
}

.site-footer__brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.site-footer__brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.site-footer__brand > span { display: grid; line-height: 1.05; }
.site-footer__brand small { margin-top: 3px; color: var(--ink-tertiary); font-size: 9px; font-weight: 600; letter-spacing: 0.2px; }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 20px;
}

.site-footer__links a {
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 650;
}

.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] { color: var(--brand-text); }

.site-footer__notice {
  max-width: 760px;
  margin: 0;
  color: var(--ink-tertiary);
  font-size: 11px;
  line-height: 1.65;
}

.site-footer__copyright {
  color: var(--ink-tertiary);
  justify-self: end;
  font-size: 11px;
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  background: var(--bg);
}

.legal-page .site-header {
  position: sticky;
}

.legal-main {
  padding: 68px 24px 100px;
}

.legal-shell {
  max-width: 800px;
  margin: 0 auto;
  padding: 54px 58px 66px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.legal-shell h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 820;
  letter-spacing: -1.3px;
  line-height: 1.2;
}

.legal-shell .updated {
  margin: 10px 0 38px;
  color: var(--ink-tertiary);
  font-size: 12px;
}

.legal-shell h2 {
  margin: 38px 0 12px;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.25px;
  line-height: 1.45;
}

.legal-shell p,
.legal-shell li,
.legal-shell td,
.legal-shell th {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.85;
}

.legal-shell p { margin: 0 0 14px; }
.legal-shell ul,
.legal-shell ol { margin: 0 0 14px; padding-left: 21px; }
.legal-shell li { margin-bottom: 5px; }
.legal-shell strong { color: var(--ink); font-weight: 750; }

.legal-shell table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border: 1px solid var(--line);
  border-radius: 14px;
  border-spacing: 0;
  overflow: hidden;
}

.table-scroll {
  margin: 12px 0 6px;
  overflow-x: auto;
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.legal-shell .table-scroll-hint {
  display: none;
}

.legal-shell th,
.legal-shell td {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-shell tr > *:last-child { border-right: 0; }
.legal-shell tr:last-child > * { border-bottom: 0; }
.legal-shell th { background: var(--surface-inset); color: var(--ink); font-weight: 720; }

.legal-shell .note {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(242, 91, 36, 0.14);
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--ink-secondary);
  font-size: 13px;
}

.legal-page .site-footer__inner {
  min-height: 180px;
}

.legal-page .site-footer__copyright {
  grid-column: 2;
}

/* Responsive */
@media (max-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
    gap: 28px;
  }

  .hero h1 { font-size: clamp(43px, 5.7vw, 62px); }
  .phone { width: 268px; height: 563px; }
  .phone-stack,
  .hero__visual { min-height: 620px; height: 620px; }
  .split-layout,
  .device-layout { gap: 54px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .launch-card { grid-template-columns: 130px 1fr; }
  .launch-card > .button { grid-column: 2; justify-self: start; }
  .launch-card > img { width: 120px; }
}

@media (max-width: 960px) {
  :root { --header-height: 68px; }

  .container,
  .site-header__inner,
  .site-footer__inner { width: min(var(--container), calc(100% - 36px)); }

  .site-header__inner { min-height: var(--header-height); }
  .site-brand__icon { width: 38px; height: 38px; }
  .js .menu-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 45px rgba(20, 15, 8, 0.15);
    gap: 2px;
    max-height: calc(100svh - var(--header-height) - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav a { padding: 12px 14px; border-radius: 12px; }
  .site-nav .site-nav__cta { margin: 4px 0 0; text-align: center; }

  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: visibility 0s linear 160ms, opacity 160ms ease, transform 160ms ease;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .hero { min-height: auto; }
  .hero__grid {
    min-height: auto;
    padding-block: 74px 72px;
    grid-template-columns: minmax(0, 1fr);
    gap: 68px;
  }

  .hero__content { max-width: 760px; }
  .hero h1 { font-size: clamp(48px, 8.4vw, 72px); }
  .hero__visual { width: min(620px, 100%); margin-inline: auto; }
  .phone { width: 292px; height: 613px; }

  .data-bar__inner { padding-block: 22px; align-items: flex-start; }
  .data-bar ul { gap: 12px; }

  .section { padding-block: 104px; }
  .split-layout,
  .split-layout--reverse,
  .device-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .split-layout--reverse .map-showcase { order: 2; }
  .split-layout--reverse .section-copy { order: 1; }
  .section-copy { max-width: 690px; }
  .condition-panel,
  .map-showcase,
  .measure-camera,
  .device-visual { width: min(680px, 100%); margin-inline: auto; }
  .measure-camera { height: 650px; }
  .device-visual { min-height: 600px; }

  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p { max-width: 680px; }
  .launch-card { padding: 48px; }

}

@media (max-width: 720px) {
  .desktop-only { display: none; }
  .container,
  .site-header__inner,
  .site-footer__inner { width: min(var(--container), calc(100% - 28px)); }

  .site-brand__wordmark small { display: none; }
  .hero__grid { padding-block: 58px 64px; gap: 50px; }
  .hero h1 { margin-top: 18px; font-size: clamp(39px, 11vw, 55px); letter-spacing: -2.4px; }
  .hero__lead { font-size: 16px; }
  .hero__signals { gap: 9px 15px; }
  .hero__visual { min-height: 570px; }
  .phone-stack { height: 570px; transform: scale(0.88); transform-origin: top center; }
  .phone { width: 275px; height: 578px; }
  .phone--back { left: max(0px, calc(50% - 275px)); }
  .phone--front { right: max(0px, calc(50% - 275px)); }
  .preview-label { right: 0; top: -1px; }

  .data-bar__inner { display: grid; }
  .data-bar ul { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .data-bar li { display: grid; justify-items: start; gap: 4px; }

  .section { padding-block: 84px; }
  .section-copy h2,
  .section-heading h2,
  .tool-section__head h2,
  .launch-card h2 { font-size: clamp(35px, 9.2vw, 47px); letter-spacing: -1.9px; }

  .condition-panel { padding: 18px; border-radius: 24px; }
  .condition-panel__title > strong { font-size: 38px; }
  .condition-metrics { gap: 6px; }
  .condition-metrics > div { padding: 12px 8px; }
  .condition-metrics b { font-size: 12px; }

  .map-showcase { padding: 12px; border-radius: 24px; }
  .map-canvas { height: 390px; }
  .map-canvas::before { left: 8%; width: 68%; }
  .map-spot-card { right: 24px; bottom: 26px; left: 24px; }

  .device-visual { min-height: 520px; }
  .sensor-orbit { top: 0; right: -5px; transform: scale(0.75); transform-origin: top right; }
  .device-dashboard { right: 24px; min-height: 410px; padding: 20px; }
  .device-dashboard__hero > b { font-size: 60px; }

  .measure-camera { height: 570px; }
  .squid-shape { width: 230px; }
  .measure-line { width: 255px; }
  .reference-card { left: 38px; }

  .community-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .feed-card--wide { grid-row: auto; }
  .feed-photo { height: 320px; }
  .filter-card,
  .record-card { min-height: 230px; }

  .tool-section { padding-block: 84px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid article { min-height: 230px; padding: 21px; }

  .launch-section { padding-bottom: 70px; }
  .launch-card {
    padding: 38px 28px;
    border-radius: 27px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .launch-card > img { width: 110px; }
  .launch-card > .button { grid-column: auto; justify-self: start; }

  .site-footer__inner { min-height: 300px; grid-template-columns: 1fr; gap: 22px; }
  .site-footer__links { justify-content: flex-start; }
  .site-footer__copyright { justify-self: start; }
  .legal-page .site-footer__copyright { grid-column: auto; }

  .legal-main { padding: 38px 14px 72px; }
  .legal-shell { padding: 34px 24px 46px; border-radius: 22px; }
  .table-scroll { border-radius: 14px; }
  .legal-shell table { min-width: 680px; white-space: nowrap; }
  .legal-shell .table-scroll-hint {
    display: flex;
    margin: 0 0 22px;
    color: var(--ink-tertiary);
    justify-content: flex-end;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .site-brand__wordmark { font-size: 16px; }
  .hero h1 { font-size: clamp(36px, 10.7vw, 45px); }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .hero__signals { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__visual { min-height: 515px; }
  .phone-stack { width: 560px; margin-left: 50%; transform: translateX(-50%) scale(0.76); transform-origin: top center; }
  .phone--back { left: 0; }
  .phone--front { right: 0; }
  .data-bar ul { grid-template-columns: 1fr; }
  .data-bar li { grid-template-columns: 44px 1fr; align-items: center; }
  .condition-panel__title b { font-size: 16px; }
  .condition-chart__labels { padding-inline: 10px; font-size: 7px; }
  .condition-metrics { grid-template-columns: 1fr; }
  .condition-metrics > div { grid-template-columns: 24px 1fr auto; align-items: center; }
  .condition-metrics .metric-icon { grid-row: span 2; }
  .condition-metrics em { grid-column: 2; }
  .map-canvas { height: 340px; }
  .map-spot-card { padding: 11px; }
  .map-spot-card p { white-space: nowrap; }
  .score--large { width: 42px; height: 42px; }
  .device-dashboard { right: 0; }
  .device-dashboard__grid { gap: 4px; }
  .device-dashboard__grid span { padding-inline: 5px; }
  .measure-camera { height: 520px; }
  .squid-shape { top: 145px; width: 205px; height: 96px; }
  .measure-line { top: 268px; width: 220px; }
  .reference-card { top: 288px; left: 28px; transform: rotate(5deg) scale(0.8); transform-origin: left top; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-grid article { min-height: 210px; }
  .legal-shell { padding-inline: 19px; }
  .legal-shell p,
  .legal-shell li,
  .legal-shell td,
  .legal-shell th { font-size: 13px; }
}

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