:root {
  color-scheme: light;
  --ink: #16201b;
  --muted: #5f6f68;
  --line: #dbe4df;
  --surface: #ffffff;
  --surface-soft: #f4f8f6;
  --surface-warm: #fff6e7;
  --accent: #0f8f72;
  --accent-strong: #08624f;
  --accent-soft: #dff5ee;
  --rose: #b84a62;
  --blue: #3568a8;
  --shadow: 0 18px 46px rgba(22, 32, 27, 0.12);
  
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface-soft);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(15, 143, 114, 0.12), transparent 34rem),
    linear-gradient(180deg, #fbfdfb 0%, #eef5f1 100%);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--blue);
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(219, 228, 223, 0.84);
  background: rgba(251, 253, 251, 0.88);
  backdrop-filter: blur(16px);
}

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

.brand-link {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(15, 143, 114, 0.18);
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current='page'] {
  color: var(--ink);
  background: var(--accent-soft);
}

.hero {
  min-height: min(760px, calc(100vh - 124px));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  align-items: center;
  gap: 56px;
  padding: 76px 0 64px;
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 9vw, 6.2rem);
  font-weight: 900;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #31413a;
  font-size: 1.28rem;
  overflow-wrap: anywhere;
}

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

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--accent-strong);
}

.button.primary:hover {
  color: #ffffff;
  background: #07493d;
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.button.secondary:hover {
  color: var(--ink);
  border-color: #b8cbc2;
  background: #ffffff;
}

.device-panel {
  position: relative;
  min-height: 570px;
  border: 1px solid rgba(219, 228, 223, 0.9);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 246, 231, 0.94), rgba(223, 245, 238, 0.86)), #ffffff;
  box-shadow: var(--shadow);
}

.device-panel::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(15, 143, 114, 0.18);
  border-radius: 28px;
  pointer-events: none;
}

.app-preview {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  min-width: 0;
}

.app-icon-large {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(8, 98, 79, 0.24);
}

.preview-stack {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.preview-item {
  border: 1px solid rgba(219, 228, 223, 0.94);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  min-width: 0;
}

.preview-label {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.preview-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.preview-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.page-main {
  padding: 64px 0 80px;
}

.page-hero {
  max-width: 820px;
  padding: 24px 0 48px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.page-lede {
  margin: 22px 0 0;
  color: #31413a;
  font-size: 1.17rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.content-flow {
  display: grid;
  gap: 22px;
}

.section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
}

.section h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.section h3 {
  margin: 22px 0 8px;
  font-size: 1.04rem;
}

.section p {
  margin: 0 0 14px;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul {
  margin: 0;
  padding-left: 1.18rem;
}

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

.side-note {
  position: sticky;
  top: 98px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(22, 32, 27, 0.08);
}

.side-note h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.side-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0 72px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.feature h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: start;
}

.support-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d7d0;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 143, 114, 0.18);
  border-color: var(--accent);
}

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

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

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

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

.contact-options {
  display: grid;
  gap: 14px;
}

.contact-option {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.contact-option strong {
  display: block;
  margin-bottom: 4px;
}

.contact-option span {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

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

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .device-panel,
  .app-preview {
    min-height: 460px;
  }

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

  .side-note {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: calc(100% - 28px);
  }

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

  .site-nav {
    padding: 14px 0;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-link {
    min-width: 0;
    justify-content: center;
    padding: 0 8px;
    white-space: nowrap;
  }

  .hero {
    padding: 38px 0 44px;
    gap: 32px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-copy,
  .page-lede {
    max-width: 100%;
    font-size: 1.05rem;
  }

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

  .button {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .app-preview,
  .section,
  .feature,
  .side-note {
    padding: 20px;
  }

  .device-panel::before {
    inset: 16px;
    border-radius: 24px;
  }

  .device-panel,
  .app-preview {
    min-height: 420px;
  }

  .app-icon-large {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .preview-stack {
    gap: 12px;
    margin-top: 28px;
  }

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