/* Nutshell Software - styles
   Palette: navy #0F172A, slate #1E293B, indigo #6366F1,
            green #10B981, orange #F97316, cream #F6F4EF */

:root {
  --navy: #0F172A;
  --slate: #1E293B;
  --indigo: #6366F1;
  --green: #10B981;
  --orange: #F97316;
  --cream: #F6F4EF;
  --ink: #0F172A;
  --muted: #64748B;
  --muted-light: #94A3B8;
  --line: #E7E2D7;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.35);
  --shadow-soft: 0 8px 24px -12px rgba(15, 23, 42, 0.25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(249, 115, 22, 0.7);
}
.btn-primary:hover { background: #ea6a0c; }

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn-light:hover { background: #f3efe6; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand-name .soft { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a.nav-link { font-weight: 500; color: var(--slate); font-size: 0.95rem; }
.nav a.nav-link:hover { color: var(--navy); }
.nav-cta { margin-left: 6px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(99, 102, 241, 0.25), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(249, 115, 22, 0.18), transparent 55%),
    var(--navy);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
}
.hero h1 .accent { color: var(--orange); }
.hero .lead {
  margin: 22px 0 30px;
  font-size: 1.18rem;
  color: #CBD5E1;
  max-width: 30ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--muted-light);
}

/* floating product preview card */
.hero-card {
  background: linear-gradient(180deg, #16203a, #0c1426);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-card-dot { width: 11px; height: 11px; border-radius: 50%; }
.hero-card-bar {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--muted-light);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 6px;
}
.hero-card-body {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  color: var(--ink);
}
.hcb-row { height: 12px; border-radius: 6px; background: #EEF1F6; margin-bottom: 10px; }
.hcb-row.w70 { width: 70%; }
.hcb-row.w50 { width: 50%; }
.hcb-row.accent { background: linear-gradient(90deg, var(--orange), #fdba74); width: 40%; height: 28px; border-radius: 8px; margin-top: 6px; }
.hcb-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.hcb-tile { aspect-ratio: 1 / 1; border-radius: 10px; background: #F1F5F9; }
.hcb-tile:nth-child(1) { background: rgba(99,102,241,0.16); }
.hcb-tile:nth-child(2) { background: rgba(16,185,129,0.16); }
.hcb-tile:nth-child(3) { background: rgba(249,115,22,0.16); }

/* ---------- Trust / feature strip ---------- */
.strip { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); padding: 0 0 64px; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.strip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #E2E8F0;
}
.strip-item .ic {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
}
.strip-item h4 { margin: 0 0 2px; font-size: 1rem; color: #fff; }
.strip-item p { margin: 0; font-size: 0.9rem; color: var(--muted-light); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 1.1rem; }

/* products */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .pc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: #fff;
}
.pc-icon.indigo { background: var(--indigo); }
.pc-icon.green { background: var(--green); }
.pc-icon.orange { background: var(--orange); }
.pc-icon.slate { background: var(--slate); }
.product-card h3 { font-size: 1.35rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-card p { margin: 0; color: var(--muted); }

.badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-soon { background: rgba(249, 115, 22, 0.14); color: #c2410c; }
.badge-live { background: rgba(16, 185, 129, 0.14); color: #047857; }

/* featured Slipway block */
.featured {
  background: var(--slate);
  color: #fff;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.featured .eyebrow { color: #fff; opacity: 0.85; }
.featured h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.featured .lead { margin: 20px 0 26px; color: #CBD5E1; font-size: 1.12rem; }
.feature-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: #E2E8F0; }
.feature-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(16,185,129,0.18); color: var(--green);
  display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px;
}

/* slipway mock browser */
.slipway-mock {
  background: #0c1426;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mock-bar .url {
  margin-left: 10px; flex: 1; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
}
.mock-screen { border-radius: 12px; overflow: hidden; background: #fff; }
.mock-hero { background: linear-gradient(135deg, var(--indigo), #818cf8); padding: 26px 22px; color: #fff; }
.mock-hero h5 { margin: 0 0 8px; font-size: 1.1rem; }
.mock-hero p { margin: 0; font-size: 0.82rem; opacity: 0.9; }
.mock-pill { display: inline-block; margin-top: 14px; background: #fff; color: var(--indigo); font-size: 0.72rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.mock-body { padding: 18px 22px 24px; }
.mock-body .line { height: 10px; border-radius: 5px; background: #EEF1F6; margin-bottom: 9px; }
.mock-body .line.s { width: 60%; }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.mock-cards div { aspect-ratio: 4/3; border-radius: 8px; background: #F1F5F9; }

/* ---------- Register / sign up ---------- */
.register { background: var(--navy); color: #fff; }
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.register h2 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 700; }
.register .lead { color: #CBD5E1; font-size: 1.12rem; margin: 18px 0 24px; }
.register-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.register-points li { display: flex; gap: 10px; color: #E2E8F0; font-size: 0.98rem; }
.register-points .dot { color: var(--orange); font-weight: 700; }

.signup-card {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
}
.signup-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.signup-card .sub { color: var(--muted); margin: 0 0 22px; font-size: 0.96rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--slate); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid #DCE2EA;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.field textarea { resize: vertical; min-height: 84px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.78rem; color: var(--muted-light); margin: 14px 0 0; text-align: center; }

.form-msg {
  display: none;
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(16,185,129,0.12); color: #047857; border: 1px solid rgba(16,185,129,0.3); }
.form-msg.err { background: rgba(239,68,68,0.1); color: #b91c1c; border: 1px solid rgba(239,68,68,0.25); }

.signup-success { display: none; text-align: center; padding: 18px 0; }
.signup-success.show { display: block; }
.signup-success .check {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: rgba(16,185,129,0.14);
  display: grid; place-items: center; color: var(--green);
}
.signup-success h3 { margin-bottom: 8px; }
.signup-success p { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 56px 0 36px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted-light); }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 0.93rem; margin-bottom: 9px; color: var(--muted-light); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.84rem; color: var(--muted-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .featured-grid, .register-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .lead { max-width: none; }
  .strip-grid, .products { grid-template-columns: 1fr; }
  .nav .nav-link, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open { position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .nav.open .nav-link { display: block; padding: 12px 0; }
  .nav.open .nav-cta { display: inline-flex; margin-top: 8px; }
  .section { padding: 70px 0; }
}
@media (max-width: 540px) {
  .signup-card, .product-card { padding: 24px; }
  .hero { padding: 64px 0 72px; }
}
