:root {
  --bg: #081625;
  --bg-strong: #0f2538;
  --surface: rgba(15, 33, 49, 0.76);
  --surface-strong: rgba(18, 42, 62, 0.94);
  --line: rgba(184, 213, 233, 0.14);
  --text: #eef6fb;
  --text-muted: #a6bbcb;
  --accent: #f8fbff;
  --accent-deep: #d8ebfb;
  --accent-soft: rgba(216, 235, 251, 0.12);
  --success: #8ed0b1;
  --shadow: 0 28px 80px rgba(3, 9, 16, 0.34);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: 1120px;
  --reading-width: 860px;
  --sans: "Avenir Next", "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --serif: "Iowan Old Style", "New York", "Palatino Linotype", "Book Antiqua", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 14%, rgba(178, 223, 255, 0.24), transparent 24%),
    radial-gradient(circle at 78% 9%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 50% 120%, rgba(169, 214, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #07121f 0%, var(--bg) 38%, #05101a 100%);
}

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 17, 29, 0.78);
  border-bottom: 1px solid rgba(216, 235, 251, 0.08);
}

.topbar-inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}

.brand-badge {
  width: 42px;
  height: 42px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 14px;
  background: center / cover no-repeat url("./assets/lockeep-app-icon.webp");
  box-shadow: 0 14px 28px rgba(7, 18, 31, 0.28);
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.topnav a {
  position: relative;
}

.topnav a:not(.nav-cta).is-active,
.topnav a:not(.nav-cta)[aria-current="page"] {
  color: var(--text);
  font-weight: 800;
}

.topnav a:not(.nav-cta).is-active::after,
.topnav a:not(.nav-cta)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.topnav .nav-cta {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(216, 235, 251, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.topnav .nav-cta:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
}

.topnav .nav-cta.is-disabled {
  cursor: default;
  opacity: 0.68;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.panel,
.legal-card,
.faq-card,
.notice-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.hero-card {
  padding: 42px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.page-title {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.page-subtitle {
  max-width: 44rem;
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  color: #07131f;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(220, 236, 249, 0.94) 100%);
  box-shadow: 0 18px 36px rgba(180, 218, 245, 0.18);
}

.button-secondary {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 235, 251, 0.16);
}

.button:hover,
.button-secondary:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button.is-disabled,
.button-secondary.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.hero-side {
  padding: 32px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.metric {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(216, 235, 251, 0.08);
}

.metric-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(191, 214, 229, 0.72);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
  color: var(--text);
}

.section {
  padding: 24px 0 52px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.15;
}

.section-note {
  margin: 0;
  max-width: 34rem;
  color: var(--text-muted);
}

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

.panel {
  padding: 26px;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.panel p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.list,
.legal-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

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

.hero-card--brand {
  position: relative;
  overflow: hidden;
}

.hero-card--brand::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 228, 252, 0.22) 0%, rgba(197, 228, 252, 0) 72%);
  pointer-events: none;
}

.hero-card--brand .hero-kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 999px;
  background: center / cover no-repeat url("./assets/lockeep-app-icon.webp");
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

.hero-logo-stage {
  margin-top: 34px;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.hero-logo-mark {
  width: min(100%, 280px);
  aspect-ratio: 1;
  border-radius: 32px;
  background: center / cover no-repeat url("./assets/lockeep-app-icon.webp");
  box-shadow:
    0 26px 52px rgba(5, 12, 20, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.page-hero .page-shell {
  width: min(calc(100% - 32px), var(--reading-width));
}

.legal-layout {
  width: min(calc(100% - 32px), var(--reading-width));
  margin: 0 auto 56px;
}

.legal-card {
  padding: 34px 30px;
  margin-bottom: 18px;
}

.legal-card h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.legal-card p {
  margin: 0 0 14px;
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.notice-card {
  margin: 26px auto 0;
  width: min(calc(100% - 32px), var(--reading-width));
  padding: 20px 22px;
  border-left: 5px solid var(--accent);
}

.notice-card p {
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-card {
  padding: 24px;
}

.faq-card h3 {
  margin: 0 0 10px;
}

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

.footer {
  padding: 22px 0 44px;
  color: var(--text-muted);
}

.footer-inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 235, 251, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  max-width: 260px;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-group {
  min-width: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-group h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.3;
}

.footer-group a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-group a:hover {
  color: var(--accent-deep);
}

.home-page {
  --home-bg: #f6fbf8;
  --home-ink: #14211f;
  --home-muted: #5b6c68;
  --home-line: rgba(31, 56, 52, 0.12);
  --home-surface: rgba(255, 255, 255, 0.86);
  --home-mint: #d8f3e7;
  --home-blue: #dceef8;
  --home-warm: #fff3d8;
  --home-shadow: 0 28px 80px rgba(21, 43, 39, 0.14);
  color: var(--home-ink);
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(216, 243, 231, 0.78), transparent 34%),
    linear-gradient(225deg, rgba(220, 238, 248, 0.82), transparent 38%),
    linear-gradient(180deg, #fbfefc 0%, var(--home-bg) 42%, #edf7f2 100%);
}

.home-page a {
  color: #185f75;
}

.home-topbar {
  background: rgba(249, 253, 251, 0.82);
  border-bottom: 1px solid rgba(31, 56, 52, 0.1);
}

.home-topbar .brand-mark {
  color: var(--home-ink);
}

.home-topbar .topnav a {
  color: var(--home-muted);
  font-weight: 700;
}

.home-topbar .topnav a:not(.nav-cta).is-active,
.home-topbar .topnav a:not(.nav-cta)[aria-current="page"] {
  color: var(--home-ink);
}

.home-topbar .topnav a:hover {
  color: var(--home-ink);
}

.home-topbar .topnav .nav-cta {
  color: #173c35;
  border-color: rgba(23, 60, 53, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.product-hero {
  min-height: calc(100vh - 80px);
  padding: 74px 0 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.product-hero-copy {
  max-width: 620px;
  min-width: 0;
}

.product-kicker,
.feature-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(41, 104, 91, 0.16);
  border-radius: 8px;
  color: #276455;
  background: rgba(216, 243, 231, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
}

.product-hero h1 {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7.2vw, 6.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.product-hero-line {
  margin: 0;
  color: #203631;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.28;
  font-weight: 600;
}

.product-hero-body {
  max-width: 36rem;
  margin: 22px 0 0;
  color: var(--home-muted);
  font-size: 1.12rem;
  overflow-wrap: anywhere;
}

.product-cta-row {
  margin-top: 30px;
}

.home-page .button,
.home-page .button-secondary {
  min-height: 50px;
  border-radius: 8px;
}

.home-primary-button {
  color: #f8fffc;
  background: #173c35;
  box-shadow: 0 18px 42px rgba(23, 60, 53, 0.18);
}

.home-primary-button:hover {
  background: #0f2c27;
}

.home-secondary-button {
  color: #173c35;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(23, 60, 53, 0.16);
}

.home-primary-button.is-disabled,
.home-secondary-button.is-disabled,
.home-topbar [data-app-store-link].is-disabled {
  cursor: default;
  opacity: 0.68;
}

.home-primary-button.is-disabled {
  color: #f8fffc;
  background: #486d66;
  opacity: 1;
}

.hero-phone-stage {
  position: relative;
  min-height: min(720px, 74vw);
  width: 100%;
  overflow: visible;
}

.phone-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #0f1717;
  box-shadow: var(--home-shadow);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-shot-main {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 3;
  width: min(42vw, 330px);
  transform: translateX(-50%);
}

.phone-shot-back {
  position: absolute;
  top: 56px;
  width: min(34vw, 260px);
  opacity: 0.92;
}

.phone-shot-calendar {
  left: 0;
  transform: rotate(-7deg);
}

.phone-shot-night {
  right: 2%;
  transform: rotate(7deg);
}

.home-section {
  padding: 76px 0;
}

.home-section-header {
  max-width: 760px;
  margin-bottom: 26px;
}

.home-section-header h2,
.split-copy h2,
.privacy-copy h2,
.support-band h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.home-section-header p,
.split-copy p,
.privacy-copy p,
.support-band p {
  max-width: 44rem;
  margin: 16px 0 0;
  color: var(--home-muted);
  font-size: 1.08rem;
}

.feature-section {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.feature-panel {
  min-height: 560px;
  padding: 24px 24px 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: 0 18px 48px rgba(31, 56, 52, 0.1);
}

.feature-panel-large {
  background:
    linear-gradient(145deg, rgba(216, 243, 231, 0.88), rgba(255, 255, 255, 0.88)),
    var(--home-surface);
}

.feature-copy h3 {
  margin: 14px 0 8px;
  color: var(--home-ink);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

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

.feature-panel img {
  width: 278px;
  max-width: 100%;
  aspect-ratio: 699 / 1520;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  align-self: end;
  justify-self: center;
  margin-top: 22px;
  filter: drop-shadow(0 22px 28px rgba(20, 42, 38, 0.16));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--home-muted);
  list-style: none;
}

.clean-list li {
  padding: 14px 16px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.single-phone-wrap {
  display: flex;
  justify-content: center;
}

.single-phone {
  width: min(72vw, 318px);
}

.privacy-section {
  background:
    linear-gradient(135deg, rgba(23, 60, 53, 0.94), rgba(12, 31, 36, 0.94)),
    #173c35;
  color: #eef8f4;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.privacy-section .eyebrow,
.privacy-section a {
  color: #bcebd7;
}

.privacy-copy h2 {
  color: #f8fffc;
}

.privacy-copy p {
  color: rgba(238, 248, 244, 0.78);
}

.privacy-content {
  min-width: 0;
}

.privacy-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.privacy-points article {
  padding: 18px;
  border: 1px solid rgba(238, 248, 244, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.privacy-points h3 {
  margin: 0 0 6px;
  color: #f8fffc;
}

.privacy-points p {
  margin: 0;
  color: rgba(238, 248, 244, 0.74);
}

.privacy-phone {
  width: min(100%, 260px);
  justify-self: center;
}

.compact-header {
  max-width: 850px;
  margin-bottom: 42px;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.strip-shot {
  width: min(100%, 310px);
  justify-self: center;
}

.support-section {
  padding-top: 42px;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.home-page .panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--home-line);
  box-shadow: 0 18px 48px rgba(31, 56, 52, 0.1);
}

.home-page .panel h3 {
  color: var(--home-ink);
}

.home-page .panel p {
  color: var(--home-muted);
}

.home-footer {
  color: var(--home-muted);
}

.home-footer .footer-inner {
  border-top-color: var(--home-line);
}

.home-page .footer-group h2 {
  color: var(--home-ink);
}

.home-page .footer-brand p,
.home-page .footer-group a {
  color: var(--home-muted);
}

.home-page .footer-group a:hover {
  color: #185f75;
}

@media (max-width: 920px) {
  .hero-grid,
  .card-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .hero-card,
  .hero-side,
  .panel,
  .legal-card,
  .faq-card {
    padding: 24px;
  }

  .topbar-inner {
    align-items: start;
    flex-direction: column;
  }

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

  .product-hero-grid,
  .feature-grid,
  .split-section,
  .privacy-grid,
  .support-band,
  .screenshot-strip {
    grid-template-columns: 1fr;
  }

  .hero-phone-stage {
    min-height: 580px;
    overflow: hidden;
  }

  .phone-shot-main {
    width: min(64vw, 300px);
  }

  .phone-shot-back {
    width: min(44vw, 210px);
  }

  .feature-panel {
    min-height: 0;
  }

  .feature-panel img {
    width: min(62%, 240px);
  }

  .privacy-phone,
  .strip-shot {
    width: min(72vw, 300px);
  }

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

@media (max-width: 560px) {
  .home-topbar .topnav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .product-hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 14vw, 3.8rem);
    overflow-wrap: anywhere;
  }

  .product-hero-line {
    font-size: 1.18rem;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .product-hero-copy,
  .product-hero-line,
  .product-hero-body {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .product-hero-body {
    word-break: break-all;
  }

  .product-hero-body,
  .home-section-header p,
  .split-copy p,
  .privacy-copy p,
  .support-band p {
    font-size: 1rem;
  }

  .hero-phone-stage {
    min-height: 500px;
  }

  .phone-shot-main {
    width: min(72vw, 270px);
  }

  .phone-shot-back {
    top: 76px;
    width: min(45vw, 165px);
  }

  .phone-shot-calendar {
    left: 0;
  }

  .phone-shot-night {
    right: 0;
  }

  .home-section {
    padding: 56px 0;
  }

  .feature-panel,
  .support-band {
    padding: 20px;
  }

  .feature-panel img {
    width: min(72%, 220px);
  }

}
