/* TapWriter teaser site
   Palette mirrors app/TapWriter/Common/Theme.swift:
   electric violet -> cyan accent on a blue-black base. */

:root {
  --bg: #090912;
  --surface: #171724;
  --surface-hi: #242436;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.42);
  --accent: #8c5eff;
  --accent-2: #45d9f5;
  --accent-bright: #b089ff;
  --grad: linear-gradient(120deg, var(--accent-2), var(--accent));
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  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: 16px; top: -60px; z-index: 100;
  background: var(--surface-hi); color: var(--text);
  padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.grad {
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__glow {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(80px); opacity: .28;
}
.bg__glow--violet { background: radial-gradient(circle, var(--accent) 0%, transparent 60%); top: -35vmax; left: -20vmax; }
.bg__glow--cyan { background: radial-gradient(circle, var(--accent-2) 0%, transparent 60%); top: 20vh; right: -40vmax; opacity: .16; }
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

/* ---------- Nav ---------- */
.nav {
  max-width: var(--maxw); margin: 0 auto;
  padding: 20px 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand__icon { width: 36px; height: 36px; border-radius: 9px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,.04);
  color: var(--text-2); font-size: 13px; white-space: nowrap;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Hero ---------- */
.hero {
  max-width: 820px; margin: 0 auto;
  padding: 56px 20px 24px;
  text-align: center;
}
.hero__icon-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto 28px; }
.hero__icon-wrap::before {
  content: ""; position: absolute; inset: -18px; border-radius: 40px;
  background: var(--grad); filter: blur(34px); opacity: .55;
}
.hero__icon { position: relative; width: 100%; height: 100%; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 750;
}
.hero__lede {
  margin: 20px auto 0; max-width: 620px;
  font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2);
}
.hero__actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font: inherit; font-weight: 600; font-size: 16px;
  color: var(--text); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); box-shadow: 0 8px 30px -8px rgba(140, 94, 255, .7); }
.btn--primary:hover { box-shadow: 0 12px 36px -8px rgba(69, 217, 245, .6); }
.btn--ghost { border-color: var(--stroke-strong); background: rgba(255,255,255,.04); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Section headings ---------- */
.section-title {
  margin: 0; text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700;
}
.section-sub { margin: 10px auto 0; max-width: 560px; text-align: center; color: var(--text-2); }

/* ---------- Playground ---------- */
.playground { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 24px; scroll-margin-top: 16px; }
.playground:focus { outline: none; }
.pg-card {
  margin-top: 28px;
  position: relative;
  border-radius: 28px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(36,36,54,.8), rgba(23,23,36,.85));
  border: 1px solid var(--stroke);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pg-card::before {
  /* gradient hairline */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(69,217,245,.5), rgba(140,94,255,.15) 40%, transparent 60%, rgba(140,94,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.pg-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chip {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,.03); color: var(--text-2);
  font: inherit; font-size: 14px; font-weight: 550; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .2s;
}
.chip:hover { color: var(--text); background: rgba(255,255,255,.07); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); flex: none; }
.chip[aria-checked="true"] {
  color: var(--text); border-color: var(--c);
  background: color-mix(in srgb, var(--c) 18%, transparent);
  box-shadow: 0 0 0 1px var(--c) inset, 0 0 22px -6px var(--c);
}
.chip.is-loading .chip__dot { animation: pulse .8s ease-in-out infinite; }

.vol { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,.04); color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: rgba(255,255,255,.09); }
.icon-btn .i-off { display: none; }
.icon-btn[aria-pressed="true"] { color: #ff8fa8; border-color: rgba(255,143,168,.5); }
.icon-btn[aria-pressed="true"] .i-on { display: none; }
.icon-btn[aria-pressed="true"] .i-off { display: block; }

.range {
  -webkit-appearance: none; appearance: none;
  width: 130px; height: 6px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent-2), var(--accent)) 0 / var(--fill, 80%) 100% no-repeat, rgba(255,255,255,.12);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); border: 0;
}
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.range:disabled { opacity: .45; }

.type-wrap {
  position: relative; margin-top: 18px;
  border-radius: var(--radius);
  background: rgba(6,6,14,.7);
  border: 1px solid var(--stroke);
  transition: border-color .2s, box-shadow .2s;
}
.type-wrap:focus-within { border-color: rgba(140,94,255,.6); box-shadow: 0 0 0 4px rgba(140,94,255,.15); }
.type-wrap.is-hit { box-shadow: 0 0 0 4px rgba(69,217,245,.18), 0 0 40px -10px rgba(69,217,245,.5); }
.typer {
  display: block; width: 100%; min-height: 150px; resize: vertical;
  padding: 20px 20px 36px; border: 0; background: transparent; color: var(--text);
  font-family: var(--mono); font-size: 18px; line-height: 1.6;
  caret-color: var(--accent-2);
}
.typer:focus { outline: none; }
.typer::placeholder { color: var(--text-3); }
.type-meta {
  position: absolute; left: 20px; right: 20px; bottom: 10px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--text-3); pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.type-meta__set { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unlock-hint {
  position: absolute; right: 16px; top: 14px; margin: 0;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; color: var(--accent-2);
  background: rgba(69,217,245,.1); border: 1px solid rgba(69,217,245,.3);
  pointer-events: none; transition: opacity .3s;
}
.unlock-hint.is-hidden { opacity: 0; }

/* Keyboard visual */
.kb {
  --gap: 6px;
  --key-h: 46px;
  margin-top: 18px;
  display: flex; flex-direction: column; gap: var(--gap);
  padding: 14px; border-radius: var(--radius);
  background: linear-gradient(180deg, #0f0f1b, #0b0b15);
  border: 1px solid var(--stroke);
  user-select: none; -webkit-user-select: none;
  touch-action: manipulation;
}
.kb__row { display: flex; gap: var(--gap); }
.key {
  --w: 1;
  flex: var(--w) 1 0; min-width: 0;
  height: var(--key-h);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 0 0 7px 9px;
  border-radius: 9px;
  background: linear-gradient(180deg, #2a2a3e, #1d1d2c);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 3px 0 #0a0a12, inset 0 1px 0 rgba(255,255,255,.08);
  color: var(--text-2); font-size: 13px; font-weight: 550;
  cursor: pointer;
  transition: transform .09s ease-out, box-shadow .09s ease-out, background .25s ease-out, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.key--c { justify-content: center; padding-left: 0; }
.key.is-down {
  transform: translateY(3px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--accent)) 55%, #2a2a3e), color-mix(in srgb, var(--c, var(--accent)) 30%, #1d1d2c));
  box-shadow: 0 0 0 #0a0a12, 0 0 24px -2px var(--c, var(--accent)), inset 0 1px 0 rgba(255,255,255,.2);
  color: #fff;
  transition-duration: .03s;
}
.pg-foot { margin: 14px 4px 0; font-size: 13px; color: var(--text-3); text-align: center; }

/* ---------- Features ---------- */
.features { max-width: var(--maxw); margin: 0 auto; padding: 88px 20px 24px; }
.feat-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feat {
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(36,36,54,.55), rgba(23,23,36,.55));
  border: 1px solid var(--stroke);
  transition: border-color .2s, transform .2s;
}
.feat:hover { border-color: rgba(140,94,255,.4); transform: translateY(-2px); }
.feat h3 { margin: 16px 0 6px; font-size: 18px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--text-2); font-size: 15px; }
.feat__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(69,217,245,.18), rgba(140,94,255,.22));
  border: 1px solid rgba(140,94,255,.35);
  color: var(--accent-bright);
}
.feat__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Library ---------- */
.library { max-width: 900px; margin: 0 auto; padding: 88px 20px 24px; }
.lib-tags { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lib-tags li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--stroke-strong); color: var(--text-2);
  background: rgba(255,255,255,.03);
}
.lib-tags li b { color: var(--text); font-weight: 600; }
.lib-tags li span { color: var(--text-3); }
.lib-tags li.more { border-style: dashed; color: var(--accent-2); }

/* ---------- CTA ---------- */
.soon { max-width: var(--maxw); margin: 0 auto; padding: 88px 20px 32px; }
.soon__card {
  position: relative; overflow: hidden;
  text-align: center; padding: 56px 24px;
  border-radius: 32px; border: 1px solid var(--stroke);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(140,94,255,.25), transparent 60%),
    radial-gradient(80% 60% at 50% 110%, rgba(69,217,245,.16), transparent 70%),
    var(--surface);
}
.soon__icon { width: 88px; height: 88px; margin: 0 auto 20px; filter: drop-shadow(0 10px 30px rgba(140,94,255,.5)); }
.soon__title { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 5vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.soon__text { max-width: 520px; margin: 16px auto 0; color: var(--text-2); }
.store-badge {
  margin: 28px auto 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  border: 1px solid var(--stroke-strong); background: #000; color: #fff;
  text-align: left; text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.store-badge:hover { transform: translateY(-1px); border-color: rgba(140,94,255,.8); box-shadow: 0 8px 30px rgba(140,94,255,.35); }
.store-badge:focus-visible { outline: 2px solid #45D9F5; outline-offset: 3px; }
a.pill { text-decoration: none; color: inherit; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.store-badge__text small { font-size: 11px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 40px 20px 48px;
  border-top: 1px solid var(--stroke);
  color: var(--text-3); font-size: 14px;
}
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__made { margin: 0; color: var(--text-2); font-size: 15px; }
.footer__made a { color: var(--text); font-weight: 600; }
.bmc {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 12px;
  background: #ffdd00; color: #1a1300; font-weight: 650; font-size: 15px;
  box-shadow: 0 6px 20px -8px rgba(255, 221, 0, .6);
  transition: transform .15s, box-shadow .2s;
}
.bmc:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(255, 221, 0, .75); }
.bmc:focus-visible { outline-color: #ffdd00; }
.footer__links { margin-top: 18px; display: flex; gap: 18px; }
.footer__links a { color: var(--text-2); }
.footer__credits { margin: 14px 0 0; max-width: 720px; font-size: 12.5px; line-height: 1.6; }
.footer__credits a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .hero__icon-wrap { width: 104px; height: 104px; }
  .playground { padding-top: 36px; padding-left: 12px; padding-right: 12px; }
  .pg-card { padding: 14px; border-radius: 22px; }
  .pg-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    margin: 0 -14px; padding: 2px 14px 6px; scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .vol { justify-content: flex-end; }
  .range { flex: 1; width: auto; }
  .typer { font-size: 16px; min-height: 120px; padding: 16px 16px 34px; }
  .unlock-hint { top: auto; bottom: 30px; right: 12px; }
  .kb { --gap: 4px; --key-h: 40px; padding: 8px; }
  .key { font-size: 12px; padding: 0; justify-content: center; align-items: center; border-radius: 7px; }
  .kb__row--num { display: none; }
  .key--hide-sm { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .features, .library, .soon { padding-top: 64px; }
  .soon__card { padding: 40px 18px; }
  .lib-tags { gap: 8px; }
  .lib-tags li { padding: 6px 11px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .key.is-down { transform: none; }
  .btn:hover, .feat:hover, .bmc:hover { transform: none; }
}

/* ---------- ((( key ))) motif ---------- */
.hero__mark { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 auto 28px; }
.hero__mark .hero__icon-wrap { margin: 0; }
.arcs { width: 44px; height: 96px; overflow: visible; }
.arc {
  fill: none; stroke-width: 7; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(69, 217, 245, .7));
  transform-box: fill-box; transform-origin: center;
  animation: arc 2.8s ease-in-out infinite;
}
.arcs .arc { stroke: var(--accent-2); }
.arc--2 { opacity: .55; animation-delay: .25s; stroke: #7c8cff !important; }
.arcs--l .arc { transform-origin: right center; }
.arcs--r .arc { transform-origin: left center; }
@keyframes arc { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
body.ping .arc { animation: arcPing .45s ease-out; }
@keyframes arcPing { 0% { opacity: 1; transform: scale(1.12); } 100% { opacity: .5; transform: scale(1); } }

.type-meta__left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; flex: none; }
.wave i {
  --h: .3;
  display: block; width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  transform: scaleY(var(--h)); transition: transform .12s ease-out;
}
.wave i:nth-child(4) { --h: .5; }
.key--sm-only { display: none; }
@media (max-width: 640px) {
  .key--sm-only { display: flex; }
  .arcs { width: 34px; height: 76px; }
}

/* ---------- Legal pages (privacy) ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 20px 72px; }
.legal__title { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -.03em; }
.legal__meta { margin: 22px 0 0; color: var(--text-3); font-size: 14px; }
.legal__summary {
  margin: 28px 0 8px; padding: 18px 20px; border-radius: 16px;
  border: 1px solid rgba(140, 94, 255, .35); background: rgba(140, 94, 255, .08);
  color: var(--text); line-height: 1.6;
}
.legal h2 { margin: 40px 0 8px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.legal h3 { margin: 22px 0 4px; font-size: 16px; color: var(--text); }
.legal p { margin: 0 0 12px; color: var(--text-2); line-height: 1.7; }
.legal em { color: var(--text); font-style: normal; font-weight: 550; }
.legal code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--text); }
.legal__back { margin-top: 36px !important; }
.footer__links a[aria-current="page"] { color: var(--text); }

/* ---------- Contact form ---------- */
.form { margin-top: 32px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-size: 14px; font-weight: 600; color: var(--text); }
.field__opt, .field__help { font-weight: 400; font-size: 13px; color: var(--text-3); }
.field input, .field select { height: 48px; }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box; margin: 0; font: inherit; font-size: 16px; color: var(--text);
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--stroke-strong);
  background: rgba(255, 255, 255, .04); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select option { background: #15152a; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(140, 94, 255, .8); box-shadow: 0 0 0 3px rgba(140, 94, 255, .25);
}
.field [aria-invalid="true"] { border-color: #ff6b8b; box-shadow: 0 0 0 3px rgba(255, 107, 139, .2); }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__actions .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 0 !important; font-size: 15px; }
.form__status[data-kind="ok"] { color: #7ef0c4; }
.form__status[data-kind="error"] { color: #ff8fa6; }
.form__status[data-kind="busy"] { color: var(--text-2); }
.contact__alt { margin-top: 28px !important; color: var(--text-3) !important; font-size: 14px; }

/* ---------- Rate on the App Store ---------- */
.rate { margin: 22px 0 0; color: var(--text-3); font-size: 15px; }
.rate__link { color: var(--text); font-weight: 600; margin-left: 4px; white-space: nowrap; }
.rate__link:hover { text-decoration: none; color: #fff; }
.rate__stars {
  letter-spacing: 1px; margin-right: 4px;
  background: linear-gradient(90deg, #ffd66b, #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rate__link:hover .rate__stars { filter: drop-shadow(0 0 6px rgba(255, 190, 80, .7)); }
