:root {
  color-scheme: light;
  --ink: #161822;
  --muted: #5e6471;
  --line: #dfe2e8;
  --paper: #f5f6f8;
  --surface: #ffffff;
  --violet: #7047eb;
  --violet-dark: #4d2fb3;
  --blue: #2468d8;
  --green: #147b63;
  --yellow: #f2c84b;
  --shadow: 0 24px 70px rgba(19, 24, 40, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 60px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 226, 232, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav a {
  padding: 9px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: #eef0f4;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(70px, 10vw, 130px) clamp(22px, 7vw, 110px) clamp(70px, 9vw, 110px);
  color: #fff;
  background: #141620 url("assets/peregra-present.png") center 30% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 23, 0.94) 0%, rgba(12, 14, 23, 0.78) 42%, rgba(12, 14, 23, 0.24) 75%, rgba(12, 14, 23, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow,
.kicker {
  margin: 0 0 15px;
  color: #8563f2;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #d8ccff; }

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.2;
}

.lede {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}

.button.glass {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
}

.button.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.availability {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.intro-band {
  padding: clamp(50px, 7vw, 88px) clamp(22px, 6vw, 90px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(22px, 6vw, 90px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid,
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.intro-copy {
  margin: 8px 0 0;
  color: #3f4551;
  font-size: clamp(18px, 2vw, 24px);
}

.feature-band { background: #eceef3; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d4d8e0;
  border-radius: 8px;
  background: #d4d8e0;
}

.feature {
  min-height: 290px;
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
}

.feature-number {
  display: block;
  margin-bottom: 56px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.feature p,
.showcase-copy p,
.trust-points p,
.contact-inner p {
  color: var(--muted);
}

.product-showcase {
  padding: clamp(64px, 9vw, 118px) clamp(22px, 5vw, 74px) 0;
  overflow: hidden;
  background: #171923;
  color: #fff;
}

.showcase-copy {
  max-width: 820px;
  margin-bottom: 46px;
}

.showcase-copy p { max-width: 700px; color: #c8cbd3; font-size: 19px; }

.app-frame {
  width: min(1320px, 100%);
  margin: 0 auto;
  border: 10px solid #30333e;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 -22px 70px rgba(0, 0, 0, 0.35);
}

.app-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.trust-band { background: #fff; }

.trust-points {
  display: grid;
  gap: 22px;
}

.trust-points p {
  margin-bottom: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.text-link {
  color: var(--violet-dark);
  font-weight: 850;
  text-decoration: none;
}

.contact-band {
  padding: clamp(54px, 7vw, 84px) clamp(22px, 6vw, 90px);
  background: #f2c84b;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-inner h2 { max-width: 730px; }

.contact-inner p { margin-bottom: 0; color: #514818; font-size: 18px; }

.page-main {
  min-height: calc(100vh - 180px);
  padding: clamp(44px, 7vw, 82px) clamp(20px, 6vw, 90px);
}

.document {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(22, 24, 34, 0.07);
}

.document h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.98;
}

.document h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.document h3 { margin-top: 22px; font-size: 18px; }

.document section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.document li { margin-bottom: 9px; }

.document a { color: var(--violet-dark); }

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

.notice {
  margin: 26px 0;
  padding: 18px;
  border-left: 4px solid var(--violet);
  background: #f2efff;
}

.site-footer {
  padding: 34px clamp(22px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-inner > div:first-child {
  display: grid;
  gap: 2px;
}

.footer-inner strong { color: var(--ink); }

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

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

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .nav { overflow-x: auto; justify-content: flex-start; padding-bottom: 3px; }
  .nav a { white-space: nowrap; }
  .hero { min-height: 760px; background-position: 60% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(12, 14, 23, 0.74) 0%, rgba(12, 14, 23, 0.95) 78%); }
  .intro-grid,
  .trust-grid,
  .feature-grid { grid-template-columns: 1fr; }
  .feature-number { margin-bottom: 28px; }
  .feature { min-height: auto; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { flex-direction: column; gap: 8px; }
  .hero { min-height: 680px; padding-bottom: 54px; }
  h1 { font-size: 58px; }
  .actions .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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