:root {
  color-scheme: light;
  --ink: #182029;
  --muted: #536171;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --line: #d9dfd8;
  --teal: #0f766e;
  --teal-dark: #124f4a;
  --coral: #d84a3a;
  --amber: #d59a21;
  --violet: #6d5bd0;
  --shadow: 0 20px 70px rgba(24, 32, 41, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 32, 41, 0.08);
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 68px));
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(247, 248, 244, 0.96) 0%, rgba(247, 248, 244, 0.84) 46%, rgba(247, 248, 244, 0.28) 100%),
    linear-gradient(135deg, #f7f8f4 0%, #e4f1ed 46%, #f8e5d2 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(247, 248, 244, 0), var(--paper));
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: min(780px, calc(100vh - 68px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.hero-copy {
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #2f3a45;
  font-size: clamp(1.1rem, 2vw, 1.36rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(24, 32, 41, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-shot {
  position: absolute;
  top: 52px;
  right: max(20px, calc((100vw - 1120px) / 2));
  z-index: 1;
  width: min(38vw, 390px);
  min-width: 260px;
  transform: rotate(5deg);
  filter: drop-shadow(var(--shadow));
}

.phone-mockup {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 610px;
  padding: 24px 18px;
  border: 1px solid rgba(24, 32, 41, 0.1);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 244, 0.96)),
    #fff;
  color: var(--ink);
}

.phone-status,
.phone-toolbar,
.phone-segments,
.phone-panel {
  border: 1px solid rgba(24, 32, 41, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 20px 20px 10px 10px;
  color: #2f3a45;
  font-size: 0.88rem;
  font-weight: 800;
}

.phone-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 0.96rem;
}

.menu-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.phone-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.phone-segments span {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(24, 32, 41, 0.08);
  border-radius: 12px;
  text-align: center;
}

.phone-segments .selected {
  border-color: rgba(15, 118, 110, 0.18);
  background: #e4f1ed;
  color: var(--teal-dark);
}

.phone-panel {
  padding: 20px;
  border-radius: 22px;
}

.phone-panel.accent {
  background: #fff8eb;
}

.phone-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.phone-panel h2 {
  font-size: 1.55rem;
  line-height: 1.12;
}

.phone-panel p:not(.phone-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: #ffffff;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.feature {
  min-height: 212px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.mark.teal {
  background: var(--teal);
}

.mark.coral {
  background: var(--coral);
}

.mark.amber {
  background: var(--amber);
}

.mark.violet {
  background: var(--violet);
}

.feature p,
.policy-list p,
.plain-page p,
.plain-page li {
  color: var(--muted);
}

.feature p {
  margin: 12px 0 0;
}

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

.policy-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: #ffffff;
}

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

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

.plain-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.plain-page h1 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.plain-page h2 {
  margin-top: 42px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.plain-page p,
.plain-page li {
  font-size: 1rem;
}

.plain-page a {
  color: var(--teal-dark);
  font-weight: 700;
}

.meta {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 860px) {
  .nav {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 0 24px;
  }

  .hero-shot {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(74vw, 330px);
    margin: 0 auto;
    transform: rotate(2deg);
    z-index: 3;
  }

  .phone-mockup {
    min-height: 560px;
  }

  .section-heading,
  .feature-grid,
  .policy-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-shot {
    width: min(78vw, 280px);
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .feature {
    min-height: auto;
  }
}
