:root {
  color-scheme: light;
  --ink: #19242d;
  --muted: #64717b;
  --line: #dce5e8;
  --surface: rgba(255, 255, 255, 0.88);
  --accent: #167d89;
  --accent-dark: #0c5f69;
  --wash: #edf8f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: #f8fbfb; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(93, 202, 195, 0.2), transparent 28rem),
    radial-gradient(circle at 5% 65%, rgba(88, 151, 193, 0.13), transparent 24rem),
    #f8fbfb;
  line-height: 1.72;
}

.marketing-page {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 12%, rgba(26, 110, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 88% 20%, rgba(250, 64, 77, 0.1), transparent 28rem),
    linear-gradient(145deg, #f8fbff 0%, #ffffff 48%, #fff8f8 100%);
}

.marketing-header,
.marketing-footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.marketing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 0;
}

.brand-link { text-decoration: none; }

.studio-credit {
  margin-right: auto;
  border-left: 1px solid rgba(104, 122, 135, 0.28);
  padding-left: 18px;
  color: #75828c;
  font-size: 0.8rem;
  font-weight: 680;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.marketing-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.marketing-nav a {
  color: #53616c;
  font-size: 0.92rem;
  font-weight: 680;
  text-decoration: none;
}

.site-language {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(118, 139, 153, 0.25);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.66);
}

.site-language a {
  display: grid;
  min-width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 999px;
  padding: 0 7px;
  font-size: 0.72rem;
}

.site-language a[aria-current="page"] {
  color: white;
  background: #1d557d;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(52px, 8vw, 116px);
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  padding: 38px 0 76px;
}

.device-column {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
}

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

.phone-shadow {
  position: absolute;
  z-index: 0;
  right: -19%;
  bottom: -4%;
  left: 3%;
  height: 21%;
  border-radius: 50%;
  background: rgba(24, 44, 65, 0.28);
  filter: blur(30px);
  transform: rotate(-5deg);
}

.iphone-frame {
  position: relative;
  z-index: 1;
  padding: 10px;
  border: 2px solid #4a515b;
  border-radius: 58px;
  background: linear-gradient(145deg, #5b626b, #11151a 18%, #050709 75%, #383e47);
  box-shadow:
    0 45px 90px rgba(29, 49, 72, 0.24),
    inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.iphone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 47px;
  background: #000;
  aspect-ratio: 1179 / 2556;
}

.iphone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.dynamic-island {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 31%;
  height: 25px;
  border-radius: 999px;
  background: #030303;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.phone-side-button {
  position: absolute;
  left: -5px;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: #2d333a;
}

.phone-side-button-one { top: 18%; height: 45px; }
.phone-side-button-two { top: 27%; height: 72px; }
.phone-side-button-three { top: 38%; height: 72px; }

.showcase-controls {
  display: flex;
  gap: 11px;
  margin-top: 28px;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #bec9d1;
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.showcase-dot.is-active {
  width: 30px;
  border-radius: 99px;
  background: linear-gradient(90deg, #1a6eff, #fa404d);
}

.showcase-hint {
  margin: 8px 0 0;
  color: #8a969f;
  font-size: 0.78rem;
}

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

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #386276;
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.hero-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #26a989;
  box-shadow: 0 0 0 5px rgba(38, 169, 137, 0.13);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(3.15rem, 6.4vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 760px;
  margin: 0 0 15px;
  color: #52616b;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.hero-lead strong { color: #163d69; }

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

.feature-card {
  min-height: 172px;
  border: 1px solid rgba(140, 164, 179, 0.23);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(31, 59, 79, 0.06);
  backdrop-filter: blur(10px);
}

.feature-number {
  color: #1a6eff;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.feature-card h2 {
  margin: 13px 0 7px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: #64717b;
  font-size: 0.86rem;
  line-height: 1.6;
}

.care-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(230, 148, 72, 0.25);
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(255, 249, 238, 0.88);
}

.care-note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: #dc8440;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.care-note strong { color: #713d1f; }

.care-note p {
  margin: 5px 0 0;
  color: #765844;
  font-size: 0.88rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 27px;
}

.app-store-placeholder {
  display: grid;
  min-width: 164px;
  border-radius: 13px;
  padding: 8px 18px 9px;
  color: white;
  background: #101317;
  line-height: 1.05;
}

.app-store-placeholder small { font-size: 0.65rem; }
.app-store-placeholder strong { margin-top: 3px; font-size: 1.2rem; }

.text-link {
  color: #1b5688;
  font-weight: 720;
  text-decoration: none;
}

.marketing-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(130, 151, 164, 0.25);
  padding: 24px 0 34px;
  color: #7b8790;
  font-size: 0.82rem;
}

.marketing-footer a { color: inherit; }

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

.landing {
  width: min(780px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(70px, 12vh, 150px) 0 60px;
}

.lidtrack-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.lidtrack-mark {
  width: 50px;
  height: 36px;
  flex: 0 0 auto;
}

.lidtrack-wordmark {
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(90deg, #111827 0%, #1A6EFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lidtrack-logo.large {
  transform: scale(1.5);
  transform-origin: left center;
}

.landing > .lidtrack-logo { margin-bottom: 46px; }

h1 {
  margin: 0;
  max-width: 730px;
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 650px;
  margin: 30px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions,
.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.language-nav a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 17px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  font-weight: 650;
}

.button.primary,
.language-nav a[aria-current="page"] {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
}

.medical-note {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.site-header .home {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 760;
}

.language-nav a {
  padding: 7px 13px;
  font-size: 0.88rem;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(24px, 6vw, 64px);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(32, 68, 77, 0.08);
}

.policy-card h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
}

.effective-date {
  margin: 13px 0 36px;
  color: var(--muted);
}

.summary {
  margin-bottom: 38px;
  border-left: 4px solid var(--accent);
  border-radius: 4px 15px 15px 4px;
  padding: 16px 20px;
  background: var(--wash);
  font-size: 1.05rem;
}

.policy-card h2 {
  margin: 38px 0 8px;
  font-size: 1.3rem;
  line-height: 1.35;
}

.policy-card p,
.policy-card li { color: #34444d; }

.policy-card ul { padding-left: 1.35rem; }

.footer {
  margin-top: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .policy-shell { padding-top: 20px; }
  .policy-card { border-radius: 20px; }
}

@media (max-width: 980px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-top: 48px;
  }

  .device-column { order: 2; }
  .hero-copy { order: 1; }
  .phone-stage { width: min(82vw, 330px); }
}

@media (max-width: 700px) {
  .marketing-header,
  .marketing-footer,
  .product-hero { width: min(100% - 30px, 1240px); }

  .marketing-nav { gap: 15px; }
  .studio-credit { display: none; }
  .marketing-nav > a { display: none; }
  .site-language a:first-child { display: grid; }
  .phone-shadow { right: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .marketing-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .language-nav a { transition: transform 160ms ease, box-shadow 160ms ease; }
  .button:hover, .language-nav a:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22, 125, 137, 0.12); }
}
