:root {
  --background: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #111827;
  --muted: #667085;
  --line: rgba(74, 92, 122, 0.16);
  --blue: #078df5;
  --blue-dark: #006bc7;
  --sun: #ff9f2f;
  --moon: #7a79d9;
  --shadow: 0 24px 70px rgba(50, 74, 110, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 4%, rgba(7, 141, 245, 0.13), transparent 29rem),
    radial-gradient(circle at 4% 40%, rgba(255, 159, 47, 0.09), transparent 25rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header,
.hero,
.intro,
.feature-grid,
.time-explorer,
.screens,
.privacy,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img,
.footer-brand img {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(38, 80, 126, 0.18);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
nav a:focus-visible { color: var(--blue-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.58fr);
  align-items: center;
  gap: clamp(46px, 8vw, 112px);
  min-height: 750px;
  padding: 48px 0 110px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: -0.068em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5.3vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 760;
  transition: transform 160ms ease;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #29b0ff, var(--blue));
  box-shadow: 0 16px 42px rgba(7, 141, 245, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.highlights li::before {
  margin-right: 7px;
  color: var(--blue);
  content: "✓";
}

.app-preview {
  width: min(290px, 100%);
  aspect-ratio: 900 / 1956;
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.app-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro {
  max-width: 900px;
  padding: 88px 0 52px;
  text-align: center;
}

.intro p:last-child {
  max-width: 710px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 100px;
}

.feature-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 38px rgba(53, 78, 111, 0.07);
}

.feature-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-number {
  display: block;
  margin-bottom: 64px;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.15em;
}

.feature-grid article:nth-child(2) .feature-number { color: var(--moon); }
.feature-grid article:nth-child(3) .feature-number { color: var(--sun); }

.time-explorer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(48px, 8vw, 82px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 159, 47, 0.12), transparent 18rem),
    var(--surface);
  box-shadow: 0 18px 48px rgba(53, 78, 111, 0.08);
}

.time-explorer h2 { margin-bottom: 0; }
.time-explorer > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: clamp(30px, 7vw, 80px);
  padding: 110px 0 30px;
}

.screens figure { margin: 0; text-align: center; }

.screens img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 1956;
  border: 1px solid var(--line);
  border-radius: 32px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.screens figcaption {
  max-width: 260px;
  margin: 20px auto 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(32px, 7vw, 100px);
  padding: 110px 0;
}

.privacy-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.privacy-copy p:last-child { margin-bottom: 0; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer p { margin: 0; }

@media (max-width: 880px) {
  .hero,
  .time-explorer,
  .privacy { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding-top: 58px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions,
  .highlights { justify-content: center; }
  .app-preview { width: min(270px, 100%); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 190px; }
  .feature-number { margin-bottom: 34px; }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .intro,
  .feature-grid,
  .time-explorer,
  .screens,
  .privacy,
  footer {
    width: min(100% - 28px, 1160px);
  }

  .brand span { display: none; }
  nav { gap: 14px; font-size: 0.82rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .app-preview { width: min(250px, 100%); border-radius: 28px; }
  .time-explorer { padding: 42px 28px; text-align: center; }

  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .screens img { border-radius: 22px; }
  .screens figcaption { font-size: 0.84rem; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
