:root {
  color-scheme: light;
  --ink: #18203c;
  --muted: #66708e;
  --blue: #3b54d4;
  --blue-dark: #273cae;
  --blue-soft: #eef1ff;
  --line: #dfe4f2;
  --surface: #ffffff;
  --cream: #f8f7f3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); }
a { color: inherit; text-decoration: none; }

.site-header, footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 760; letter-spacing: -.04em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.header-link { color: var(--muted); font-size: 14px; font-weight: 700; }
.header-link:hover, footer a:hover { color: var(--blue); }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 42px;
  padding: 36px 0 96px;
}
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; margin: 0 0 18px; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 790; letter-spacing: -.07em; line-height: .99; }
h1 { max-width: 710px; font-size: clamp(64px, 7.3vw, 106px); }
h2 { font-size: clamp(44px, 5.2vw, 72px); }
.hero-text { max-width: 590px; margin: 28px 0 34px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; font-weight: 650; }
.button { display: inline-flex; padding: 15px 22px; border-radius: 14px; color: #fff; background: var(--blue); font-size: 15px; font-weight: 760; box-shadow: 0 12px 26px rgba(59,84,212,.2); transition: transform .2s, background .2s; }
.button:hover { background: var(--blue-dark); transform: translateY(-2px); }

.hero-visual { position: relative; display: grid; min-height: 600px; place-items: center; isolation: isolate; }
.glow { position: absolute; border-radius: 50%; filter: blur(1px); z-index: -1; }
.glow-one { width: 480px; height: 480px; background: #e2e6ff; }
.glow-two { right: 10%; bottom: 8%; width: 180px; height: 180px; background: #ffebc7; }
.phone { width: 288px; min-height: 572px; padding: 17px 18px 22px; border: 8px solid #202947; border-radius: 39px; background: #fbfcff; box-shadow: 0 28px 54px rgba(35,45,82,.24); transform: rotate(4deg); }
.phone-bar { width: 78px; height: 6px; margin: 0 auto 32px; border-radius: 20px; background: #202947; }
.app-heading, .dog-card-top, .task { display: flex; align-items: center; }
.app-heading { justify-content: space-between; margin-bottom: 22px; }
.app-heading small, .app-heading strong, .dog-card small, .dog-card strong, .task small, .task strong { display: block; }
.app-heading small, .dog-card small, .task small { color: var(--muted); font-size: 10px; }
.app-heading strong { margin-top: 3px; font-size: 24px; letter-spacing: -.06em; }
.avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: #f3af67; font-weight: 800; }
.dog-card { padding: 16px; border-radius: 17px; color: #fff; background: var(--blue); }
.dog-card img { width: 36px; height: 36px; margin-right: 10px; border-radius: 11px; }
.dog-card strong { margin-top: 4px; font-size: 17px; }
.dog-card small { color: #d7ddff; }
.progress { height: 5px; margin-top: 17px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.25); }
.progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: #fff; }
.app-label { margin: 25px 0 10px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.task { gap: 11px; margin-top: 9px; padding: 12px; border: 1px solid #edf0f8; border-radius: 13px; background: #fff; }
.task strong { margin-bottom: 3px; font-size: 12px; }
.task-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #fff; background: #5c74df; font-size: 14px; font-weight: 800; }
.task-icon-light { color: var(--blue); background: var(--blue-soft); }

.features { padding: 112px max(24px, calc((100vw - 1180px) / 2)); background: var(--surface); }
.section-heading { max-width: 770px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 58px; }
.feature-grid article { padding: 30px 27px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.feature-grid span { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h3 { margin: 37px 0 10px; font-size: 21px; letter-spacing: -.04em; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.closing { width: min(780px, calc(100% - 48px)); margin: 0 auto; padding: 132px 0; text-align: center; }
.closing img { width: 64px; height: 64px; margin-bottom: 23px; border-radius: 18px; }
.closing p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 17px; }
footer { min-height: 92px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); font-size: 17px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
footer div { display: flex; gap: 18px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; text-align: center; }
  .hero-text { margin-right: auto; margin-left: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 560px; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (min-width: 821px) and (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .site-header, footer, .hero { width: min(100% - 32px, 1180px); }
  .header-link { display: none; }
  .hero { padding-top: 48px; }
  h1 { font-size: 61px; }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-visual { min-height: 510px; }
  .glow-one { width: 340px; height: 340px; }
  .phone { width: 250px; min-height: 500px; transform: rotate(3deg) scale(.94); }
  .features { padding-top: 82px; padding-bottom: 82px; }
  h2 { font-size: 47px; }
  .closing { padding: 96px 0; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; padding: 19px 0; }
  footer div { flex-wrap: wrap; gap: 10px 16px; }
}
