/* joinklik.co.uk
   Layout: an editorial launch page. Bone-white paper, ink type, one lavender accent; a
   sculptural hero (two ivory capsules, a lavender glass sphere) beside the real call
   screen; two near-black moments (Speed Calling, VIP Club) that echo the app. */
:root {
  --bone: #f3eee4; /* page */
  --bone-deep: #e9e2d4; /* panels, rules on paper */
  --ivory: #fbf8f1; /* sculpted surfaces, text on night */
  --ink: #0b0a0f; /* type */
  --ink-soft: #55505c; /* secondary type */
  --lav: #b9a8e8; /* the single accent */
  --lav-deep: #6b5188; /* accent on paper (labels, links) */
  --night: #0a0811; /* near-black sections */
  --night-line: rgba(251, 248, 241, 0.14);
  --rule: rgba(11, 10, 15, 0.14);
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  /* Paper: bone white with a fine grain. */
  background-color: var(--bone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2  0 0 0 0 .17  0 0 0 0 .12  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 3px; border-radius: 6px; }
.vip :focus-visible, .speed :focus-visible { outline-color: var(--lav); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--ivory); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 128px); }

/* Type */
.display { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.4vw, 68px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.display-ivory { color: var(--ivory); }
.label { display: inline-block; margin-bottom: 18px; color: var(--lav-deep); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.label-lav { color: var(--lav); }
h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -0.015em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 1.5px solid transparent; border-radius: 999px; font: 600 17px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-icon { width: 18px; height: 18px; margin-right: 8px; flex: none; }
.btn-small .btn-icon { width: 16px; height: 16px; margin-right: 6px; }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: #26222e; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-ghost-ivory { border-color: var(--night-line); color: var(--ivory); }
.btn-ghost-ivory:hover { background: rgba(251, 248, 241, 0.08); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* Preview notes (only while config.preview is on) */
.preview-bar { background: var(--ink); color: var(--ivory); font-size: 13.5px; }
.preview-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 9px; }
.preview-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.preview-bar button { min-height: 32px; padding: 0 12px; border: 1px solid var(--night-line); border-radius: 999px; background: none; color: var(--ivory); font: 500 13px var(--body); cursor: pointer; }
.preview-bar button:hover { background: rgba(251, 248, 241, 0.1); }
.preview-list { display: grid; gap: 6px; padding-bottom: 14px; color: rgba(251, 248, 241, 0.8); }
.preview-list li::before { content: "•"; margin-right: 8px; color: var(--lav); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(243, 238, 228, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.site-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* Phones: the mark sits left of the KLIK wordmark, 8px apart, left-aligned. */
.brand-row { display: inline-flex; align-items: center; gap: 8px; }
.brand-row .brand-mark { height: 17px; width: auto; }
.brand-row .brand-word { height: 22px; width: auto; }
.brand-stack { display: none !important; width: 58px; }
.site-nav { display: none; gap: 30px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; padding: 8px 0; }
.site-nav a:hover { color: var(--lav-deep); }

/* 1. Hero */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #efe9ff, var(--lav) 55%, #8f78cf); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 9.6vw, 104px); line-height: 0.92; letter-spacing: -0.04em; text-wrap: balance; }
.klik-word { position: relative; white-space: nowrap; }
.klik-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.09em; border-radius: 99px; background: var(--lav); z-index: -1; }
.lede { max-width: 30ch; margin-top: 24px; font-size: clamp(18px, 2.1vw, 22px); line-height: 1.4; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.cta-note { font-size: 14px; color: var(--ink-soft); }

.hero-art { position: relative; min-height: 440px; display: grid; place-items: center; }
.sculpture { position: absolute; inset: 0; }
/* Ivory capsules: a soft top light, a warm shadow underneath. */
.capsule { position: absolute; border-radius: 999px; background: linear-gradient(165deg, #ffffff 0%, var(--ivory) 38%, #e7dfcf 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.9), inset 0 -14px 26px rgba(120, 100, 70, 0.14), 0 26px 46px rgba(60, 45, 25, 0.2), 0 4px 10px rgba(60, 45, 25, 0.1); }
/* Upright, like the billboard: the left capsule sits lower, the right one higher, the sphere at
   the left capsule's upper right (in front of the phone), echoing the logo mark. */
.sculpture .capsule-a { left: 3%; top: 34%; width: 27%; height: 56%; animation: capsule-a 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.sculpture .capsule-b { right: 3%; top: 8%; width: 27%; height: 56%; animation: capsule-b 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
/* The lavender glass sphere between them. */
.sphere { position: absolute; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95) 0 9%, rgba(232, 224, 255, 0.9) 22%, var(--lav) 55%, #7f68c4 100%); box-shadow: inset -8px -12px 22px rgba(70, 45, 130, 0.35), 0 16px 30px rgba(90, 65, 150, 0.32); }
.sculpture .sphere { left: 22%; top: 43%; width: 13%; aspect-ratio: 1; z-index: 3; animation: sphere-in 1.2s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes capsule-a { from { transform: translateY(18%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes capsule-b { from { transform: translateY(-18%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sphere-in { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* The app, in a quiet phone frame. */
.phone { position: relative; border-radius: 13% / 6.2%; padding: 2.4%; background: #15121c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 30px 60px rgba(30, 20, 45, 0.3), 0 6px 14px rgba(30, 20, 45, 0.18); }
.phone img { width: 100%; border-radius: 11% / 5.2%; }
.hero-phone { position: relative; z-index: 2; width: min(60%, 270px); transform: rotate(4deg); animation: phone-in 1.1s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes phone-in { from { transform: translateY(26px) rotate(4deg); opacity: 0; } to { transform: rotate(4deg); opacity: 1; } }

/* 2. How it works */
.how .display { max-width: 16ch; }
.steps { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 72px); }
.steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; }
.step-phone { width: 112px; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border: 1.5px solid var(--ink); border-radius: 50%; font: 700 15px var(--display); }
.steps p { margin-top: 8px; color: var(--ink-soft); max-width: 34ch; }

.speed { display: grid; gap: 36px; margin-top: clamp(56px, 8vw, 104px); padding: clamp(28px, 5vw, 64px); border-radius: clamp(26px, 4vw, 44px); background: radial-gradient(700px 420px at 86% 0%, rgba(107, 81, 136, 0.42), transparent 62%), var(--night); color: var(--ivory); overflow: hidden; }
.timer { display: flex; align-items: baseline; gap: 0.03em; margin: 2px 0 14px; font-family: var(--display); font-weight: 800; font-size: clamp(88px, 17vw, 190px); line-height: 0.82; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--ivory); }
.timer i { font-style: normal; color: var(--lav); animation: blink 2s steps(2, start) infinite; }
@keyframes blink { to { opacity: 0.25; } }
.speed h3.display { font-size: clamp(28px, 3.6vw, 44px); }
.speed-lede { max-width: 36ch; margin-top: 16px; color: rgba(251, 248, 241, 0.72); font-size: 18px; }
/* A voice, drawn as bars. */
.wave { display: flex; align-items: center; gap: 4px; height: 44px; margin: 26px 0 6px; }
.wave i { width: 4px; height: 100%; border-radius: 4px; background: var(--lav); transform: scaleY(0.25); transform-origin: center; animation: wave 1.5s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -0.35s; background: var(--ivory); opacity: 0.85; }
.wave i:nth-child(3n + 1) { animation-delay: -0.8s; }
.wave i:nth-child(4n) { animation-delay: -1.1s; }
.wave i:nth-child(5n) { animation-delay: -0.55s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
.facts { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--night-line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--night-line); color: rgba(251, 248, 241, 0.72); }
.facts b { color: var(--ivory); font-weight: 600; }
.speed-shot { align-self: end; justify-self: center; width: min(100%, 330px); margin-bottom: calc(-1 * clamp(28px, 5vw, 64px)); border-radius: 34px 34px 0 0; overflow: hidden; box-shadow: 0 0 0 1px var(--night-line); }
.speed-shot img { width: 100%; }

/* 3. VIP Membership Club */
.vip { padding-block: clamp(84px, 12vw, 168px); background: radial-gradient(900px 520px at 12% 0%, rgba(107, 81, 136, 0.34), transparent 60%), var(--night); color: var(--ivory); overflow: hidden; }
.vip-grid { display: grid; gap: 56px; align-items: center; }
.vip-title { font-size: clamp(54px, 10vw, 128px); line-height: 0.9; letter-spacing: -0.045em; }
.vip-lede { max-width: 34ch; margin-top: 24px; font-size: clamp(18px, 2.1vw, 22px); line-height: 1.4; color: rgba(251, 248, 241, 0.74); }
.vip-list { margin: 30px 0 30px; border-top: 1px solid var(--night-line); max-width: 460px; }
.vip-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--night-line); }
.vip-list span { color: rgba(251, 248, 241, 0.5); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 4px; }
.vip-art { display: grid; place-items: center; perspective: 1100px; }
/* A sculpted ivory membership card with one lavender detail. */
.member-card { position: relative; width: min(100%, 400px); aspect-ratio: 1.58; padding: 7%; border-radius: 26px; background: linear-gradient(150deg, #ffffff 0%, var(--ivory) 34%, #e2d9c7 100%); box-shadow: inset 0 2px 0 #fff, inset 0 -18px 30px rgba(120, 100, 70, 0.16), 0 40px 80px rgba(0, 0, 0, 0.55); color: var(--ink); transform: rotateX(14deg) rotateZ(-7deg); display: flex; flex-direction: column; justify-content: flex-end; animation: card-float 7s ease-in-out infinite; }
.member-card img { position: absolute; left: 4.5%; top: 3%; width: 36%; }
.member-card-dot { position: absolute; right: 8%; top: 12%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0 10%, #e8e0ff 24%, var(--lav) 58%, #7f68c4 100%); box-shadow: inset -3px -4px 8px rgba(70, 45, 130, 0.35), 0 6px 12px rgba(90, 65, 150, 0.3); }
.member-card p { font: 800 clamp(17px, 2.4vw, 23px) / 1.05 var(--display); letter-spacing: -0.02em; }
.member-card small { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
@keyframes card-float { 0%, 100% { transform: rotateX(14deg) rotateZ(-7deg) translateY(0); } 50% { transform: rotateX(11deg) rotateZ(-5deg) translateY(-10px); } }

/* 4. News and offers (newsletter sign-up) */
.first-grid { display: grid; gap: 44px; align-items: start; }
.first-lede { max-width: 38ch; margin-top: 20px; font-size: 19px; color: var(--ink-soft); }
.perks { margin-top: 28px; border-top: 1px solid var(--rule); max-width: 520px; }
.perks li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.perks b { color: var(--ink); font-weight: 600; }
.invite { display: grid; gap: 10px; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--rule); border-radius: 28px; background: var(--ivory); box-shadow: 0 24px 50px rgba(60, 45, 25, 0.1); }
.invite > p { color: var(--ink-soft); margin-bottom: 8px; }
.invite label { margin-top: 6px; font-size: 14px; font-weight: 600; }
.invite label span { font-weight: 400; color: var(--ink-soft); }
.invite input[type="text"], .invite input[type="email"] { width: 100%; min-height: 54px; padding: 0 18px; border: 1.5px solid var(--rule); border-radius: 16px; background: #fff; color: var(--ink); font: 400 17px var(--body); }
.invite input:focus-visible { outline: 3px solid var(--lav); outline-offset: 1px; border-color: var(--lav-deep); }
.invite input[aria-invalid="true"] { border-color: #a23b3b; }
.invite .btn { width: 100%; margin-top: 12px; }
.invite .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.invite-status { min-height: 1.5em; font-size: 15px; font-weight: 500; }
.invite-status.good { color: #2c6a4a; }
.invite-status.bad { color: #a23b3b; }
.invite-small { font-size: 13px; color: var(--ink-soft); }
.invite-small a, .faq a { color: var(--lav-deep); text-underline-offset: 3px; }

/* 5. FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; gap: 34px; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 14px 0; cursor: pointer; list-style: none; font: 700 clamp(19px, 2.2vw, 23px) / 1.2 var(--display); letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 13px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 13px no-repeat; transition: transform 0.2s ease, background-size 0.2s ease; }
.faq details[open] summary::after { background-size: 13px 1.5px, 1.5px 0; background-color: var(--lav); }
.faq details p { max-width: 62ch; padding: 0 52px 24px 0; color: var(--ink-soft); }

/* Closing */
.closing { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--rule); }
.closing-row { display: grid; gap: 28px; justify-items: start; }
.closing-mark { position: relative; width: 70px; height: 100px; }
.closing-mark .capsule-a { left: 0; top: 29%; width: 40%; height: 71%; }
.closing-mark .capsule-b { left: 60%; top: 0; width: 40%; height: 70%; }
.closing-mark .sphere { left: 41%; top: 43%; width: 20%; aspect-ratio: 1; z-index: 1; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: 34px calc(34px + env(safe-area-inset-bottom, 0px)); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.foot-brand { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.foot-brand img { width: 46px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; }
.foot-links a { padding: 8px 0; text-underline-offset: 3px; }
.foot-links span { padding: 8px 0; color: var(--ink-soft); }

/* Mobile: the action follows once the hero has gone. */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: linear-gradient(180deg, rgba(243, 238, 228, 0), rgba(243, 238, 228, 0.96) 38%); }
.sticky-cta .btn { width: 100%; box-shadow: 0 12px 28px rgba(30, 20, 45, 0.26); }
body.has-sticky .site-foot { padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px)); }

/* Tablet */
@media (min-width: 700px) {
  /* Wider screens keep the stacked logo (mark above the wordmark). */
  .brand-row { display: none; }
  .brand-stack { display: block !important; }
  body { font-size: 18px; }
  .site-nav { display: flex; }
  .hero-art { min-height: 560px; }
  .hero-phone { width: min(52%, 300px); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .steps li { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 26px; }
  .step-phone { width: min(100%, 230px); }
  .speed { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; }
  .first-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
  .sticky-cta { display: none !important; }
  body.has-sticky .site-foot { padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px)); }
  .closing-row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-items: stretch; gap: 40px; }
}
/* Desktop */
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; }
  .hero-art { min-height: 640px; }
  .vip-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

/* Reduced motion: everything is in its resting place; nothing loops. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wave i { transform: scaleY(0.6); }
  .wave i:nth-child(2n) { transform: scaleY(0.3); }
  .wave i:nth-child(3n) { transform: scaleY(0.9); }
}
