/* GetPay.uk — premium domain landing page */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0f1a;
  --ink-2: #111827;
  --ink-3: #1b2436;
  --line-dark: rgba(255, 255, 255, 0.09);
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --white: #ffffff;
  --text: #0e1422;
  --text-2: #4a5468;
  --text-on-ink: #e9edf5;
  --muted-on-ink: #9aa4b8;
  --line: #e2dfd6;
  --accent: #3ddc97;
  --accent-ink: #052e1c;
  --accent-soft: rgba(61, 220, 151, 0.14);
  --focus: #6ea8ff;

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 15, 26, 0.06), 0 8px 24px rgba(10, 15, 26, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1160px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--white); color: var(--text); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.mono { font-family: var(--font-mono); font-size: 0.88em; background: var(--paper-2); padding: 0.1em 0.4em; border-radius: 6px; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--font-sans); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
.btn-primary:hover { background: #5ae6a9; transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(61, 220, 151, 0.55); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text-on-ink); border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); }
.btn-icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 26, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-on-ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), #1fae73); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 6px 5px auto 5px; height: 2px; border-radius: 2px; background: var(--accent-ink); opacity: 0.7; box-shadow: 0 5px 0 var(--accent-ink); }
.brand-tld { color: var(--accent); }
.site-nav { display: none; gap: 28px; font-size: 14px; color: #c3cad8; }
.site-nav a { text-decoration: none; transition: color 0.2s; }
.site-nav a:hover { color: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
  opacity: 0.6;
}
.hero-glow { position: absolute; width: 720px; height: 720px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 220, 151, 0.18), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--muted-on-ink); padding: 6px 12px 6px 10px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,0.03); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); } 50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0.04); } }
.domain-display {
  margin-top: 28px; font-weight: 700; letter-spacing: -0.045em; line-height: 0.9;
  font-size: clamp(52px, 15vw, 128px);
  background: linear-gradient(180deg, #ffffff 30%, #a9b4c8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.domain-display span { background: linear-gradient(180deg, #6ff0b6, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { margin-top: 24px; font-size: clamp(28px, 6.4vw, 44px); font-weight: 550; color: var(--white); max-width: 18ch; }
.hero h1 em { color: var(--accent); }
.lede { margin-top: 18px; font-size: clamp(16px, 2.2vw, 18px); color: var(--muted-on-ink); max-width: 52ch; }
.lede strong { color: var(--text-on-ink); font-weight: 600; }
.cta-row { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.hero-note { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-on-ink); }
.hero-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Hero visual: payment card + receipt */
.hero-visual { display: flex; justify-content: center; }
.card-stage { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.06; max-width: 100%; }
.pay-card {
  position: absolute; left: 0; top: 4%; width: 86%; aspect-ratio: 1.586;
  padding: 22px 24px; border-radius: 20px; color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(61, 220, 151, 0.35), transparent 50%),
    radial-gradient(100% 120% at 100% 100%, rgba(110, 168, 255, 0.25), transparent 55%),
    linear-gradient(135deg, #1a2438, #0d1424);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: rotate(-6deg);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-8px); } }
.pay-card-top { display: flex; justify-content: space-between; align-items: center; }
.chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #e9d79c, #b99a4a); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.contactless { display: flex; gap: 3px; }
.contactless i { width: 4px; border-radius: 4px; border: 2px solid rgba(255,255,255,0.7); border-left: 0; border-top-color: transparent; border-bottom-color: transparent; }
.contactless i:nth-child(1) { height: 10px; } .contactless i:nth-child(2) { height: 16px; } .contactless i:nth-child(3) { height: 22px; }
.pay-card-name { font-size: clamp(24px, 6vw, 32px); font-weight: 650; letter-spacing: -0.03em; }
.pay-card-bottom { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }
.receipt {
  position: absolute; right: 0; bottom: 0; width: 62%;
  padding: 16px 18px; border-radius: 16px;
  background: rgba(17, 24, 39, 0.82); border: 1px solid var(--line-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
  font-size: 13px;
}
.receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); color: var(--muted-on-ink); }
.receipt-row:last-child { border-bottom: 0; }
.receipt-row b { color: var(--white); font-weight: 600; }
.receipt-row b.ok { color: var(--accent); }

/* Sections */
.section { padding: 80px 0; }
.section-ink { background: var(--ink); color: var(--text-on-ink); }
.section-soft { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #0b6a42; margin-bottom: 14px; }
.section-ink .kicker { color: var(--accent); }
.section h2 { font-size: clamp(30px, 5.4vw, 48px); font-weight: 550; }
.section-ink h2 { color: var(--white); }
.section-lede { margin-top: 18px; font-size: 17px; color: var(--text-2); max-width: 60ch; }

.value-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3cfc3; }
.value-num { display: inline-block; font-family: var(--font-mono); font-size: 12px; color: #0b6a42; background: var(--accent-soft); padding: 4px 8px; border-radius: 6px; }
.value-card h3 { margin-top: 18px; font-size: 21px; }
.value-card p { margin-top: 10px; color: var(--text-2); }

.usecase-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.usecase { background: var(--ink); padding: 28px; transition: background-color 0.3s var(--ease); }
.usecase:hover { background: var(--ink-2); }
.usecase svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.usecase h3 { margin-top: 18px; font-size: 19px; color: var(--white); }
.usecase p { margin-top: 8px; color: var(--muted-on-ink); font-size: 15px; }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--muted-on-ink); }

.acquire-grid { display: grid; gap: 40px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; }
.step-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 14px; background: var(--ink); color: var(--accent); }
.steps h3 { font-size: 17px; margin-top: 5px; }
.steps p { margin-top: 4px; color: var(--text-2); font-size: 15px; }
.acquire-panel { background: var(--ink); color: var(--text-on-ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 30px 60px -30px rgba(10, 15, 26, 0.55); position: relative; overflow: hidden; }
.acquire-panel::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 220, 151, 0.2), transparent 65%); pointer-events: none; }
.panel-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-ink); position: relative; }
.panel-domain { margin-top: 6px; font-size: clamp(34px, 8vw, 44px); font-weight: 700; letter-spacing: -0.04em; color: var(--white); position: relative; }
.panel-price { margin-top: 18px; position: relative; }
.price-ccy { font-size: 15px; font-weight: 500; color: var(--muted-on-ink); letter-spacing: 0; }
.price-note { margin-top: 4px; font-size: 13px; color: var(--muted-on-ink); }
.price-value { margin-top: 4px; font-size: 28px; font-weight: 650; color: var(--accent); letter-spacing: -0.02em; }
.acquire-panel .btn { margin-top: 24px; position: relative; }
.trust-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted-on-ink); position: relative; }
.trust-list li { display: flex; align-items: center; gap: 10px; }
.trust-list li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%233ddc97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.faq[open] { border-color: #cfcabd; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease); opacity: 0.6; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { padding: 0 22px 22px; color: var(--text-2); }

/* Final CTA */
.final-cta { background: var(--ink); color: var(--text-on-ink); padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; left: 50%; top: 100%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(61, 220, 151, 0.16), transparent 60%); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.domain-display-sm { margin-top: 0; font-size: clamp(40px, 11vw, 88px); }
.final-cta h2 { margin: 18px 0 32px; font-size: clamp(26px, 5vw, 40px); font-weight: 550; color: var(--white); }
.final-cta h2 em { color: var(--accent); }

.site-footer { background: var(--ink); color: var(--muted-on-ink); border-top: 1px solid var(--line-dark); padding: 28px 0 32px; font-size: 13px; }
.footer-inner { display: grid; gap: 6px; }
.footer-muted { opacity: 0.75; }

/* Reveal on scroll (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Breakpoints */
@media (min-width: 560px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .site-nav { display: flex; }
  .hero { padding: 96px 0 112px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .section { padding: 120px 0; }
  .value-grid { grid-template-columns: repeat(4, 1fr); }
  .usecase-grid { grid-template-columns: repeat(3, 1fr); }
  .usecase:last-child { grid-column: span 2; }
  .acquire-grid { grid-template-columns: 1.2fr 0.8fr; gap: 72px; }
  .acquire-panel { position: sticky; top: 96px; padding: 36px; }
  .final-cta { padding: 140px 0; }
  .site-footer { padding-bottom: 32px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; }
.page-404 h1 { margin: 18px 0 28px; color: var(--white); font-weight: 550; font-size: clamp(26px, 5vw, 40px); }
