
/* Modern reset */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; color: #0f172a; background: #ffffff; }

:root {
  --teal: #14b8a6;
  --teal-600: #0d9488;
  --pink: #ec4899;
  --text: #0f172a;
  --muted: #64748b;
  --ring: 0 0 0 4px rgba(20,184,166,.25);
}

.header { position: sticky; top: 0; backdrop-filter: saturate(180%) blur(8px); background: rgba(255,255,255,.8); border-bottom: 1px solid #e2e8f0; }
.nav { max-width: 1080px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display:flex; align-items:center; gap:.6rem; font-weight: 800; letter-spacing: .2px; }
.brand .logo { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--pink)); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.brand span { font-size: 1.05rem; }
.nav a { color: var(--teal-600); font-weight: 700; text-decoration: none; }
.nav a:hover { text-decoration: underline; }

.hero { background: linear-gradient(135deg, #f8fafc 0%, #fff 35%, #fdf2f8 100%); border-bottom: 1px solid #eef2f7; }
.hero .wrap { max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.title { font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem); margin: 0; }
.subtitle { margin: .75rem 0 0; color: var(--muted); }

.main { max-width: 1080px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 1.25rem; box-shadow: 0 10px 24px rgba(2, 8, 23, .06); display:flex; flex-direction:column; gap:.75rem; }
.card h2 { margin: 0; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

.btn { appearance: none; border: none; cursor: pointer; font-weight: 800; border-radius: 14px; padding: .9rem 1.15rem; display:inline-flex; align-items:center; justify-content:center; gap:.6rem; box-shadow: 0 10px 24px rgba(2, 8, 23, .12); transition: transform .06s ease, box-shadow .2s ease, filter .2s ease; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:hover { transform: translateY(-1px); filter: saturate(110%); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-pink { background: var(--pink); color: #fff; }

.backdrop { position: fixed; inset: 0; background: rgba(2,8,23,.55); display:none; }
.modal { position: fixed; left:50%; top:50%; transform: translate(-50%, -50%); width:min(92vw,560px); background:#fff; border:1px solid #e2e8f0; border-radius: 18px; padding: 1.25rem; box-shadow: 0 24px 64px rgba(2,8,23,.35); }
.modal h3 { margin: 0 0 .5rem; }
.code { display:flex; align-items:center; justify-content:space-between; border:2px dashed var(--teal); border-radius:14px; padding:.85rem 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace; }
.status { margin-top:.5rem; color: var(--muted); }

.footer { padding: 2rem 1.5rem; border-top: 1px solid #e2e8f0; color: #475569; text-align:center; }


.btn-small {
  padding: 0.6rem 0.9rem;   /* smaller padding */
  font-size: 0.9rem;        /* slightly smaller text */
  border-radius: 10px;      /* keep rounded but tighter */
}

