/* 7os.ai landing page
   Fonts: Archivo (body/UI), Bricolage Grotesque (headline, tier names) */

:root {
  --ink: #14213d;
  --ink-strong: #101c36;
  --body: #4a5772;
  --muted: #5a6b8c;
  --numeral: #5a6b8c;
  --blue: #1c69f0;
  --blue-dark: #1554cf;
  --red: #e11d1d;
  --green: #1f9d55;
  --purple: #8b2fd6;
  --line: #d7e0ee;
  --field-line: #c7d2e3;
  --error: #c22c22;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: #f1f4f9;
}

body {
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- page frame ---------- */

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9fc 0%, #f1f4f9 68%, #eaeff7 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  pointer-events: none;
  background-image:
    linear-gradient(#dce4f1 1px, transparent 1px),
    linear-gradient(90deg, #dce4f1 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(#000, transparent 78%);
  mask-image: linear-gradient(#000, transparent 78%);
}

.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  line-height: 0;
  pointer-events: none;
}

.skyline svg { width: 100%; height: auto; display: block; }

.shell {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 48px) clamp(18px, 3vw, 28px) clamp(150px, 20vw, 290px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- header ---------- */

.logo {
  display: block;
  height: clamp(96px, 14vw, 132px);
  width: auto;
}

.eyebrow {
  margin: clamp(34px, 5vw, 48px) 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow svg { width: 13px; height: 13px; flex: none; }

h1 {
  margin: 12px 0 0;
  font-family: 'Bricolage Grotesque', 'Archivo', sans-serif;
  font-size: clamp(33px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-align: center;
  text-wrap: balance;
  color: var(--ink-strong);
}

.lede {
  margin: 16px 0 0;
  font-size: clamp(17px, 2.1vw, 19.5px);
  line-height: 1.55;
  color: var(--body);
  text-align: center;
  max-width: 640px;
  text-wrap: pretty;
}

/* ---------- ask bar (decorative) ---------- */

.ask-block {
  margin-top: clamp(30px, 4.5vw, 42px);
  width: 100%;
  max-width: 760px;
}

.ask {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1.5px solid #b9cbe8;
  border-radius: 13px;
  padding: clamp(13px, 3vw, 16px) clamp(15px, 4vw, 20px);
  box-shadow: 0 1px 2px rgba(16, 40, 84, 0.05), 0 8px 22px -14px rgba(16, 40, 84, 0.28);
}

.ask-icon { width: 21px; height: 21px; flex: none; }

.ask-text {
  flex: 1;
  min-width: 0;
  font-size: clamp(16px, 4.2vw, 19px);
  line-height: 1.4;
  min-height: 1.4em;
  color: #16233f;
  overflow-wrap: anywhere;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--blue);
  margin-left: 2px;
  vertical-align: -0.2em;
  opacity: 0;
  transition: opacity 0.3s;
}

.caret.on { opacity: 1; }

.ask-note {
  margin: 11px 0 0;
  padding-left: 2px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- signup ---------- */

.signup {
  margin-top: clamp(40px, 5.5vw, 56px);
  width: 100%;
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 30px) clamp(18px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.signup-line {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: balance;
}

.signup-line.strong {
  margin-top: 3px;
  font-weight: 600;
  color: var(--ink);
}

#join-form {
  margin: 22px 0 0;
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

#email {
  flex: 1 1 250px;
  max-width: 370px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 16.5px;
  color: #16233f;
  background: #fbfcfe;
  border: 1.5px solid var(--field-line);
  border-radius: 9px;
}

#email::placeholder { color: #94a2ba; }

#email:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(28, 105, 240, 0.13);
}

#join-button {
  flex: 0 0 auto;
  min-width: 180px;
  padding: 13px 24px;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(28, 105, 240, 0.85);
}

#join-button:hover { background: var(--blue-dark); }
#join-button:active { transform: translateY(1px); }
#join-button[disabled] { opacity: 0.7; cursor: default; }

.form-note {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

.form-note.error { color: var(--error); }

.success {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.success-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.success-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}

.verify-link {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- tiers ---------- */

.tiers {
  margin-top: clamp(44px, 6vw, 62px);
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(4px, 2vw, 26px);
}

.tier { padding: 16px 4px 4px; border-top: 2px solid var(--blue); }
.tier-visitor { border-top-color: #2f6fed; }
.tier-member { border-top-color: var(--green); }
.tier-navigator { border-top-color: var(--purple); }

.tier-head {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.tier-num {
  font-family: 'Bricolage Grotesque', 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--numeral);
}

.tier-name {
  font-family: 'Bricolage Grotesque', 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.tier-visitor .tier-name { color: #2f6fed; }
.tier-member .tier-name { color: var(--green); }
.tier-navigator .tier-name { color: var(--purple); }

.tier-body {
  margin: 6px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}

/* ---------- footer ---------- */

.built-for {
  margin: clamp(40px, 5.5vw, 56px) 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  text-align: center;
  max-width: 600px;
  text-wrap: balance;
}

.copyright {
  margin: clamp(36px, 5vw, 50px) 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .caret { transition: none; }
}
