
:root {
  --bg: #151419;
  --card: #1d1c22;
  --hairline: #312f37;
  --text: #f3f2ee;
  --muted: #999890;
  --accent: #dfa54e;
  --measure: 34rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 3rem 1rem 5rem;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main, header, footer { max-width: var(--measure); margin: 0 auto; }

header { margin-bottom: 2.5rem; }

.mark {
  display: inline-block;
  font: 600 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
}

h1 {
  margin: 1.2rem 0 0.4rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2.4rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
}

p, li { color: var(--text); }

p.lede, .muted { color: var(--muted); }

.stamp {
  font: 400 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  letter-spacing: 0.04em;
}

ul { padding-left: 1.2rem; }

li { margin: 0.35rem 0; }

a { color: var(--accent); }

a:hover { color: #f0c47c; }

.card {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}

.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

form { margin: 1.75rem 0 2.5rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  padding: 0.5rem 0.9rem;
  min-height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font: 400 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.chip:hover { border-color: #46434e; }

.chip[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: #15161b;
}

textarea {
  display: block;
  width: 100%;
  min-height: 7.5rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

textarea::placeholder { color: #6f6e69; }

textarea:focus { outline: none; border-color: #5a5862; }

.primary {
  display: block;
  width: 100%;
  margin: 1rem 0 0.75rem;
  padding: 0.9rem 1rem;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1611;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.primary:disabled {
  background: var(--card);
  border: 1px solid var(--hairline);
  color: #6f6e69;
  cursor: default;
}

.centred { text-align: center; }

.trouble { color: #e3a98e; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
}

footer a { margin-right: 1rem; }

@media (max-width: 30rem) {
  body { padding-top: 2rem; }
  h1 { font-size: 1.6rem; }
}


.cta {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1611;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

.cta:hover { background: #f0c47c; color: #1a1611; }

body.home {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}


.phone {
  width: 17.5rem;
  margin: 2rem auto 0;
  padding: 0.55rem;
  border-radius: 3.1rem;
  background: linear-gradient(170deg, #35333c, #17161b 40%, #0e0d11);
  box-shadow:
    inset 0 0 0 1px rgba(243, 242, 238, 0.14),
    0 2px 1px rgba(243, 242, 238, 0.06),
    0 26px 60px rgba(0, 0, 0, 0.65);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.6rem;
}

.cta-row { margin: 2.5rem 0 0; }

@media (max-width: 30rem) {
  .phone { width: 72vw; }
}

.appicon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.home h1 {
  margin: 1rem 0 0.6rem;
  font-size: 1.85rem;
}

body.home .lede {
  max-width: 30rem;
  margin: 0 auto;
  font-size: 1.02rem;
}

body.home .phone { margin-top: 2.75rem; }

.badge {
  display: inline-block;
  line-height: 0;
}

.badge img {
  width: 11.25rem;
  height: auto;
}

body.home footer {
  margin-top: 3.25rem;
  padding-top: 0;
  border-top: 0;
  font-size: 0.88rem;
}

body.home footer a {
  margin: 0 0.6rem;
  color: var(--muted);
  text-decoration: none;
}

body.home footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.38rem;
}

.brand:hover { color: #f0c47c; }
