@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --ink: #162333;
  --muted: #637080;
  --green: #69b88f;
  --pale: #f5f7f5;
  --line: #e8ece9;
  --white: #fff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  background: linear-gradient(180deg, #fff 0%, var(--pale) 100%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 100%); margin: auto; padding: 0 24px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #eff1ef;
  backdrop-filter: blur(12px);
}
.nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand img { width: 220px; height: 74px; object-fit: contain; }
.site-link { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s; }
.site-link:hover { color: var(--green); }
.link-page { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 64px 0; }
.link-card {
  width: min(540px, 100%);
  margin: auto;
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px 28px 4px 28px;
  box-shadow: 0 18px 55px rgba(22,35,51,.08);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kdot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1 { margin: 0 0 14px; font: 500 clamp(34px, 7vw, 52px)/1.1 var(--serif); }
.sub { max-width: 440px; margin: 0 auto 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 50px; color: var(--ink); background: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,35,51,.1); }
.btn.primary { border-color: var(--green); color: #fff; background: var(--green); }
.btn.primary:hover { background: #55a77b; }
.btn strong { font-weight: 700; }
.qr { width: 220px; height: auto; margin: 24px auto 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
footer { padding: 0 0 32px; color: var(--muted); font-size: 13px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.foot .btn { min-height: 40px; padding: 9px 18px; font-size: 13px; }
.spinner { width: 34px; height: 34px; margin: 0 auto 18px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
#fallback[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .nav { min-height: 78px; }
  .brand img { width: 174px; height: 58px; }
  .site-link { font-size: 12px; }
  .link-page { min-height: calc(100vh - 150px); padding: 36px 0; }
  .foot { align-items: flex-start; }
}
