/* AddToIt public site */
:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #f0f1ef;
  --text: #151615;
  --muted: #666a66;
  --line: #dedfdb;
  --accent: #4f46e5;
  --accent-dark: #3f37c9;
  --danger: #b42318;
  --success-bg: #eefbf2;
  --success-border: #a7dfb6;
  --success-text: #176b34;
  --error-bg: #fff2f0;
  --error-border: #f1b4ad;
  --error-text: #9d1c13;
  --shadow: 0 18px 60px rgba(18, 20, 18, 0.08);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 14%, rgba(79,70,229,.065), transparent 28rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-underline-offset: .18em;
}

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

button, input, textarea { font: inherit; }

button, a, input, textarea {
  outline-offset: 3px;
}

.home-page {
  display: flex;
  flex-direction: column;
}

.home-shell {
  flex: 1;
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 64px 24px 36px;
}

.home-hero {
  max-width: 760px;
  text-align: center;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 13px);
  gap: 7px;
  margin-bottom: 26px;
  transform: rotate(-4deg);
}

.brand-mark span {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--text);
}

.brand-mark span:nth-child(2) {
  opacity: .55;
  transform: translateY(4px);
}

.brand-mark span:nth-child(3) {
  background: var(--accent);
  transform: translateY(-2px);
}

.wordmark {
  margin: 0;
  letter-spacing: -0.055em;
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  line-height: .98;
  font-weight: 760;
}

.tm {
  display: inline-block;
  margin-left: .18em;
  vertical-align: top;
  font-size: .22em;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 650;
}

.tagline {
  margin: 28px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  line-height: 1.55;
}

.coming-soon {
  display: inline-block;
  margin: 30px 0 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #414441;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .02em;
}

.site-footer {
  padding: 28px 24px 30px;
  color: var(--muted);
  font-size: .86rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.page-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247,247,245,.86);
  backdrop-filter: blur(12px);
}

.page-header-inner {
  width: min(100% - 36px, 1080px);
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 760;
  letter-spacing: -.035em;
}

.page-brand .tm {
  font-size: .4em;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.page-nav a { text-decoration: none; }

.page-main {
  width: min(100% - 36px, 820px);
  margin: 0 auto;
  padding: 58px 0 72px;
}

.page-main.wide {
  width: min(100% - 36px, 960px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.25rem, 7vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.page-lede {
  margin: 20px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.content-card {
  margin-top: 38px;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow);
}

.content-card h2,
.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}

.content-card p,
.content-card li,
.legal-section p,
.legal-section li {
  color: #4d514d;
  line-height: 1.72;
}

.content-card p:last-child,
.legal-section p:last-child { margin-bottom: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.65);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: .78rem;
  font-weight: 750;
}

.step h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.form-card {
  margin-top: 34px;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin: 0 0 7px;
  font-size: 1.55rem;
  letter-spacing: -.03em;
}

.form-intro {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .91rem;
  font-weight: 700;
}

.field-hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cfd1cc;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
  outline: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.checkbox-row label {
  color: #3f433f;
  font-size: .91rem;
  line-height: 1.55;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.primary-button {
  border: 0;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  padding: 13px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, opacity .12s ease;
}

.primary-button:hover {
  background: #2a2c2a;
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: .6;
  transform: none;
}

.status-box {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 12px;
  font-size: .92rem;
  line-height: 1.55;
}

.status-box.show { display: block; }

.status-box.success {
  border-color: var(--success-border);
  background: var(--success-bg);
  color: var(--success-text);
}

.status-box.error {
  border-color: var(--error-border);
  background: var(--error-bg);
  color: var(--error-text);
}

.notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(79,70,229,.055);
  border-radius: 0 12px 12px 0;
  color: #4c4f4c;
  font-size: .92rem;
  line-height: 1.62;
}

.legal-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child { border-bottom: 0; }

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 1.3rem;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 650;
}

.danger-link { color: var(--danger); }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 720px) {
  .page-header-inner {
    width: min(100% - 28px, 1080px);
    height: 66px;
  }

  .page-nav a:not(.keep-mobile) { display: none; }

  .page-main,
  .page-main.wide {
    width: min(100% - 28px, 960px);
    padding: 40px 0 56px;
  }

  .steps { grid-template-columns: 1fr; }

  .home-shell {
    min-height: 72vh;
    padding-top: 48px;
  }

  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .primary-button { transition: none; }
}

.wordmark .word-add { color: #1D9BF0; }
.wordmark .word-to { color: #5B5CE2; }
.wordmark .word-it { color: #0F9F8F; }
.wordmark .tm { color: #666A66; }
