/* Wicket — styles.css */

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

:root {
  --bg: #ffffff;
  --bg-raised: #f5f5f4;
  --bg-surface: #e7e5e4;
  --border: #e7e5e4;
  --border-light: #d6d3d1;
  --text: #1c1917;
  --text-2: #57534e;
  --text-3: #a8a29e;
  --amber: #b45309;
  --amber-dim: rgba(180, 83, 9, 0.06);
  --term-bg: #1c1917;
  --term-text: #d6d3d1;
  --term-muted: #78716c;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--amber); color: #fff; }

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--amber-dim);
  color: var(--amber);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.text-muted { color: var(--text-3); }


/* — Buttons — */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--text); color: var(--bg);
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600;
  border-radius: 8px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: #292524; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.btn-sm { padding: 8px 20px; font-size: 0.8125rem; }
.btn-primary.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-outline {
  display: inline-flex; align-items: center;
  padding: 12px 28px;
  background: transparent; color: var(--text);
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 500;
  border-radius: 8px; border: 1px solid var(--border-light); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--text-3); background: var(--bg-raised); }
.btn-outline:active { transform: scale(0.98); }


/* — Nav — */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo {
  display: inline-flex; align-items: baseline;
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em;
}
.logo-w {
  font-family: var(--serif); font-style: italic;
  color: var(--amber); font-weight: 400;
  font-size: 1.5em; line-height: 1;
  margin-right: 0.05em;
}
.logo-tagline {
  font-size: 0.625rem; font-weight: 500;
  color: var(--text-3); letter-spacing: 0.02em;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.8125rem; font-weight: 500; color: var(--text-3);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }


/* — Hero — */
.hero {
  max-width: 800px; margin: 0 auto;
  padding: 160px 32px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  background: var(--amber-dim);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--amber); }
.hero-sub {
  font-size: 1.125rem; color: var(--text-2); line-height: 1.7;
  max-width: 560px; margin: 0 auto 40px;
}
.hero-actions {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.hero-note {
  font-size: 0.75rem; color: var(--text-3);
  font-family: var(--mono);
}


/* — Architecture — */
.arch {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.arch-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.arch-text h2 {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 400;
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.arch-text > p {
  font-size: 0.9375rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: 16px;
}
.arch-details {
  list-style: none; margin-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.arch-details li {
  font-size: 0.875rem; color: var(--text-2); line-height: 1.6;
  padding-left: 20px; position: relative;
}
.arch-details li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--amber); opacity: 0.6;
}

.arch-diagram {
  min-width: 0;
  display: flex; align-items: center; justify-content: flex-start;
}
.diagram-svg {
  width: 100%; max-width: 100%; height: auto;
}


/* — Specs strip — */
.specs {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.specs-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: flex;
}
.spec {
  flex: 1;
  padding: 24px 0;
  display: flex; align-items: baseline; gap: 12px;
}
.spec + .spec {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  margin-left: 32px;
}
.spec-label {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--amber);
  flex-shrink: 0;
}
.spec-value {
  font-size: 0.8125rem; color: var(--text-2); line-height: 1.5;
}


/* — Comparison — */
.comparison {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.comp-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 32px;
}
.comp-inner h2 {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 400;
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%; border-collapse: collapse; font-size: 0.875rem;
}
.comp-table th, .comp-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.comp-table th {
  font-weight: 600; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-3);
}
.comp-table td { color: var(--text-2); }
.comp-table td:first-child { color: var(--text); font-weight: 500; }
.comp-hl { background: var(--amber-dim) !important; }
.comp-table th.comp-hl { color: var(--amber); }

.yes::before, .no::before {
  content: ''; display: inline-block; width: 18px; height: 18px; vertical-align: middle;
}
.yes::before {
  background: var(--amber);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16.25 5.75L7.5 14.5 3.75 10.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16.25 5.75L7.5 14.5 3.75 10.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}
.no::before {
  background: var(--border);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M15 5L5 15M5 5l10 10' stroke='white' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M15 5L5 15M5 5l10 10' stroke='white' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}


/* — Pricing — */
.pricing {
  border-bottom: 1px solid var(--border);
}
.pricing-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}
.pricing-inner h2 {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.pricing-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; max-width: 600px;
  margin: 0 auto;
  margin-bottom: 32px;
}
.price-card {
  padding: 32px 28px; text-align: left;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg); position: relative;
}
.price-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 12px; }
.price-amount { margin-bottom: 20px; }
.price-amount span {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 400; letter-spacing: -0.03em;
}
.price-amount small {
  font-size: 0.8125rem; color: var(--text-3); margin-left: 2px;
}
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card li {
  font-size: 0.8125rem; color: var(--text-2); padding: 4px 0 4px 16px;
  position: relative;
}
.price-card li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--bg-surface);
}
.price-card-hl { border-color: var(--amber); }
.price-card-hl li::before { background: var(--amber); }
.price-badge {
  position: absolute; top: -10px; left: 28px;
  font-family: var(--mono); font-size: 0.625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px; background: var(--text); color: var(--bg); border-radius: 4px;
}
.price-card .btn-primary, .price-card .btn-outline {
  width: 100%; justify-content: center;
}
.pricing-note {
  font-size: 0.8125rem; color: var(--text-3);
}
.price-launch-note {
  font-size: 0.75rem; color: var(--text-3);
  text-align: center; margin-top: 8px;
}


/* — Waitlist Form — */
.waitlist-form {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.waitlist-form input[type="email"] {
  font-family: var(--sans); font-size: 0.9375rem;
  padding: 12px 16px;
  border: 1px solid var(--border-light); border-radius: 8px;
  background: var(--bg); color: var(--text);
  outline: none; width: 280px;
  transition: border-color 0.2s;
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--amber);
}
.waitlist-form input[type="email"]::placeholder {
  color: var(--text-3);
}
.waitlist-note {
  font-size: 0.75rem; color: var(--text-3); margin-top: 8px;
}
.waitlist-thanks {
  font-size: 0.9375rem; font-weight: 500; color: var(--amber);
}


/* — FAQ — */
.faq {
  border-bottom: 1px solid var(--border);
}
.faq-inner {
  max-width: 720px; margin: 0 auto;
  padding: 80px 32px;
}
.faq-inner h2 {
  font-family: var(--serif); font-size: 2rem; font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.faq-list {
  display: flex; flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  font-size: 0.9375rem; font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.25rem; color: var(--text-3);
  font-weight: 400; transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  font-size: 0.875rem; color: var(--text-2); line-height: 1.7;
  margin-top: 12px;
}


/* — CTA — */
.cta {
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.cta em { font-style: italic; color: var(--amber); }


/* — Footer — */
.footer {
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 32px;
  display: flex; gap: 80px;
}
.footer-col {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-col:first-child { flex: 1; }
.footer-col h4 {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3); margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.8125rem; color: var(--text-3);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-tagline {
  font-size: 0.8125rem; color: var(--text-3); margin-top: 4px;
}


.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 32px 0;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-3);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--text-3); transition: color 0.15s; }
.footer-legal a:hover { color: var(--text); }


/* — Animations — */
.fade-in {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.fade-in.visible { opacity: 1; transform: none; }


/* — Responsive — */

/* 13" laptops */
@media (max-width: 1366px) {
  .hero { padding: 140px 32px 64px; }
  .hero h1 { font-size: clamp(2.75rem, 5vw, 4rem); }
  .arch-inner { max-width: 1080px; gap: 48px; }
  .arch-text h2 { font-size: 2rem; }
  .comp-inner { max-width: 1080px; }
  .comp-inner h2 { font-size: 2rem; }
  .pricing-inner { max-width: 1080px; }
  .pricing-inner h2 { font-size: 2rem; }
  .cta h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
  .diagram-svg { max-width: 300px; }
}

/* Tablet */
@media (max-width: 900px) {
  .arch-inner { grid-template-columns: 1fr; gap: 40px; }
  .specs-inner { flex-direction: column; }
  .spec + .spec { border-left: none; margin-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 0; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 360px; }
  .comp-table th, .comp-table td { padding: 12px 14px; font-size: 0.8125rem; }
}

/* Mobile */
@media (max-width: 640px) {
  .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }

  .hero { padding: 120px 16px 56px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 32px; }
  .waitlist-form { flex-direction: column; width: 100%; }
  .waitlist-form input[type="email"] { width: 100%; }
  .waitlist-form .btn-primary { width: 100%; justify-content: center; }

  .arch-inner { padding: 48px 16px; grid-template-columns: 1fr; gap: 32px; }
  .arch-text h2 { font-size: 1.75rem; }
  .arch-diagram { justify-content: center; }
  .diagram-svg { max-width: 300px; }

  .specs-inner { padding: 0 16px; }

  .comp-inner { padding: 48px 16px; }
  .comp-inner h2 { font-size: 1.75rem; margin-bottom: 32px; }
  .comp-table { font-size: 0.7rem; table-layout: fixed; width: 100%; }
  .comp-table th, .comp-table td { padding: 8px 6px; word-wrap: break-word; white-space: normal; }
  .comp-table th { font-size: 0.6rem; }
  .comp-table td:first-child { font-size: 0.65rem; }

  .faq-inner { padding: 48px 16px; }
  .faq-inner h2 { font-size: 1.5rem; }

  .pricing-inner { padding: 48px 16px; }
  .pricing-inner h2 { font-size: 1.75rem; }
  .pricing-cards { grid-template-columns: 1fr; max-width: none; }

  .cta-inner { padding: 64px 16px; }
  .cta h2 { font-size: 1.75rem; }
  .cta .waitlist-form { flex-direction: column; width: 100%; }
  .cta .waitlist-form input[type="email"] { width: 100%; }
  .cta .waitlist-form .btn-primary { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; gap: 32px; padding: 32px 16px; }
}

/* Small phones */
@media (max-width: 380px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding-top: 100px; }
  .btn-primary { padding: 10px 20px; font-size: 0.875rem; }
  .btn-primary.btn-lg { padding: 12px 24px; }
}
