:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-strong: #fffdf7;
  --ink: #111111;
  --muted: #5f5b53;
  --line: rgba(17, 17, 17, 0.13);
  --green: #437b54;
  --blue: #466c88;
  --clay: #9b5f45;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(24, 21, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
}

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

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 94px) 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 690px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.93;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  font-weight: 720;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.product-panel {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 18%, rgba(67, 123, 84, 0.16), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(155, 95, 69, 0.14), transparent 34%),
    var(--paper-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone {
  position: absolute;
  inset: 42px 34px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 38px;
  background: #111111;
  padding: 20px;
  color: #f7f5ef;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.phone-logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #f7f5ef;
  display: grid;
  place-items: center;
}

.phone-logo img {
  width: 24px;
  height: 24px;
}

.avatar-chip {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f7f5ef;
  color: #111111;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.phone h2 {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 18px;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hobby-tile {
  min-height: 98px;
  border-radius: 22px;
  padding: 12px;
  background: #f7f5ef;
  color: #111111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 720;
}

.hobby-tile span {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: block;
}

.green {
  background: var(--green);
}

.blue {
  background: var(--blue);
}

.clay {
  background: var(--clay);
}

.ink {
  background: #111111;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin-bottom: 20px;
}

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

.note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.64);
  padding: 20px;
}

.note h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.note p,
.legal p,
.legal li {
  color: var(--muted);
}

.legal {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 72px;
}

.legal h1 {
  font-size: clamp(44px, 7vw, 70px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal ul {
  padding-left: 22px;
}

.contact-box {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: auto auto 0;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer nav {
  display: flex;
  gap: 14px;
}

@media (max-width: 760px) {
  .topbar,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    width: min(100% - 24px, 1120px);
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .product-panel {
    min-height: 360px;
    border-radius: 28px;
  }

  .phone {
    inset: 26px 18px;
  }

  .section,
  .legal {
    width: min(100% - 24px, 1120px);
  }

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

  .footer {
    flex-direction: column;
  }
}
