:root {
  color-scheme: dark;
  --bg: #080808;
  --ink: #f5f5f3;
  --muted: #a9a9a9;
  --label: #9caac0;
  --line: #ffffff24;
  --blue: #1457ff;
  --blue-text: #6aa6ff;
  --pad: clamp(20px, 6vw, 96px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url('/media/snooze-pattern.svg') center top / 100% auto repeat-y;
  opacity: .035;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #9fc2ff; outline-offset: 4px; }

.topbar, .footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.7px;
  line-height: 1;
}

.platform {
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 7px 13px;
  color: #c4cee0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.install {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  width: 100%;
  max-width: 1440px;
  margin: auto;
  padding: clamp(48px, 10vh, 124px) var(--pad);
}

.install::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 4%;
  background: radial-gradient(ellipse at 80% 45%, #1457ff24, transparent 57%);
  pointer-events: none;
}

.eyebrow {
  display: block;
  color: var(--label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .23em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; line-height: 1; letter-spacing: -.045em; font-weight: 800; }
h1 { margin-top: 15px; font-size: clamp(47px, 6.5vw, 100px); }
h1 em { display: block; color: #4384ff; font-style: normal; }
h2 { margin-top: 13px; font-size: clamp(26px, 3vw, 40px); }
.lead { max-width: 36ch; margin: 24px 0 30px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }

details { max-width: 420px; border-top: 1px solid var(--line); padding-top: 15px; }
summary { width: fit-content; cursor: pointer; font-size: 14px; font-weight: 700; }
details ol { display: grid; gap: 7px; margin: 12px 0 0; padding-left: 22px; color: var(--muted); font-size: 14px; }
details strong { color: var(--ink); }

.card {
  padding: clamp(23px, 3.3vw, 45px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(158deg, #171a23, #0d0d0f 63%);
  box-shadow: 0 24px 80px #0005;
}

.card-copy { margin: 14px 0 26px; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
label, .field-heading a { font-size: 13px; font-weight: 700; }
.field-heading a { color: var(--blue-text); white-space: nowrap; }
.field-heading a:hover { text-decoration: underline; }

input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 13px;
  background: #09090c;
  color: var(--ink);
  font: inherit;
}

input::placeholder { color: #9397a2; }
.actions { display: grid; gap: 10px; margin-top: 24px; }

.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 50px;
  padding: 10px 18px;
  cursor: pointer;
  color: var(--ink);
  font: 700 14px/1.2 Arial, Helvetica, sans-serif;
  text-align: left;
  transition: background-color .2s, border-color .2s;
}

.button span { font-size: 17px; }
.button:disabled { opacity: .55; cursor: default; }
.primary { background: var(--blue); color: #fff; }
.primary:hover:not(:disabled) { background: #2564ff; }
.secondary { border-color: #ffffff35; background: #ffffff07; }
.secondary:hover:not(:disabled) { border-color: #ffffff65; background: #ffffff0f; }
.status { margin: 16px 0 0; color: #c4d8ff; font-size: 14px; }
.status:empty { margin: 0; }
.status[data-error] { color: #ffb7b7; }
.result { margin-top: 12px; }
.privacy { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 860px) {
  .install { grid-template-columns: minmax(0, 1fr); max-width: 660px; padding-block: 40px; gap: 28px; }
  .intro { display: grid; }
  .install::before { background: radial-gradient(ellipse at 80% 30%, #1457ff24, transparent 57%); }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(38px, 11.2vw, 47px); }
  .topbar { padding-block: 16px; }
}
