:root {
  --ink: #352e4e;
  --muted: #706985;
  --purple: #7656cf;
  --purple-dark: #5b3fb0;
  --lavender: #e9e2fb;
  --cream: #fffaf1;
  --yellow: #ffd86a;
  --mint: #d9f2e8;
  --coral: #ff9775;
  --white: #ffffff;
  --line: rgba(53, 46, 78, 0.13);
  --shadow: 0 26px 70px rgba(76, 55, 130, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 12px;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a,
.footer-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover,
.policy-content a:hover {
  color: var(--purple);
}

.nav-contact {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) 88px;
  background:
    radial-gradient(circle at 10% 90%, rgba(255, 216, 106, 0.5), transparent 25%),
    linear-gradient(135deg, #f3edff 0%, #e8dfff 52%, #ddd0ff 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 23px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--purple);
  box-shadow: 0 12px 30px rgba(91, 63, 176, 0.25);
}

.button.primary:hover {
  background: var(--purple-dark);
}

.button.secondary {
  border: 1px solid rgba(91, 63, 176, 0.2);
  background: rgba(255, 255, 255, 0.58);
}

.availability {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-stage {
  position: relative;
  min-height: 540px;
}

.phone {
  position: absolute;
  width: 290px;
  border: 9px solid var(--white);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-front {
  z-index: 2;
  top: 0;
  left: 22%;
  transform: rotate(2.5deg);
}

.phone-back {
  top: 56px;
  left: 56%;
  transform: rotate(9deg);
}

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape-one {
  width: 150px;
  height: 150px;
  top: 15px;
  left: 2%;
  background: var(--yellow);
}

.shape-two {
  width: 105px;
  height: 105px;
  right: -10px;
  bottom: 30px;
  background: var(--coral);
}

.about {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
}

.about > div:first-child {
  max-width: 720px;
}

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

.feature-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
}

.feature-grid article:nth-child(2) {
  background: var(--mint);
}

.feature-grid article:nth-child(3) {
  background: #fff0c4;
}

.feature-number {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--purple);
  font-weight: 900;
}

.feature-grid p,
.support p,
.policy-content p {
  color: var(--muted);
}

.support {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 100px;
  padding: 52px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 38px;
  border-radius: 34px;
  color: var(--white);
  background: var(--purple);
}

.support > div {
  max-width: 650px;
}

.support .eyebrow,
.support p {
  color: #e9e1ff;
}

.support h2,
.support p {
  margin-bottom: 10px;
}

.button.light {
  color: var(--purple-dark);
  background: var(--white);
}

footer {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

.footer-links {
  justify-content: end;
}

.policy-page {
  background: linear-gradient(180deg, var(--lavender) 0, var(--lavender) 410px, var(--cream) 410px);
}

.policy-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 60px auto 100px;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  align-items: start;
}

.policy-intro {
  position: sticky;
  top: 36px;
}

.policy-intro h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.policy-intro > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
}

.updated {
  font-size: 0.9rem;
}

.policy-content {
  padding: 22px 48px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(76, 55, 130, 0.11);
}

.policy-content section {
  padding: 30px 0 24px;
  border-bottom: 1px solid var(--line);
}

.policy-content section:last-child {
  border-bottom: 0;
}

.policy-content h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

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

.policy-content a {
  color: var(--purple-dark);
  font-weight: 800;
}

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

  .phone-stage {
    min-height: 600px;
  }

  .phone-front {
    left: 8%;
  }

  .phone-back {
    left: auto;
    right: 8%;
  }

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

  .policy-intro {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header,
  footer,
  .about,
  .support,
  .policy-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 74px;
  }

  nav {
    gap: 10px;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-inline: 20px;
    padding-bottom: 55px;
    gap: 38px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .phone-stage {
    min-height: 430px;
  }

  .phone {
    width: 215px;
    border-width: 7px;
    border-radius: 28px;
  }

  .phone-front {
    left: 0;
  }

  .phone-back {
    top: 45px;
    right: 0;
  }

  .about {
    padding: 76px 0;
  }

  .feature-grid article {
    min-height: 210px;
  }

  .feature-number {
    margin-bottom: 28px;
  }

  .support {
    margin-bottom: 70px;
    padding: 34px 24px;
  }

  .button.light {
    width: 100%;
    word-break: break-word;
  }

  footer {
    padding: 28px 0;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-content: center;
  }

  .policy-page {
    background: linear-gradient(180deg, var(--lavender) 0, var(--lavender) 520px, var(--cream) 520px);
  }

  .policy-shell {
    margin-top: 45px;
    gap: 38px;
  }

  .policy-content {
    padding: 10px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
