:root {
  color-scheme: light;
  --bg: #f8f5ee;
  --ink: #161616;
  --muted: #5d625d;
  --card: #ffffff;
  --line: #e4ded3;
  --accent: #f4bd3b;
  --accent-ink: #4a3200;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  font-size: 24px;
  font-weight: 750;
  text-decoration: none;
}

.brand span {
  color: #1f73ff;
}

.links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 76px;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 10px 0 18px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 40px 0 12px;
  font-size: 28px;
  line-height: 1.1;
}

h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.lead {
  max-width: 620px;
  font-size: 20px;
}

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

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

.button.secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

.phone {
  justify-self: center;
  width: min(330px, 100%);
  padding: 18px;
  border-radius: 38px;
  background: #202426;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.screen {
  min-height: 560px;
  border-radius: 28px;
  padding: 42px 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(180deg, #dce8ef, #f3c94f 54%, #f7f0dc);
}

.time {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 54px;
  font-weight: 700;
  text-align: center;
}

.widget {
  border-radius: 18px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.widget .small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widget .term {
  margin: 5px 0 2px;
  font-size: 24px;
  font-weight: 800;
}

.widget .meaning {
  color: var(--muted);
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 0 56px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.card strong {
  display: block;
  margin-bottom: 8px;
}

.doc {
  max-width: 780px;
  padding: 36px 0 76px;
}

.doc h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    padding-top: 28px;
  }
}
