:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #86868b;
  --page: #f5f5f7;
  --page-top: #fbfbfd;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-solid: #ffffff;
  --panel-soft: #f5f5f7;
  --line: rgba(29, 29, 31, 0.1);
  --line-strong: rgba(29, 29, 31, 0.16);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #1d9a6c;
  --orange: #d9703f;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.08);
  --shadow-device: 0 38px 90px rgba(0, 0, 0, 0.18);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --subtle: #8a8a91;
    --page: #000000;
    --page-top: #09090b;
    --panel: rgba(28, 28, 30, 0.72);
    --panel-solid: #161617;
    --panel-soft: #101012;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --blue: #2997ff;
    --blue-hover: #46a6ff;
    --green: #32d994;
    --orange: #ff9f6e;
    --shadow-soft: 0 20px 56px rgba(0, 0, 0, 0.36);
    --shadow-device: 0 42px 100px rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(0, 113, 227, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--page-top) 0%, var(--page) 42%, var(--page-top) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(circle at 50% -16%, rgba(41, 151, 255, 0.18), transparent 28rem),
      radial-gradient(circle at 90% 18%, rgba(255, 189, 112, 0.08), transparent 24rem),
      linear-gradient(180deg, #070708 0%, #000000 48%, #09090b 100%);
  }
}

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

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

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page-top) 78%, transparent);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.18s ease, opacity 0.18s ease;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta {
  min-height: 34px;
  padding: 0 15px;
  color: #ffffff;
  background: var(--blue);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(0, 113, 227, 0.22);
}

.button.primary:hover,
.nav-cta:hover {
  color: #ffffff;
  background: var(--blue-hover);
}

.button.soft {
  color: var(--text);
  background: color-mix(in srgb, var(--panel-solid) 82%, transparent);
  border-color: var(--line);
}

.button.soft:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.hero {
  display: grid;
  justify-items: center;
  padding: 92px 0 72px;
  text-align: center;
}

.hero-copy {
  width: min(880px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
.page-title {
  margin: 0 auto;
  max-width: 920px;
  font-size: clamp(3.1rem, 7.6vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 760;
}

.lead {
  margin: 26px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.62;
  letter-spacing: -0.015em;
}

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

.hero-note {
  margin: 16px 0 0;
  color: var(--subtle);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  width: min(740px, 100%);
  height: 500px;
  margin-top: 54px;
  isolation: isolate;
}

.device-frame,
.floating-shot,
.screenshot-grid figure {
  margin: 0;
}

.device-frame {
  position: relative;
  overflow: hidden;
  width: min(292px, 44vw);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 44px;
  background: linear-gradient(180deg, #2b2b2d, #08080a);
  box-shadow: var(--shadow-device);
}

.main-device {
  z-index: 3;
  margin: 0 auto;
}

.device-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 20px;
  border-radius: 999px;
  background: #070707;
  transform: translateX(-50%);
}

.device-frame img,
.floating-shot img,
.screenshot-grid img {
  display: block;
  width: 100%;
}

.device-frame img {
  border-radius: 35px;
}

.floating-shot {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  width: 158px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel-solid);
  box-shadow: var(--shadow-soft);
  opacity: 0.96;
}

.floating-shot img {
  border-radius: 27px;
}

.floating-shot-left {
  left: 64px;
  top: 118px;
  transform: rotate(-7deg);
}

.floating-shot-right {
  right: 52px;
  top: 84px;
  transform: rotate(6deg);
}

.hero-stat {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel-solid) 76%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: left;
}

.hero-stat span {
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.hero-stat small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
}

.hero-stat-top {
  top: 36px;
  right: 128px;
}

.hero-stat-bottom {
  left: 116px;
  bottom: 52px;
}

.section {
  padding: 92px 0;
}

.center-section {
  text-align: center;
}

.section h2 {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.064em;
  font-weight: 740;
}

.section-lead,
.page-lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.22rem);
  line-height: 1.78;
  letter-spacing: -0.012em;
}

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

.feature-card,
.legal-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.feature-card {
  min-height: 250px;
  padding: 30px;
  text-align: left;
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  font-size: 0.82rem;
  font-weight: 760;
}

.feature-card h3,
.legal-card h2 {
  margin: 24px 0 10px;
  font-size: 1.38rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.feature-card p,
.legal-card p,
.legal-card li,
.principle-list p {
  color: var(--muted);
  line-height: 1.74;
  letter-spacing: -0.012em;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 64px;
}

.split-section h2,
.split-section .section-lead {
  margin-left: 0;
  text-align: left;
}

.principle-list {
  display: grid;
  gap: 12px;
}

.principle-list article {
  padding: 23px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-solid);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.055);
}

.principle-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principle-list strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.principle-list p {
  margin: 8px 0 0;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 0%, rgba(41, 151, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 100%, rgba(255, 188, 116, 0.18), transparent 26rem),
    var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.support-panel h2 {
  margin-left: 0;
  text-align: left;
}

.support-panel .section-lead {
  margin-left: 0;
  text-align: left;
}

.support-panel .actions {
  justify-content: flex-end;
  margin-top: 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(152px, 1fr));
  gap: 18px;
  margin-top: 44px;
  align-items: start;
}

.screenshot-grid figure {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.screenshot-grid img {
  border-radius: 24px;
}

.screenshot-grid figcaption {
  padding: 12px 4px 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 580;
  letter-spacing: -0.01em;
}

.page {
  padding: 76px 0 92px;
}

.page .eyebrow {
  text-align: center;
}

.page-title {
  text-align: center;
  font-size: clamp(2.75rem, 6vw, 5.6rem);
}

.legal-stack {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 42px auto 0;
}

.legal-card {
  padding: 30px;
}

.legal-card h2 {
  margin-top: 0;
}

.legal-card p,
.legal-card ul {
  margin: 0;
}

.legal-card ul {
  padding-left: 1.15rem;
}

.legal-card li + li {
  margin-top: 8px;
}

.form-grid {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 42px auto 0;
  padding: 30px;
}

label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: -0.012em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel-solid) 84%, transparent);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--blue) 72%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent);
  background: var(--panel-solid);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-label input {
  width: auto;
  margin-top: 5px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 640;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--orange);
}

button:disabled {
  cursor: progress;
  opacity: 0.62;
  transform: none;
}

.site-footer {
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-inner a:hover {
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  .button.primary {
    box-shadow: 0 16px 38px rgba(41, 151, 255, 0.24);
  }

  .button.soft,
  .principle-list article,
  .screenshot-grid figure {
    background: color-mix(in srgb, var(--panel-solid) 88%, transparent);
  }

  .device-frame {
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, #3a3a3c, #050506);
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 76px;
  }

  .split-section,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .support-panel .actions {
    justify-content: flex-start;
  }

  .screenshot-grid {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-grid figure {
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    padding: 64px 0 46px;
  }

  h1,
  .page-title {
    letter-spacing: -0.062em;
  }

  .hero-visual {
    height: 405px;
    margin-top: 40px;
  }

  .device-frame {
    width: 238px;
    border-radius: 38px;
  }

  .device-frame img {
    border-radius: 30px;
  }

  .device-frame::before {
    width: 62px;
    height: 17px;
  }

  .floating-shot {
    width: 116px;
    border-radius: 22px;
  }

  .floating-shot img {
    border-radius: 21px;
  }

  .floating-shot-left {
    left: 0;
    top: 130px;
  }

  .floating-shot-right {
    right: 0;
    top: 100px;
  }

  .hero-stat {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button,
  .actions button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .floating-shot {
    display: none;
  }

  .hero-visual {
    height: 376px;
  }
}
