:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --ink: #111827;
  --muted: #5d6678;
  --subtle: #8993a5;
  --line: rgba(17, 24, 39, 0.12);
  --blue: #0a84ff;
  --blue-deep: #075ec6;
  --mint: #2fbf9b;
  --coral: #ef6f61;
  --gold: #f3b23f;
  --shadow: rgba(16, 24, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(10, 132, 255, 0.2);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 7px 12px 7px 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f7fb;
}

.language-switch button,
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.language-switch a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.header-legal-link {
  display: none !important;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92svh;
  overflow: hidden;
  padding: 126px 20px 96px;
  background: #eef5ff;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  background: #f6f8fc;
  content: "";
}

.hero-scene {
  position: absolute;
  inset: 78px 0 0;
  z-index: 1;
  pointer-events: none;
}

.screenshot-phone {
  position: absolute;
  overflow: hidden;
  aspect-ratio: 1206 / 2622;
  padding: 8px;
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 36px;
  background: #111827;
  box-shadow: 0 34px 80px rgba(16, 24, 40, 0.26);
}

.screenshot-phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top;
}

.hero-phone-main {
  left: 50%;
  bottom: -380px;
  width: min(330px, 25vw);
  opacity: 0.24;
  transform: translateX(-50%);
}

.hero-phone-overview {
  left: max(18px, calc(50% - 610px));
  top: 90px;
  width: min(282px, 24vw);
  opacity: 0.78;
  transform: rotate(-7deg);
}

.hero-phone-map {
  right: max(18px, calc(50% - 610px));
  top: 96px;
  width: min(282px, 24vw);
  opacity: 0.78;
  transform: rotate(7deg);
}

.device {
  position: absolute;
  overflow: hidden;
  width: 250px;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 34px 80px rgba(16, 24, 40, 0.24);
}

.device-main {
  left: 50%;
  top: 44%;
  width: 300px;
  transform: translateX(-50%);
}

.device-map {
  left: max(4%, calc(50% - 520px));
  top: 30%;
  transform: rotate(-7deg);
}

.device-chat {
  right: max(4%, calc(50% - 520px));
  top: 32%;
  transform: rotate(7deg);
}

.device-screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 16px;
  border-radius: 25px;
  background: #f8fafc;
}

.mini-status {
  display: flex;
  justify-content: space-between;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
}

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

.app-top img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.app-top span,
.dashboard-panel span,
.event-tag {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-top strong {
  display: block;
  font-size: 20px;
}

.prompt-bubble {
  padding: 13px 14px;
  border: 1px solid rgba(10, 132, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.event-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(47, 191, 155, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.1);
}

.event-card strong {
  font-size: 18px;
}

.event-card p,
.map-sheet p,
.shared-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.event-metrics {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}

.event-metrics span {
  flex: 1;
  padding: 8px 6px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 96px;
  margin-top: auto;
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
}

.mini-chart span {
  flex: 1;
  min-height: 22px;
  border-radius: 999px 999px 6px 6px;
  background: var(--blue);
}

.map-screen {
  position: relative;
  background: #edf7f3;
}

.map-canvas {
  position: relative;
  flex: 1;
  min-height: 220px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(17, 24, 39, 0.08) 49%, transparent 51%),
    linear-gradient(0deg, transparent 48%, rgba(17, 24, 39, 0.08) 49%, transparent 51%),
    #dbeee7;
  background-size: 84px 84px;
}

.map-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 10px 24px rgba(239, 111, 97, 0.32);
}

.map-pin-a {
  left: 28%;
  top: 32%;
}

.map-pin-b {
  right: 22%;
  top: 48%;
  background: var(--blue);
}

.map-pin-c {
  left: 48%;
  bottom: 20%;
  background: var(--mint);
}

.map-sheet,
.shared-card {
  padding: 13px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.1);
}

.sheet-handle {
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}

.chat-screen {
  background: #eef5ff;
}

.chat-row {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.chat-row-left {
  align-self: flex-start;
  background: #ffffff;
}

.chat-row-right {
  align-self: flex-end;
  background: var(--blue);
  color: #ffffff;
}

.shared-card {
  margin-top: 12px;
  border: 1px solid rgba(10, 132, 255, 0.14);
}

.shared-card strong {
  display: block;
  margin-bottom: 4px;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 900px;
  min-width: 0;
  text-align: center;
  text-shadow: 0 1px 18px rgba(238, 245, 255, 0.9);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 78px;
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subtitle {
  width: min(760px, 100%);
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-copy {
  width: min(690px, 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.primary-cta {
  min-width: 168px;
  padding: 0 24px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.22);
}

.secondary-cta {
  min-width: 116px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.promise-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.promise-row li {
  padding: 8px 10px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.intro-band,
.section,
.download-section,
.legal-main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: -36px;
}

.intro-item,
.feature-card,
.flow-steps article,
.dashboard-panel,
.quote-grid blockquote {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.intro-item {
  padding: 18px;
}

.intro-item span,
.flow-steps span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.intro-item strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.intro-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 88px 0 0;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 28px;
}

.section-heading h2,
.flow-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:last-child,
.flow-copy p:last-child,
.download-copy p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.pain-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding-top: 76px;
}

.pain-copy h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.pain-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
}

.app-switcher {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.app-stack {
  display: grid;
  gap: 8px;
}

.app-stack span,
.app-switcher strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.app-stack span {
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #f5f8fc;
  color: var(--muted);
}

.app-switcher strong {
  min-height: 78px;
  background: var(--ink);
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.18);
}

.app-switcher-arrow {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

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

.feature-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 20px;
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: #e8f8f3;
  color: #087b63;
}

.feature-card:nth-child(3) .feature-icon {
  background: #fff3d8;
  color: #8a5b00;
}

.feature-card:nth-child(4) .feature-icon {
  background: #fff0ed;
  color: #a43d32;
}

.feature-card h3,
.flow-steps h3 {
  margin: 22px 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.feature-card p,
.flow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.feature-shot {
  height: 214px;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #111827;
}

.feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: start;
}

.flow-copy {
  position: sticky;
  top: 120px;
}

.flow-steps {
  display: grid;
  gap: 12px;
}

.flow-steps article {
  padding: 22px;
}

.dashboard-section {
  padding-top: 96px;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

.dashboard-panel {
  min-height: 170px;
  padding: 20px;
}

.panel-focus {
  grid-row: span 2;
  min-height: 352px;
  background: #101828;
  color: #ffffff;
}

.panel-focus span {
  color: #98c9ff;
}

.panel-focus strong {
  display: block;
  width: min(360px, 100%);
  margin-top: 34px;
  font-size: 38px;
  line-height: 1.08;
}

.panel-focus p {
  width: min(420px, 100%);
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  font-weight: 700;
}

.dashboard-panel:not(.panel-focus) strong {
  display: block;
  margin: 18px 0 20px;
  font-size: 28px;
}

.bar-line {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef7;
}

.bar-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.bar-line-green span {
  background: var(--mint);
}

.dot-line {
  display: flex;
  gap: 10px;
}

.dot-line span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--coral);
}

.dot-line span:nth-child(2) {
  background: var(--gold);
}

.dot-line span:nth-child(3) {
  background: var(--mint);
}

.dot-line span:nth-child(4) {
  background: var(--blue);
}

.quotes-section {
  padding-top: 96px;
}

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

.quote-grid blockquote {
  margin: 0;
  min-height: 178px;
  padding: 22px;
}

.quote-grid p {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.lifestyle-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: center;
  padding-top: 96px;
}

.lifestyle-copy h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.lifestyle-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.lifestyle-photo {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

.lifestyle-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: center;
  margin-top: 96px;
  padding: 46px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.09);
}

.download-copy h2 {
  font-size: 40px;
}

.download-actions {
  display: grid;
  gap: 12px;
}

.store-link {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.store-link:hover {
  border-color: rgba(10, 132, 255, 0.3);
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.1);
  transform: translateY(-2px);
}

.store-link span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-link-android span {
  color: #087b63;
}

.store-link strong {
  font-size: 20px;
  font-weight: 900;
}

.store-link small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
}

.footer-brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.footer-legal-links a:first-child {
  border-color: rgba(10, 132, 255, 0.2);
  background: #eaf3ff;
  color: var(--blue-deep);
}

.legal-main {
  padding: 132px 0 72px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.legal-hero-card,
.legal-status-card,
.legal-card,
.legal-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.legal-hero-card {
  padding: 34px;
}

.legal-status-card {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
}

.legal-status-card strong,
.legal-note strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.legal-status-card p,
.legal-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal-status-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.legal-status-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-hero h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.legal-updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.legal-summary {
  width: min(700px, 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
}

.legal-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.legal-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
}

.legal-pill-row span:nth-child(2) {
  background: #e8f8f3;
  color: #087b63;
}

.legal-pill-row span:nth-child(3) {
  background: #fff3d8;
  color: #8a5b00;
}

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

.legal-note {
  min-height: 132px;
  padding: 18px;
}

.legal-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.legal-card {
  padding: 24px;
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.legal-card a {
  color: var(--blue-deep);
  font-weight: 800;
}

.legal-document-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
}

.legal-document-card h2 {
  margin-bottom: 8px;
}

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

.legal-document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(100%, 360px);
}

.legal-document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(10, 132, 255, 0.22);
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.legal-document-link-secondary {
  border-color: rgba(8, 123, 99, 0.18);
  background: #e8f8f3;
  color: #087b63;
}

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

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding-top: 118px;
  }

  .hero-phone-main {
    width: 264px;
  }

  .hero-phone-overview,
  .hero-phone-map {
    width: 220px;
    opacity: 0.46;
  }

  h1 {
    font-size: 62px;
  }

  .hero-subtitle {
    font-size: 29px;
  }

  .intro-band,
  .feature-grid,
  .split-section,
  .dashboard-preview,
  .quote-grid,
  .pain-section,
  .lifestyle-section,
  .download-section,
  .legal-hero,
  .legal-note-grid,
  .legal-content-grid {
    grid-template-columns: 1fr;
  }

  .header-legal-link {
    display: inline-flex !important;
  }

  .feature-card-wide {
    grid-column: auto;
  }

  .legal-card-wide {
    grid-column: auto;
  }

  .legal-document-card {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-document-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .flow-copy {
    position: static;
  }

  .dashboard-panel,
  .panel-focus {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 54px;
    padding: 7px;
  }

  .brand {
    gap: 7px;
    padding-right: 6px;
    font-size: 15px;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .language-switch button,
  .language-switch a {
    min-width: 42px;
    min-height: 30px;
    font-size: 12px;
  }

  .hero {
    min-height: 940px;
    padding: 104px 16px 520px;
  }

  .hero-scene {
    inset: 444px 0 auto;
    height: 470px;
  }

  .hero-phone-main {
    left: 50%;
    top: 0;
    bottom: auto;
    width: min(230px, 60vw);
    opacity: 0.92;
    transform: translateX(-50%);
  }

  .hero-phone-overview,
  .hero-phone-map {
    display: none;
  }

  .device-screen {
    gap: 9px;
    padding: 13px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-content {
    max-width: 342px;
  }

  .hero-subtitle {
    width: 100%;
    font-size: 21px;
    line-height: 1.26;
    word-break: break-all;
  }

  .hero-copy {
    width: 100%;
    font-size: 14px;
  }

  .hero-actions {
    width: min(300px, 100%);
  }

  .primary-cta,
  .secondary-cta {
    min-width: 0;
    width: 100%;
  }

  .promise-row {
    display: none;
  }

  .intro-band,
  .section,
  .download-section,
  .legal-main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .intro-band {
    margin-top: -24px;
  }

  .section {
    padding-top: 66px;
  }

  .section-heading h2,
  .flow-copy h2,
  .pain-copy h2,
  .download-copy h2,
  .legal-hero h1 {
    font-size: 31px;
  }

  .section-heading p:last-child,
  .flow-copy p:last-child,
  .pain-copy p:last-child,
  .download-copy p {
    font-size: 15px;
  }

  .feature-card,
  .quote-grid blockquote,
  .flow-steps article,
  .dashboard-panel,
  .legal-card,
  .legal-hero-card {
    padding: 18px;
  }

  .feature-card {
    min-height: auto;
  }

  .pain-section {
    padding-top: 58px;
  }

  .app-switcher {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }

  .app-switcher-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .feature-shot {
    height: 220px;
    margin-top: 18px;
  }

  .quote-grid p {
    font-size: 19px;
  }

  .lifestyle-copy h2 {
    font-size: 31px;
  }

  .lifestyle-copy p:last-child {
    font-size: 17px;
  }

  .download-section {
    margin-top: 72px;
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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