:root {
  color-scheme: light;
  --navy:#142741; --muted:#4e627c; --rule:#dce4ee; --yellow:#ffc42f;
  color:var(--navy); background:#fff; font:16px/1.7 system-ui,-apple-system,"Hiragino Sans","Yu Gothic",sans-serif;
}
* { box-sizing:border-box; }
body,h1,h2,p,figure { margin:0; }
a { color:inherit; }
a:focus-visible { outline:3px solid #4272ac; outline-offset:4px; }
.wrap { width:min(calc(100% - 40px),1080px); margin-inline:auto; }
.top { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--rule); }
.brand { display:inline-flex; align-items:center; gap:9px; font-weight:900; line-height:1.1; text-decoration:none; letter-spacing:.02em; }
.brand img { flex:none; }
.button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:12px; padding:9px 16px; border-radius:10px; font-size:14px; font-weight:800; text-decoration:none; }
.button.secondary { white-space:nowrap; border:1px solid #b7c8dc; }
.button.secondary:hover { background:#eff4f9; }
.button.primary { background:var(--yellow); }
.button.primary:hover { background:#f0b725; }
.hero { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(28px,6vw,64px); align-items:center; padding-block:clamp(34px,7vw,76px); }
.hero h1,.invite-card h1 { font-size:clamp(28px,5vw,53px); letter-spacing:-.06em; line-height:1.27; font-weight:850; overflow-wrap:anywhere; }
.hero-copy p,.invite-card p { color:var(--muted); font-size:clamp(15px,2vw,18px); line-height:1.85; margin-top:17px; max-width:36em; }
.actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px 22px; margin-top:24px; }
.text-link { font-size:14px; font-weight:720; text-underline-offset:4px; }
.hero-preview { background:var(--navy); border-radius:23px; display:grid; justify-items:center; gap:10px; padding:18px 13px 14px; }
.preview-frame { width:min(100%,292px); background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 14px 28px #070d1c62; }
.preview-frame img { display:block; width:100%; height:auto; }
.hero-preview figcaption { color:#e2e9f4; font-size:12px; }
.features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:24px 0 42px; border-top:1px solid var(--rule); }
.features h2 { font-size:18px; line-height:1.35; }
.features p { color:var(--muted); font-size:14px; margin-top:7px; }
.footer { border-top:1px solid var(--rule); padding-block:16px; color:var(--muted); font-size:13px; font-weight:750; }
.invite-card { padding-block:58px; }
@media(max-width:650px) {
  .wrap { width:calc(100% - 32px); }
  .top { min-height:69px; }
  .brand img { width:33px; height:33px; }
  .top .button { padding-inline:10px; font-size:12px; }
  .hero { grid-template-columns:1fr; }
  .hero-preview { width:min(100%,390px); }
  .features { grid-template-columns:1fr; gap:14px; }
}
