:root {
  color-scheme: light;
  --background: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f0f2f8;
  --text: #0e0f12;
  --muted: #5c6370;
  --tertiary: #9099a6;
  --border: #e7eaf0;
  --primary: #5b6cff;
  --primary-strong: #4556ee;
  --primary-soft: #eaedff;
  --accent: #ff8a65;
  --accent-soft: #fff0eb;
  --success: #34c759;
  --success-soft: #e9f8ed;
  --shadow: 0 22px 60px rgba(23, 28, 45, 0.11);
  --soft-shadow: 0 14px 40px rgba(23, 28, 45, 0.08);
  --radius: 24px;
  --page: min(1120px, calc(100% - 40px));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(91, 108, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfcff 0%, var(--background) 44%, #ffffff 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: var(--page);
  margin: 0 auto;
  padding: 22px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 4;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(91, 108, 255, 0.25);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a,
.back-link {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--primary);
}

.header-cta,
.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 26px rgba(23, 28, 45, 0.06);
}

.primary-button {
  padding: 0 22px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 18px 36px rgba(91, 108, 255, 0.28);
}

.secondary-button {
  padding: 0 20px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.header-cta:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-1px);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--primary-strong);
  box-shadow: 0 20px 42px rgba(91, 108, 255, 0.34);
}

.section-shell {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 44px 0 40px;
}

.hero-copy {
  max-width: 560px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 7vw, 6.8rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy > p {
  margin: 26px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.58;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
}

.hero-points div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(23, 28, 45, 0.05);
}

.hero-points dt {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 900;
  color: var(--primary);
}

.hero-points dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.hero-media {
  min-height: 650px;
  position: relative;
  display: grid;
  place-items: center;
}

.phone-frame,
.widget-frame {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(231, 234, 240, 0.9);
  box-shadow: var(--shadow);
}

.phone-frame {
  width: min(286px, 36vw);
  aspect-ratio: 1320 / 2868;
  border-radius: 34px;
}

.phone-frame img,
.widget-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-primary {
  width: min(338px, 42vw);
  transform: rotate(-5deg) translateX(-92px);
  z-index: 2;
}

.phone-secondary {
  position: absolute;
  right: 38px;
  top: 64px;
  transform: rotate(6deg);
  z-index: 1;
  opacity: 0.96;
}

.widget-frame {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: min(330px, 40vw);
  aspect-ratio: 1320 / 2868;
  border-radius: 30px;
  z-index: 3;
}

.feature-band {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 72px 0;
}

.feature-grid article {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--background);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
}

.feature-grid h2,
.showcase-card strong,
.privacy-list strong {
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 900;
}

.feature-grid h2 {
  margin: 18px 0 8px;
}

.feature-grid p,
.section-heading p,
.privacy-layout p,
.showcase-card figcaption {
  color: var(--muted);
  font-weight: 600;
}

.feature-grid p {
  margin: 0;
}

.workflow {
  padding: 86px 0 92px;
}

.section-heading {
  max-width: 670px;
  margin-bottom: 34px;
}

.section-heading h2,
.privacy-layout h2,
.policy-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.privacy-layout > div > p {
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.showcase-card {
  margin: 0;
  min-height: 100%;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 1320 / 1800;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  background: var(--background);
}

.showcase-card.tall img {
  aspect-ratio: 1320 / 2300;
}

.showcase-card figcaption {
  padding: 0 6px 8px;
}

.showcase-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.privacy-preview {
  padding: 86px 0;
  background: #11131a;
  color: #ffffff;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 52px;
  align-items: center;
}

.privacy-layout h2 {
  color: #ffffff;
}

.privacy-layout > div > p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 28px;
}

.privacy-preview .secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.privacy-list {
  display: grid;
  gap: 14px;
}

.privacy-list div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-list span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 13px;
  color: #ffffff;
  background: var(--primary);
  font-size: 0.86rem;
  font-weight: 900;
}

.privacy-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 36px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

.policy-page {
  background: linear-gradient(180deg, #fbfcff 0%, var(--background) 56%, #ffffff 100%);
}

.policy-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 88px;
}

.policy-hero {
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--primary);
  font-weight: 800;
}

.policy-hero .updated {
  margin: 16px 0 0;
  color: var(--tertiary);
  font-size: 0.98rem;
  font-weight: 800;
}

.policy-hero p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 650;
}

.policy-card {
  padding: clamp(24px, 5vw, 48px);
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
}

.policy-card h2 {
  margin: 32px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 900;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  font-weight: 600;
}

.policy-card p {
  margin: 0;
}

.policy-card a {
  color: var(--primary);
  font-weight: 800;
}

.policy-card ul {
  margin: 0;
  padding-left: 22px;
}

.policy-card li + li {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-media {
    min-height: 620px;
  }

  .phone-primary {
    transform: rotate(-4deg) translateX(-72px);
  }

  .phone-secondary {
    right: 72px;
  }

  .widget-frame {
    right: 62px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card img,
  .showcase-card.tall img {
    aspect-ratio: 1320 / 1900;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  :root {
    --page: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

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

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 5.5rem);
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 520px;
    overflow: hidden;
  }

  .phone-frame {
    width: 232px;
    border-radius: 28px;
  }

  .phone-primary {
    width: 270px;
    transform: rotate(-4deg) translateX(-54px);
  }

  .phone-secondary {
    right: 0;
    top: 34px;
  }

  .widget-frame {
    width: 246px;
    right: 18px;
    bottom: 22px;
    border-radius: 26px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding: 52px 0;
  }

  .workflow,
  .privacy-preview {
    padding: 62px 0;
  }

  .section-heading h2,
  .privacy-layout h2,
  .policy-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .showcase-card {
    border-radius: 22px;
  }

  .showcase-card img,
  .showcase-card.tall img {
    aspect-ratio: 1320 / 1820;
  }

  .privacy-list div {
    padding: 20px;
  }

  .policy-shell {
    width: min(100% - 28px, 860px);
    padding-top: 38px;
  }

  .policy-card {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
