html{
  scroll-behavior:smooth;
}

html, body { scroll-snap-type: y mandatory; }
.section { scroll-snap-align: start; }

*{box-sizing:border-box;}
html{ scroll-behavior:smooth; }
html,body{ height:100%; }

body{
    margin:0;
    font-family: Inter, sans-serif;
    background:#fafafa;
    color:#111;
    overflow-x:hidden;
}

/* Sections */
.section{
  min-height:100vh;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(22px, 4vw, 64px) 18px;
}
.section.light{ background:#fafafa; color:#111; }
.section.dark{ background:#2b2b2b; color:rgba(255,255,255,.9); }

/* ===== LOGIN PANEL ===== */
.page{
    text-align:center;
    width:100%;
    max-width:380px;
}

.brand{
    font-size:24px;
    font-weight:700;
    letter-spacing:4px;
    margin-top:0px;
    margin-left: 10px;
}

form{ display:flex; flex-direction:column; gap:12px; }

.input{
    width:100%;
    padding:18px;
    border:none;
    border-radius:14px;
    background:#efefef;
    font-size:15px;
}
.input:focus{ outline:none; background:#e8e8e8; }

.login-btn{
    width:100%;
    padding:18px;
    border:none;
    border-radius:16px;
    background:black;
    color:white;
    font-weight:600;
    font-size:16px;
    cursor:pointer;
}
.login-btn:hover{ opacity:.9; }

.forgot{
    margin-top:18px;
    font-size:14px;
    color:#777;
    text-decoration:none;
    display:inline-block;
}
.forgot:hover{ text-decoration:underline; }

.error{
    background:#fff;
    border:1px solid #eee;
    color:#b00020;
    padding:12px 14px;
    border-radius:14px;
    font-size:13px;
    margin-bottom:14px;
    text-align:left;
}

/* ===== ABOUT / CONTACT TYPOGRAPHY (minimal) ===== */
.hero{
  text-transform:uppercase;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  letter-spacing:-0.015em;
  line-height:1.07;
  font-size:clamp(34px, 4.4vw, 66px);
  color:rgba(255,255,255,.92);
  text-align:center;
  margin:0;
  text-wrap:balance;
  width:min(1100px, 92vw);
}
.sub{
  margin:clamp(18px,2.2vw,26px) auto 0;
  width:min(980px, 92vw);
  color:rgba(255,255,255,.62);
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  letter-spacing:0.02em;
  line-height:1.6;
  font-size:clamp(14px,1.35vw,18px);
  text-align:center;
  text-wrap:balance;
}
.contact-card{
  width:min(900px, 92vw);
  text-align:center;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.contact-title{
  text-transform:uppercase;
  font-weight:300;
  letter-spacing:-0.01em;
  line-height:1.08;
  font-size:clamp(28px, 3.4vw, 52px);
  color:rgba(255,255,255,.92);
  margin:0;
}
.contact-text{
  margin:clamp(14px, 1.8vw, 18px) auto 0;
  color:rgba(255,255,255,.62);
  font-weight:300;
  line-height:1.6;
  font-size:clamp(14px, 1.25vw, 18px);
}

/* ===== HAMBURGER + MENU OVERLAY ===== */
.menu-btn{
  position:fixed;
  top:18px;
  right:18px;
  width:52px;
  height:52px;
  border:none;
  background:transparent;
  border-radius:14px;
  cursor:pointer;
  z-index:130000;
  display:grid;
  place-items:center;
  padding:0;
  transition:background .16s ease, transform .16s ease;
}
.menu-btn:hover{ background:rgba(0,0,0,.06); }
.menu-btn:active{ transform:scale(.98); }

.menu-icon{
  position:relative;
  width:28px;
  height:22px;
  display:block;
}

.menu-line{
  position:absolute;
  left:0;
  width:28px;
  height:2px;
  border-radius:999px;
  display:block;
  background:rgba(0,0,0,.85);
  transform-origin:center;
  transition:
    transform .28s cubic-bezier(.4,0,.2,1),
    opacity .18s ease,
    background .2s ease;
}
.menu-line.l1{ top:0; }
.menu-line.l2{ top:10px; }
.menu-line.l3{ top:20px; }

/* Make button look right on dark sections */
body.at-dark .menu-btn:hover{ background:rgba(255,255,255,.08); }
body.at-dark .menu-line{ background:rgba(255,255,255,.92); }

.menu-overlay{
  position:fixed;
  inset:0;
  background:#2b2b2b;
  transform:translateX(100%);
  transition:transform .55s cubic-bezier(.2,.8,.2,1);
  z-index:129999;
  will-change:transform;
}
.menu-overlay.open{ transform:translateX(0); }
.menu-overlay[aria-hidden="true"]{ pointer-events:none; }

.menu-overlay.open ~ .menu-btn .menu-line{
  background:#fff;
}
.menu-overlay.open ~ .menu-btn .menu-line.l1{
  transform:translateY(10px) rotate(45deg);
}
.menu-overlay.open ~ .menu-btn .menu-line.l2{
  opacity:0;
  transform:scaleX(.2);
}
.menu-overlay.open ~ .menu-btn .menu-line.l3{
  transform:translateY(-10px) rotate(-45deg);
}

.menu-panel{
  height:100%;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:clamp(22px,4vw,60px);
  box-sizing:border-box;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.menu-item{
  text-decoration:none;
  color:rgba(255,255,255,.92);
  text-transform:uppercase;
  font-weight:300;
  letter-spacing:-0.01em;
  line-height:1.08;
  font-size:clamp(34px,4.2vw,66px);
  padding:10px 0;
  transition:opacity .12s ease, transform .12s ease;
}
.menu-item:hover{ opacity:.85; transform:translateX(4px); }

/* helper */
.anchor-pad{ scroll-margin-top:0px; }

section{
  scroll-margin-top: 90px;
}


/* ===== CONTACT FORM (minimal + secure) ===== */
.contact-form{
  margin:clamp(16px,2.2vw,22px) auto 0;
  width:min(900px, 92vw);
  text-align:left;
}
.cf-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin-top:18px;
}
@media (min-width: 740px){
  .cf-grid{ grid-template-columns: 1fr 1fr; }
}
.cf-field{ display:block; }
.cf-full{ margin-top:14px; }
.cf-label{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  color:rgba(255,255,255,.78);
  letter-spacing:0.02em;
  font-size:13px;
  text-transform:uppercase;
}
.cf-opt{ color:rgba(255,255,255,.45); font-weight:300; text-transform:none; letter-spacing:0; font-size:12px; }

.cf-input, .cf-textarea{
  width:100%;
  margin-top:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  border-radius:14px;
  padding:16px 16px;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:15px;
  outline:none;
  transition:border-color .12s ease, background .12s ease;
}
.cf-textarea{ padding:16px 16px; resize:vertical; min-height:140px; }

.cf-input:focus, .cf-textarea:focus{
  border-color:rgba(255,255,255,.30);
  background:rgba(255,255,255,.08);
}

.cf-btn{
  margin-top:16px;
  width:100%;
  border:none;
  border-radius:16px;
  padding:18px;
  background:#fff;
  color:#111;
  font-weight:600;
  font-size:16px;
  cursor:pointer;
  transition:transform .12s ease, opacity .12s ease;
}
.cf-btn:hover{ opacity:.92; }
.cf-btn:active{ transform:scale(.99); }

.cf-note{
  margin-top:14px;
  color:rgba(255,255,255,.55);
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  line-height:1.6;
  font-size:clamp(13px, 1.1vw, 15px);
}

.cf-status{
  margin-top:14px;
  min-height:22px;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:14px;
  color:rgba(255,255,255,.72);
}

.cf-status.ok{ color:rgba(255,255,255,.78); }
.cf-status.err{ color:rgba(255,255,255,.78); }

.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

img.corner-logo{
  position: fixed;
  top: 34px;
  left: 52px;
  width: 76px;
  height: auto;
  opacity: 1;
  z-index: 9999;
  pointer-events: none;
}

/* Default logo colour (light pages) */
.corner-logo{
  position: fixed;
  top: 34px;
  left: 52px;
  width: 76px;
  height: auto;
  z-index: 9999;
  pointer-events: none;

  color: #111;                 /* dark */
  transition: color 0.6s ease; /* smooth fade */
}

/* When over dark sections */
.logo-light{
  color: #e8e8e8;              /* light grey */
}

.corner-logo{
  transition: opacity .35s ease;
}

.corner-logo.is-switching{
  opacity: 0;
}

/* =========================
   HOME: MAIN REVEAL (login block)
   ========================= */
.home-main--reveal{
  opacity: 0;
  transform: translateY(14px);
  animation: homeMainReveal 700ms cubic-bezier(.2,.8,.2,1) 120ms forwards;
}
@keyframes homeMainReveal{
  to{ opacity: 1; transform: translateY(0); }
}

/* =========================
   ONBOARDING BANNER (HOME SECTION)
   ========================= */
.onboarding-banner{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 14px 18px 18px;
  pointer-events: none; /* allows arrow clicks through */
  z-index: 4;
}

.onboarding-banner__inner{
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);

  font-size: 13px;
  color: rgba(0,0,0,0.75);

  /* reveal */
  opacity: 0;
  transform: translateY(10px);
  animation: onboardingReveal 650ms cubic-bezier(.2,.8,.2,1) 520ms forwards;
}

@keyframes onboardingReveal{
  to{ opacity: 1; transform: translateY(0); }
}

.onboarding-banner__icon{
  width: 16px;
  height: 16px;
  color: rgba(0,0,0,0.55);
}
.onboarding-banner__icon svg{ width: 100%; height: 100%; display:block; }

.onboarding-banner__text strong{
  font-weight: 600;
  color: rgba(0,0,0,0.85);
}
.onboarding-banner__sub{
  margin-left: 6px;
  color: rgba(0,0,0,0.6);
}

@media (max-width: 520px){
  .onboarding-banner__inner{
    flex-direction: column;
    gap: 4px;
    text-align: center;
    border-radius: 14px;
    padding: 10px 14px;
  }
  .onboarding-banner__sub{ margin-left: 0; }
}

@media (prefers-reduced-motion: reduce){
  .home-main--reveal,
  .onboarding-banner__inner{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================
   SECTION SCROLL INDICATOR (ALL SECTIONS)
   ========================= */
.section{ position: relative; }

.scroll-indicator{
  position: absolute;
  bottom: 78px; /* leaves room for onboarding banner on Home */
  left: 50%;
  transform: translateX(-50%);

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);

  color: rgba(0,0,0,0.65);
  text-decoration: none;

  opacity: 0.85;
  transition: transform .25s ease, opacity .25s ease, background .25s ease;
  z-index: 5;
}

.scroll-indicator svg{
  width: 18px;
  height: 18px;
  display: block;
}

.scroll-indicator:hover{
  transform: translateX(-50%) translateY(-3px);
  opacity: 1;
  background: rgba(255,255,255,0.9);
}

.section.dark .scroll-indicator,
.footer-section.dark .scroll-indicator{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.78);
}

/* Hide arrow on the last section (footer) */
#footer .scroll-indicator{ display:none; }

/* Home arrow reveal + breathing */
.scroll-indicator--reveal{
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  animation:
    homeArrowReveal 650ms cubic-bezier(.2,.8,.2,1) 760ms forwards,
    arrowIdle 3.8s ease-in-out 2s infinite;
}

@keyframes homeArrowReveal{
  to{ opacity: 0.85; transform: translateX(-50%) translateY(0); }
}

@keyframes arrowIdle{
  0%   { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(6px); }
  100% { transform: translateX(-50%) translateY(0); }
}

.scroll-indicator--reveal:hover{
  transform: translateX(-50%) translateY(-3px);
}

@media (prefers-reduced-motion: reduce){
  .scroll-indicator--reveal{
    animation: homeArrowReveal 650ms ease forwards !important;
    opacity: 0.85 !important;
    transform: translateX(-50%) !important;
  }
  .scroll-indicator{ transition: none; }
}

/* =========================
   FOOTER SECTION (FULL SCREEN)
   ========================= */
.footer-section{
  background: #050505;
  color: rgba(255,255,255,0.75);

  scroll-snap-align: start;

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;
  text-align: center;
}

.footer-wrap{
  max-width: 760px;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Stagger reveal is JS-triggered via .is-visible */
.footer-wrap{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1),
              transform .6s cubic-bezier(.2,.8,.2,1);
}
.footer-wrap.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.footer-wrap > *{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1),
              transform .6s cubic-bezier(.2,.8,.2,1);
}
.footer-wrap.is-visible > *{
  opacity: 1;
  transform: translateY(0);
}
.footer-wrap.is-visible > *:nth-child(1){ transition-delay: 0ms; }
.footer-wrap.is-visible > *:nth-child(2){ transition-delay: 90ms; }
.footer-wrap.is-visible > *:nth-child(3){ transition-delay: 180ms; }
.footer-wrap.is-visible > *:nth-child(4){ transition-delay: 270ms; }

.footer-brand{
  font-size: 24px;
  letter-spacing: 3px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}

.footer-links{
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.footer-links a{
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color .25s ease;
}
.footer-links a:hover{ color: #fff; }

.footer-social{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.footer-social a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: rgba(255,255,255,0.6);
  transition: transform .25s ease, color .25s ease;
}
.footer-social svg{
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.footer-social a:hover{
  color: #fff;
  transform: translateY(-3px);
}

.footer-copy{
  font-size: 12px;
  letter-spacing: .4px;
  color: rgba(255,255,255,0.45);
}

@media (prefers-reduced-motion: reduce){
  .footer-wrap,
  .footer-wrap > *{
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 600px){
  .footer-wrap{ gap: 22px; }
  .footer-links{ gap: 20px; }
}

/* ======================================
   Corner Logo – Desktop Default
====================================== */

.corner-logo{
  position: fixed;
  top: 22px;
  left: 28px;
  width: 48px;
  height: auto;
  z-index: 1000;
  transition: opacity 200ms ease, transform 200ms ease;
}

/* ======================================
   Mobile Refinement
====================================== */

@media (max-width: 768px){

  .corner-logo{
    width: 34px;              /* smaller but still readable */
    top: 18px;
    left: 18px;

    opacity: 0.75;            /* more subtle */
  }

  .corner-logo svg{
    stroke-width: 1.6;        /* slightly thinner on mobile */
  }

  /* Optional: slight fade-in refinement */
  .corner-logo{
    transform: scale(0.96);
  }

}

@media (max-width: 768px){
  .corner-logo{
    opacity: 0.6;
  }

  .corner-logo:hover{
    opacity: 0.85;
  }
}

.team-pill{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;border:1px solid var(--line);
  border-radius:999px;background:#fff;cursor:pointer;
  font-size:12px;font-weight:600;
}
.team-pill .chev{ font-weight:700; opacity:.65; }

.team-menu{
  position:fixed;
  top:72px; right:22px;
  min-width:220px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 18px 60px rgba(0,0,0,.08);
  padding:8px;
  display:none;
  z-index:9999;
}
.team-menu.open{ display:block; }
.team-item{
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  display:flex;justify-content:space-between;gap:10px;
  font-size:12px;
}
.team-item:hover{ background:rgba(0,0,0,.04); }
.team-badge{ opacity:.55; font-weight:600; text-transform:uppercase; font-size:10px; }
.team-active{ background:rgba(0,0,0,.06); }

/* ===== Team switcher ===== */
.topbar-grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  width:min(var(--feed), 100%);
  margin:0 auto;
  gap:10px;
}
.topbar-right{
  justify-self:end;
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
}

.team-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background:var(--card);
  box-shadow:var(--shadow);
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:600;
  font-size:13px;
  color:#111;
  transition:background .12s ease, transform .12s ease, border-color .12s ease;
}
.team-pill:hover{ background:var(--hover); }
.team-pill:active{ transform:scale(.99); }
.team-pill:focus{
  outline:none;
  border-color:#d7d9de;
}

.team-pill .team-pill-label{
  max-width:220px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.team-menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:280px;
  border:1px solid var(--line);
  background:var(--card);
  border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.10);
  padding:8px;
  z-index:9999;

  /* hidden by default */
  display:none;
}

.team-menu.open{ display:block; }

.team-item{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  cursor:pointer;
  user-select:none;
}
.team-item:hover{ background:var(--hover); }

.team-item-left{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.team-item-name{
  font-weight:600;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.team-item-sub{
  font-size:12px;
  color:var(--muted);
}

.team-badge{
  font-size:11px;
  font-weight:700;
  border:1px solid var(--line);
  padding:4px 8px;
  border-radius:999px;
  color:#111;
  background:#fff;
}
.team-badge.active{
  background:#111;
  color:#fff;
  border-color:#111;
}

.team-divider{
  height:1px;
  background:var(--line);
  margin:6px 6px;
}

.team-menu-note{
  padding:8px 10px;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

.strapline{
  /* spacing */
  margin: 2px 0 10px;

  /* responsive type */
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.35;

  /* readable width on large screens */
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;

  /* style */
  color: #6F6F73;
  text-align: center;
  letter-spacing: 0.08em;
  font-weight: 400;

  /* prevent awkward wraps */
  text-wrap: balance; /* supported in modern browsers */
}

/* Small screens: slightly tighter spacing + letter spacing */
@media (max-width: 420px){
  .strapline{
    margin: 6px 0 18px;
    letter-spacing: 0.06em;
    max-width: 24ch;
  }
}

img{
  margin-bottom: 4px;
}

.strapline{
  margin-top: 0;
  margin-bottom: 18px;
}

.nav-btn{
  display: grid;              /* keeps your icon centred */
  place-items: center;
  text-decoration: none;      /* remove underline */
}

/* ===== DONATION QR ===== */
.donation-qr{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:120000;
}

.donation-qr__link{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  width:132px;
  padding:10px;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  backdrop-filter:blur(8px);
  text-decoration:none;
}

.donation-qr__image{
  display:block;
  width:112px;
  height:112px;
  border-radius:12px;
  background:#fff;
}

.donation-qr__text{
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:12px;
  line-height:1.35;
  font-weight:500;
  color:#111;
  text-align:center;
}

@media (max-width: 640px){
  .donation-qr{
    right:12px;
    bottom:12px;
  }

  .donation-qr__link{
    width:110px;
    padding:8px;
    gap:6px;
  }

  .donation-qr__image{
    width:92px;
    height:92px;
  }

  .donation-qr__text{
    font-size:11px;
  }
}


/* ===== RESPONSIVE HERO BRAND OVERRIDES ===== */
body{
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

.page{
  width:min(100%, 420px);
  max-width:420px;
  margin:0 auto;
  padding:clamp(12px, 2vw, 20px);
}

.corner-logo,
.logo{
  display:none !important;
}

.brand.hero-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.hero-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 84px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.06em;
    white-space: nowrap;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* safer form sizing on smaller screens */
form{
  width:100%;
}

.input,
.login-btn,
.ghost-btn{
  width:100%;
}

.donation-qr{
  right:max(12px, env(safe-area-inset-right));
  bottom:max(12px, env(safe-area-inset-bottom));
}

.donation-qr__link{
  width:clamp(92px, 24vw, 132px);
  padding:clamp(7px, 1.8vw, 10px);
  gap:clamp(5px, 1vw, 8px);
}

.donation-qr__image{
  width:100%;
  height:auto;
  aspect-ratio:1/1;
}

.donation-qr__text{
  font-size:clamp(10px, 2.4vw, 12px);
}

@media (max-width: 640px){
  .section{
    padding:88px 14px 96px;
    align-items:flex-start;
  }

  .page{
    max-width:100%;
  }

  .input,
  .login-btn,
  .ghost-btn{
    padding:16px;
  }
}

@media (max-width: 420px){
  .section{
    padding:84px 12px 104px;
  }

  .hero-title{
    font-size:clamp(1.6rem, 9vw, 2.25rem);
    letter-spacing:-0.03em;
  }

  .donation-qr__link{
    width:88px;
    border-radius:14px;
  }

  .donation-qr__text{
    line-height:1.2;
  }
}

@media (min-width: 1000px){
  .page{
    max-width:440px;
  }
}
