:root {
  color-scheme: light;
  --paper: #fff8ec;
  --paper-deep: #f4ead8;
  --ink: #2f241c;
  --muted: #6d5a48;
  --line: rgba(75, 54, 36, 0.16);
  --gold: #c9852f;
  --blue: #6f8fdc;
  --white: #fffdf7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 10%, rgba(111, 143, 220, 0.22), transparent 26rem),
    linear-gradient(135deg, #fff8ec 0%, #f2dfc3 48%, #dfe8ff 100%);
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

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

nav a {
  text-decoration: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 22px 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 110px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.price {
  color: var(--muted);
  font-size: 14px;
}

.phone {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 14px;
  border-radius: 42px;
  background: #221b17;
  box-shadow: 0 28px 80px rgba(47, 36, 28, 0.28);
}

.phone-screen {
  min-height: 710px;
  padding: 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, #fffaf1 0%, #f6e4c8 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.date-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cup-mark {
  width: 92px;
  height: 92px;
  margin: 54px auto 24px;
}

.cup-mark img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 24px rgba(112, 64, 31, 0.22));
}

.phone h2 {
  margin-bottom: 10px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
}

.phone p {
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

.step-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 36px 0;
}

.step-list span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.72);
  font-weight: 750;
}

button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  color: var(--white);
  background: var(--ink);
  font: inherit;
  font-weight: 800;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 52px;
}

.principles span,
.features article,
.notice {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.62);
  box-shadow: 0 16px 48px rgba(47, 36, 28, 0.08);
}

.principles span {
  padding: 16px;
  font-weight: 750;
}

.features {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 14px;
}

.features h2 {
  max-width: 360px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.02;
  font-weight: 500;
}

.features article {
  padding: 22px;
}

.features h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.features p,
.notice p,
.legal-page p {
  color: var(--muted);
  line-height: 1.62;
}

.notice {
  margin-top: 18px;
  padding: 26px;
}

.notice h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 22px 42px;
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  max-width: 760px;
  padding-top: 52px;
}

.legal-page h1 {
  font-size: clamp(42px, 8vw, 76px);
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 22px;
}

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

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .phone {
    max-width: 350px;
  }

  .phone-screen {
    min-height: 620px;
  }

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

@media (max-width: 560px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

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