:root {
  --background: #f6f7fb;
  --surface: #ffffff;
  --surface-muted: #eef1f7;
  --text: #151821;
  --text-muted: #606776;
  --border: #dce1ea;
  --accent: #ff9933;
  --accent-hover: #cc6600;
  --shadow: 0 18px 50px rgba(20, 27, 51, 0.10);
  --shadow-soft: 0 10px 30px rgba(20, 27, 51, 0.06);
  --radius-large: 28px;
  --radius-medium: 18px;
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 225, 234, 0.88);
  background: rgba(246, 247, 251, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(20, 27, 51, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 620;
}

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

.hero {
  padding: 80px 0 72px;
}

.hero-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 95% 5%, rgba(63, 91, 216, 0.13), transparent 24rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 52px;
  align-items: center;
  padding: clamp(34px, 6vw, 68px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 6vw, 5.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.tagline {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: clamp(1.06rem, 1.8vw, 1.48rem);
  font-weight: 730;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 720;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  color: #ffffff;
}

.button.secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.hero-icon-wrap {
  display: grid;
  min-width: 0;
  place-items: center;
}

.hero-icon {
  width: min(100%, 300px);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 27%;
  object-fit: cover;
  box-shadow: 0 24px 54px rgba(20, 27, 51, 0.22);
}

.hero-preview {
  margin-top: 30px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 19px;
  object-fit: cover;
  background: var(--surface-muted);
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-muted);
  color: var(--accent);
  font-weight: 780;
}

.card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.gallery-device {
  padding: 22px 22px 0;
}

.gallery-device .ipad-frame {
  width: 100%;
}

.gallery-device .ipad-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shot {
  display: flex;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-muted);
}

.shot figcaption {
  flex: 1;
  padding: 18px 22px 22px;
}

.shot figcaption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.shot figcaption span {
  color: var(--text-muted);
}

.remote-section {
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.remote-copy {
  max-width: 800px;
  margin-bottom: 38px;
}

.remote-copy p:not(.eyebrow) {
  color: var(--text-muted);
}

.remote-devices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.31fr);
  gap: 34px;
  align-items: end;
}

.device-card {
  min-width: 0;
  margin: 0;
}

.device-label {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.ipad-frame,
.phone-frame {
  border: 1px solid #242833;
  background: #11131a;
  box-shadow: 0 22px 54px rgba(20, 27, 51, 0.22);
}

.ipad-frame {
  padding: 11px;
  border-radius: 31px;
}

.ipad-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 21px;
  object-fit: cover;
  background: var(--surface-muted);
}

.phone-frame {
  width: 100%;
  max-width: 230px;
  justify-self: center;
  padding: 8px;
  border-radius: 39px;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  border-radius: 31px;
  object-fit: cover;
  background: var(--surface-muted);
}

.privacy-band {
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.privacy-band > p:not(.eyebrow) {
  max-width: 800px;
  color: var(--text-muted);
}

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

.privacy-point {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface-muted);
}

.privacy-point p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.content-page {
  padding: 72px 0 96px;
}

.content-card {
  max-width: 900px;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.content-card h2 {
  margin-top: 42px;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.content-card h3 {
  margin-top: 30px;
}

.content-card p,
.content-card li {
  color: var(--text-muted);
}

.content-card strong {
  color: var(--text);
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--text);
  font-weight: 680;
}

.support-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.support-item {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.support-item h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.support-item p {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

code {
  overflow-wrap: anywhere;
  padding: 0.12em 0.35em;
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-icon {
    width: min(56vw, 290px);
  }

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

  .remote-devices {
    grid-template-columns: minmax(0, 1fr) minmax(155px, 0.36fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-nav {
    gap: 15px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    padding: 34px 24px;
  }

  .tagline {
    font-size: clamp(0.93rem, 3.5vw, 1.15rem);
  }

  .feature-grid,
  .gallery-grid,
  .privacy-points {
    grid-template-columns: 1fr;
  }

  .remote-devices {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .phone-frame {
    width: min(100%, 240px);
    justify-self: start;
  }

  .section {
    padding: 58px 0;
  }
}

@media (max-width: 480px) {
  .tagline {
    white-space: normal;
  }
}
