/* Digital Island: coming soon page, in the style of the Digital Island homepage */
@font-face { font-family: "Inter"; font-weight: 300; font-display: swap; src: url("/assets/fonts/inter-300.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-500.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.ttf") format("truetype"); }

:root {
  --gold: #fec219;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, .8);
  --muted: rgba(255, 255, 255, .62);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: #000; color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { display: none; }

/* ---------- Flowing gold lines ---------- */
.paths { position: fixed; inset: 0; z-index: 0; pointer-events: none; color: var(--gold); }
.paths-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.paths::after { /* darken the middle so the text stays readable */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 42% at 50% 48%, rgba(0, 0, 0, .72), rgba(0, 0, 0, .25) 70%, transparent);
}

/* ---------- Header ---------- */
.top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(22px, env(safe-area-inset-top)) max(48px, env(safe-area-inset-right)) 22px max(48px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(28, 28, 28, .95), rgba(28, 28, 28, .6) 60%, transparent);
}
.logo { display: block; width: 240px; height: auto; }
.logo-link { border-radius: 6px; }
.top-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px;
  border-radius: 999px; background: var(--gold); color: #000; text-decoration: none;
  font-size: 14px; font-weight: 500; transition: filter .2s, transform .15s;
}
.top-cta:hover { filter: brightness(1.06); }
.top-cta:active { transform: scale(.97); }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 24px 32px; text-align: center;
}
.hero > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero > :nth-child(2) { animation-delay: .08s; }
.hero > :nth-child(3) { animation-delay: .16s; }
.hero > :nth-child(4) { animation-delay: .24s; }
.hero > :nth-child(5), .hero > :nth-child(6) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; margin-bottom: 30px; border-radius: 999px;
  border: 1px solid rgba(254, 194, 25, .28); background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 500; color: var(--soft);
}
.eyebrow-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.eyebrow-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

h1 {
  margin: 0; font-size: clamp(44px, 7vw, 96px); line-height: 1; font-weight: 500;
  letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6);
}
h1 .line { white-space: nowrap; }
h1 .gold { color: var(--gold); }

.subtitle {
  max-width: 640px; margin: 28px auto 0;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; color: var(--soft); text-wrap: balance;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .8);
}

.services {
  display: flex; flex-wrap: wrap; justify-content: center;
  list-style: none; margin: 20px 0 0; padding: 0;
  font-size: clamp(14px, 1.2vw, 17px); line-height: 1.6; color: var(--muted);
}
.services li { white-space: nowrap; }
.services li + li::before { content: "·"; color: var(--gold); margin: 0 12px; }

/* ---------- Notify capsule ---------- */
.notify { position: relative; width: 100%; max-width: 460px; margin: 40px auto 0; }
.notify input[type="email"] {
  display: block; width: 100%; height: 56px; padding: 0 140px 0 50px;
  font: 400 16px/1 "Inter", sans-serif; color: var(--text); caret-color: var(--gold);
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); outline: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") 20px center / 18px no-repeat,
    rgba(18, 18, 18, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .2s, box-shadow .2s;
}
.notify input::placeholder { color: rgba(255, 255, 255, .45); }
.notify input[type="email"]:focus { border-color: rgba(254, 194, 25, .7); box-shadow: 0 0 0 4px rgba(254, 194, 25, .12); }
.notify button {
  position: absolute; top: 6px; right: 6px; bottom: 6px; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 500 15px/1 "Inter", sans-serif; color: #000; background: var(--gold);
  transition: filter .2s, transform .15s, opacity .2s;
}
.notify button:hover { filter: brightness(1.06); }
.notify button:active { transform: scale(.97); }
.notify button:disabled { opacity: .75; cursor: default; }
.notify button:focus-visible, .top-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.form-msg { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.form-msg:empty { margin: 0; }
.form-msg.ok { color: #fde68a; }
.form-msg.err { color: #fca5a5; }

/* ---------- Footer ---------- */
.bottom {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 0 24px max(28px, env(safe-area-inset-bottom)); text-align: center;
}
.contact { margin: 0; font-size: 15px; color: var(--muted); }
.contact a { color: var(--text); text-decoration: none; margin-left: 4px; transition: color .2s; }
.contact a:hover { color: var(--gold); }
.contact a:focus-visible, .sister:focus-visible, .logo-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.sister {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; color: var(--muted); text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .55);
  transition: color .2s, border-color .2s, background .2s;
}
.sister strong { color: #c4b5fd; font-weight: 600; }
.sister:hover { color: var(--text); border-color: rgba(167, 139, 250, .4); background: rgba(124, 92, 255, .1); }
.sister-dot { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 8px #a78bfa; }

/* ---------- Phones: one screen ---------- */
@media (max-width: 639px) {
  .top { padding: max(16px, env(safe-area-inset-top)) 20px 14px; }
  .logo { width: 150px; }
  .top-cta { height: 38px; padding: 0 14px; font-size: 13px; }
  .hero { padding: 8px 20px 20px; }
  .eyebrow { font-size: 12.5px; margin-bottom: 22px; }
  h1 { font-size: min(48px, calc((100vw - 40px) / 6.9)); }
  h1 .line { display: block; }
  .subtitle { margin-top: 18px; font-size: 15.5px; }
  .services { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 30px; margin-top: 16px; font-size: 14px; }
  .services li { position: relative; text-align: left; }
  .services li + li::before { content: none; }
  .services li:nth-child(2n)::before { content: "·"; position: absolute; left: -18px; margin: 0; color: var(--gold); }
  .notify { margin-top: 28px; }
  .notify input[type="email"] { height: 54px; padding-left: 46px; padding-right: 126px; background-position: 18px center, 0 0; }
  .notify button { padding: 0 18px; font-size: 14.5px; }
  .contact { font-size: 14px; }
  .bottom { gap: 10px; }
}
@media (max-width: 639px) and (max-height: 640px) {
  .logo { width: 128px; }
  .eyebrow { margin-bottom: 16px; }
  .subtitle { margin-top: 14px; font-size: 14.5px; }
  .notify { margin-top: 20px; }
  .notify input[type="email"] { height: 50px; }
  .bottom { gap: 8px; padding-bottom: 16px; }
}
@media (max-width: 359px) {
  .top-cta span { display: none; }
  .top-cta { width: 38px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero > *, .eyebrow-dot::after { animation: none; }
}

/* ---------- Headline: dotted letters, like the logo ---------- */
h1 { font-weight: 700; letter-spacing: -.02em; text-shadow: none; font-size: clamp(44px, min(7vw, 9.5vh), 96px); }
h1 .line {
  display: block;
  color: #f4f4f5;
  background-image: radial-gradient(circle, currentColor 1.15px, transparent 1.4px);
  background-size: 4px 4px;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h1 .line.gold { color: var(--gold); }
@media (max-width: 639px) {
  h1 { font-size: min(48px, calc((100vw - 40px) / 7.6)); }
  h1 .line { background-image: radial-gradient(circle, currentColor 0.95px, transparent 1.2px); background-size: 3px 3px; }
}
