:root {
  color-scheme: dark;
  --bg-top: #10251d;
  --bg-mid: #194d3d;
  --bg-bottom: #536a35;
  --ink: #f5fff6;
  --muted: rgba(245, 255, 246, 0.68);
  --quiet: rgba(245, 255, 246, 0.48);
  --line: rgba(245, 255, 246, 0.16);
  --panel: rgba(13, 31, 25, 0.72);
  --panel-soft: rgba(245, 255, 246, 0.075);
  --field: rgba(245, 255, 246, 0.09);
  --accent: #a7df72;
  --accent-2: #77d6b2;
  --warn: #ffd36a;
  --danger: #ff8b8b;
  --radius: 16px;
  --radius-small: 10px;
  --max: 1180px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg-top), var(--bg-mid) 52%, var(--bg-bottom));
  background-size: 42px 42px, 42px 42px, auto;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1040px, calc(100% - 40px));
  min-height: 58px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 31, 25, 0.72);
  backdrop-filter: blur(20px) saturate(145%);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-height: 42px;
  padding: 4px 13px 4px 4px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 950;
}

.brand:hover,
.brand:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #fafff5, #cfeaae);
  color: #0d2019;
  font-size: 0.72rem;
  font-weight: 950;
}

.site-nav {
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.site-nav a {
  min-height: 36px;
  padding: 9px 13px;
  border-radius: 10px;
  color: rgba(245, 255, 246, 0.72);
  font-size: 0.86rem;
  font-weight: 850;
}

.nav-toggle {
  display: none;
}

.home-shell,
.page-main {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
}

.home-shell {
  padding: 114px 0 34px;
}

.page-main {
  padding: 132px 0 50px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}

.hero-copy-panel,
.hero-login-card,
.summary-strip article,
.app-detail,
.showcase,
.support-card,
.contact-form,
.policy-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy-panel {
  min-height: 520px;
  display: grid;
  align-content: end;
  padding: clamp(22px, 5vw, 48px);
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 650;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-actions,
.preview-tabs,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-small);
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  white-space: normal;
}

.button-primary,
button,
.store-link {
  color: #0d2019;
  background: linear-gradient(180deg, #fafff5, #cfeaae);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.button-secondary,
.preview-tab,
.status-pill {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.button:hover,
button:hover,
.store-link:hover {
  transform: translateY(-1px);
}

.hero-login-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.login-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.login-preview-top h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.status-dot {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #13251c;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.fake-field {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
}

.fake-field span {
  display: block;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fake-field strong {
  display: block;
  margin-top: 7px;
  font-size: 1.08rem;
}

.suite-card {
  gap: 13px;
}

.suite-field {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.suite-field img {
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.suite-actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10px;
  margin-top: 4px;
}

.full-button {
  width: 100%;
  margin-top: 4px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.summary-strip article {
  padding: 16px;
  box-shadow: none;
}

.summary-strip span {
  display: block;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.summary-strip strong {
  display: block;
  margin-top: 7px;
  font-size: 1.18rem;
}

.apps,
.showcase {
  margin-top: 18px;
}

.apps {
  padding: 24px 0 0;
}

.section-heading {
  margin-bottom: 14px;
}

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

.app-detail {
  display: grid;
  align-content: start;
  min-height: 330px;
  padding: 18px;
  overflow: hidden;
  box-shadow: none;
}

.app-detail.mix-card {
  background: linear-gradient(145deg, rgba(13, 31, 25, 0.78), rgba(26, 75, 51, 0.76));
}

.app-detail.log-card {
  background: linear-gradient(145deg, rgba(13, 31, 25, 0.78), rgba(42, 89, 54, 0.74));
}

.app-detail.fix-card {
  background: linear-gradient(145deg, rgba(13, 31, 25, 0.78), rgba(42, 78, 88, 0.72));
}

.detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-title img {
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.detail-title p {
  margin-bottom: 4px;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-title h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

.app-detail ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 18px;
}

.app-detail li {
  color: var(--muted);
  line-height: 1.52;
}

.app-detail li::marker {
  color: var(--accent);
}

.simple-app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.simple-app-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.simple-app-card.mix-card {
  background: linear-gradient(145deg, rgba(13, 31, 25, 0.82), rgba(26, 75, 51, 0.76));
}

.simple-app-card.log-card {
  background: linear-gradient(145deg, rgba(13, 31, 25, 0.82), rgba(42, 89, 54, 0.74));
}

.simple-app-card.fix-card {
  background: linear-gradient(145deg, rgba(13, 31, 25, 0.82), rgba(42, 78, 88, 0.72));
}

.simple-app-main {
  display: grid;
  align-content: start;
  padding: 16px;
}

.simple-app-main p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.48;
}

.simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-disabled {
  cursor: default;
  opacity: 0.58;
}

.button-disabled:hover {
  transform: none;
}

.simple-app-card .detail-title {
  justify-content: center;
  margin: 0;
  padding: 15px 14px 13px;
}

.simple-app-card .detail-title img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.simple-app-card .detail-title h3 {
  margin: 0;
  text-align: center;
}

.app-carousel {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 20%, rgba(206, 242, 169, 0.1), transparent 34%),
    rgba(7, 18, 14, 0.48);
}

.app-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 420ms ease;
}

.app-carousel img.is-active {
  opacity: 1;
}

.store-link,
.status-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border-radius: 999px;
  padding: 0 13px;
  font-size: 0.84rem;
  font-weight: 950;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: 34px;
  align-items: center;
  padding: 18px;
}

.showcase-copy {
  max-width: 600px;
}

.showcase-copy h2 {
  margin-bottom: 16px;
}

.showcase-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.preview-tabs {
  width: fit-content;
  margin-top: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.preview-tab {
  min-width: 74px;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 14px;
}

.preview-tab.is-active {
  color: #0d2019;
  background: var(--ink);
}

.phone-shell {
  justify-self: center;
  width: min(354px, 100%);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 684px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(150deg, #113121, #1d5b40 50%, #0f2424);
  padding: 16px;
  transition: background 220ms ease;
}

.phone-screen.is-real-screen {
  position: relative;
  min-height: 0;
  aspect-ratio: 660 / 1434;
  padding: 0;
  background: #102019;
}

.phone-screen.log-theme {
  background: linear-gradient(150deg, #132c20, #3f7540 52%, #182e35);
}

.phone-screen.fix-theme {
  background: linear-gradient(150deg, #122a2c, #356982 50%, #222c34);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 2px 10px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.phone-status span:last-child {
  width: 58px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.5);
}

.app-preview {
  display: grid;
  gap: 14px;
}

.app-topline,
.metric-row,
.preview-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.app-topline {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.app-icon-mini {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.18);
}

.app-icon-mini img {
  width: 25px;
  height: 25px;
}

.app-topline p {
  margin-bottom: 4px;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.app-topline h3 {
  margin: 0;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 8px;
}

.metric-row div {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-row strong {
  font-size: 1.22rem;
}

.metric-row span,
.dose-row span,
.panel-line span {
  color: rgba(245, 255, 246, 0.7);
  font-size: 0.78rem;
}

.preview-panel {
  padding: 16px;
}

.panel-line,
.dose-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-line {
  margin-bottom: 12px;
}

.dose-row {
  min-height: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dose-row.soft b {
  color: var(--warn);
}

.shot-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 29px;
  background: #102019;
}

.shot-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 360ms ease;
}

.shot-image.is-active {
  opacity: 1;
}

.shot-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 20, 16, 0.52);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.shot-dots button {
  width: 8px;
  min-height: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.shot-dots button.is-active {
  width: 24px;
  background: var(--warn);
}

.site-footer {
  display: flex;
  width: min(var(--max), calc(100% - 28px));
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 0 42px;
  color: rgba(245, 255, 246, 0.64);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
  font-weight: 850;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  font-weight: 800;
}

.page-hero {
  padding: 22px 0 18px;
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 50px;
}

.support-copy h2,
.policy-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
}

.support-grid {
  display: grid;
  gap: 12px;
}

.support-card {
  padding: 18px;
  box-shadow: none;
}

.support-card p,
.policy-content p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 0 12px;
  color: var(--ink);
  background: var(--field);
  outline: 0;
}

.contact-form textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(167, 223, 114, 0.78);
  box-shadow: 0 0 0 3px rgba(167, 223, 114, 0.13);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.policy-content {
  display: grid;
  max-width: 900px;
  gap: 26px;
  padding: 22px;
  margin-bottom: 44px;
  box-shadow: none;
}

.policy-content section {
  display: grid;
  gap: 9px;
}

.policy-content .button {
  width: fit-content;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1040px) {
  .home-hero,
  .showcase,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy-panel {
    min-height: 430px;
  }

  .app-detail-grid,
  .summary-strip {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    justify-self: start;
  }
}

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

  .brand {
    padding-right: 8px;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle span + span {
    margin-top: -13px;
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 10px;
    right: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 7px;
    border: 1px solid var(--line);
    background: rgba(13, 31, 25, 0.96);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    padding: 12px 13px;
  }

  .home-shell {
    padding-top: 96px;
  }

  .page-main {
    padding-top: 112px;
  }

  .hero-copy-panel,
  .hero-login-card,
  .showcase {
    padding: 16px;
  }

  .home-hero,
  .hero-copy-panel,
  .hero-login-card,
  .summary-strip article,
  .app-detail,
  .simple-app-card,
  .showcase {
    min-width: 0;
  }

  .hero-copy-panel {
    min-height: 380px;
  }

  .hero-copy,
  .app-detail li,
  .fake-field strong {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2.18rem, 9.2vw, 3rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .suite-field {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .suite-field img {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .suite-field strong {
    font-size: 0.98rem;
    line-height: 1.24;
  }

  .hero-actions,
  .simple-actions,
  .login-preview-top,
  .suite-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .suite-actions {
    display: flex;
  }

  .status-dot {
    width: fit-content;
  }

  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .footer-links {
    justify-content: flex-start;
  }

  .phone-shell {
    width: min(338px, 100%);
  }

  .phone-screen {
    min-height: 620px;
  }

  .phone-screen.is-real-screen {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    max-width: 136px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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