/* Tokens Ithake — AppColors (bootstrap + Compass). Acento favoriteRed, no primary M3. */
:root {
  --ithake-accent: #ec656b;
  --ithake-accent-hover: #d9555b;
  --ithake-accent-on-dark: #f07a7f;
  --ithake-bg-top: #121417;
  --ithake-bg-bottom: #0a0b0d;
  --ithake-text: #f4f5f7;
  --ithake-muted: #9aa0a8;
  --ithake-surface: rgba(28, 28, 30, 0.72);
  --ithake-border: rgba(255, 255, 255, 0.1);
  --ithake-error: #f07a7f;
  --ithake-error-bg: rgba(236, 101, 107, 0.16);
  --ithake-ok: #8fd4a0;
  --ithake-ok-bg: rgba(27, 94, 59, 0.35);
  --ithake-focus: #f07a7f;
  --ithake-space: 1.25rem;
  --ithake-radius: 20px;
  --ithake-max: 68rem;
  --ithake-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --ithake-wordmark: #9aa0a8;
}

@media (prefers-color-scheme: light) {
  :root {
    --ithake-bg-top: #f7f8fa;
    --ithake-bg-bottom: #e8ebee;
    --ithake-text: #1a1c1e;
    --ithake-muted: #5c6370;
    --ithake-surface: rgba(255, 255, 255, 0.78);
    --ithake-border: rgba(28, 28, 30, 0.1);
    --ithake-error: #8b1d2c;
    --ithake-error-bg: #fdecee;
    --ithake-ok: #1b5e3b;
    --ithake-ok-bg: #e8f5ee;
    --ithake-focus: #ec656b;
    --ithake-wordmark: #8a9099;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ithake-font);
  color: var(--ithake-text);
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(236, 101, 107, 0.14),
      transparent 55%
    ),
    linear-gradient(180deg, var(--ithake-bg-top) 0%, var(--ithake-bg-bottom) 100%);
  line-height: 1.55;
}

a {
  color: var(--ithake-accent);
}

a:hover {
  color: var(--ithake-accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ithake-focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: var(--ithake-space);
  top: var(--ithake-space);
  z-index: 2;
  background: var(--ithake-accent);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

.wrap {
  max-width: var(--ithake-max);
  margin: 0 auto;
  padding: var(--ithake-space);
}

header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--ithake-text);
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2px solid var(--ithake-accent);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 999px;
  background: var(--ithake-accent);
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

nav.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--ithake-muted);
  text-decoration: none;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--ithake-text);
  background: var(--ithake-surface);
}

.heading-ticks {
  height: 2px;
  margin: 0 0 1.75rem;
  background: repeating-linear-gradient(
    90deg,
    var(--ithake-accent) 0 8px,
    transparent 8px 28px
  );
  opacity: 0.55;
}

main {
  padding: 0 0 2.5rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 840px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ithake-accent);
  font-weight: 700;
}

h1 {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.lede {
  color: var(--ithake-muted);
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}

.card {
  background: var(--ithake-surface);
  border: 1px solid var(--ithake-border);
  border-radius: var(--ithake-radius);
  padding: 1.5rem 1.45rem;
  backdrop-filter: blur(22px);
}

.features {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature h2 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.feature p {
  margin: 0;
  color: var(--ithake-muted);
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: var(--ithake-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ithake-accent-hover);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--ithake-border);
  color: var(--ithake-text);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--ithake-text);
  border-color: var(--ithake-accent);
}

.banner {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
}

.banner[hidden] {
  display: none;
}

.banner.error {
  background: var(--ithake-error-bg);
  color: var(--ithake-error);
}

.banner.ok {
  background: var(--ithake-ok-bg);
  color: var(--ithake-ok);
}

.banner.muted {
  background: rgba(154, 160, 168, 0.12);
  color: var(--ithake-muted);
}

label {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}

input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--ithake-border);
  border-radius: 12px;
  font: inherit;
  color: var(--ithake-text);
  background: rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: light) {
  input[type="password"] {
    background: #fff;
  }
}

button[type="submit"] {
  margin-top: 1.1rem;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--ithake-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover:not(:disabled) {
  background: var(--ithake-accent-hover);
}

button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.hint {
  font-size: 0.9rem;
  color: var(--ithake-muted);
  margin: 0.35rem 0 0;
}

footer.site {
  border-top: 1px solid var(--ithake-border);
  padding: 1.25rem 0 0.5rem;
  font-size: 0.88rem;
  color: var(--ithake-muted);
}

.wordmark {
  color: var(--ithake-wordmark);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    backdrop-filter: none;
  }
}
