/* Shared styles for shrimp-app.com's inner pages: get-started, pricing,
   switching, contact, thanks, privacy, terms. index.html keeps its own inline
   copy; the tokens and patterns here match it, so keep the two in step. */

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

:root {
  --shrimp: #FF5E5B;
  --shrimp-dark: #E04A47;
  --shrimp-soft: #ff9995;
  --navy: #1E1E2F;
  --navy-2: #26263b;
  --navy-3: #32324c;
  --sand: #F8EDE4;
  --white: #ffffff;
  --gray-light: #f4f4f6;
  --line: #e6e4ea;
  --text: #4a4b5c;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--shrimp-soft);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── NAV (same as index) ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(30,30,47,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-weight: 800; font-stretch: 115%; font-size: 1.2rem; letter-spacing: -0.02em;
}
.nav-logo img { width: 32px; height: 32px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.btn-ghost {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.85);
  text-decoration: none; transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-primary {
  background: var(--shrimp); color: var(--white);
  padding: 9px 18px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600; text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn-primary:hover { background: var(--shrimp-dark); transform: translateY(-1px); }

/* ── PAGE HERO: the index hero, shorter, no product card ── */
.page-hero {
  background:
    radial-gradient(700px circle at 78% 20%, rgba(255,94,91,0.16), transparent 60%),
    var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-top: -64px;
  padding: 152px 24px 104px;
}
.page-hero.compact { padding-bottom: 72px; }
.hero-curve {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-curve path {
  fill: none;
  stroke: var(--shrimp);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: .18;
}
.hero-curve path + path { opacity: .08; }
.page-hero-inner { position: relative; max-width: 1160px; margin: 0 auto; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--shrimp-soft);
  font-size: 0.92rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero-kicker::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--shrimp);
  box-shadow: 0 0 0 4px rgba(255,94,91,.2);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  max-width: 820px;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-hero-primary {
  display: inline-block;
  background: var(--shrimp); color: var(--white);
  padding: 15px 28px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 30px rgba(255,94,91,0.35);
  transition: background .15s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn-hero-primary:hover { background: var(--shrimp-dark); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,94,91,0.45); }
.hero-note { margin-top: 22px; font-size: .95rem; color: rgba(255,255,255,.6); }
.hero-note a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.hero-note a:hover { text-decoration-color: var(--white); }
.hero-aside {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .92rem; color: rgba(255,255,255,.55);
  max-width: 560px;
}
.hero-aside a { color: rgba(255,255,255,.9); font-weight: 600; text-decoration: none; }
.hero-aside a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ── SECTIONS (same as index) ── */
.section { padding: 104px 24px; }
.section.tint { background: var(--gray-light); }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-head { max-width: 720px; }
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800; font-stretch: 110%;
  letter-spacing: -0.03em; line-height: 1.08;
  margin-bottom: 16px;
}
.section-sub { font-size: 1.06rem; color: var(--text); line-height: 1.7; }
.section-foot { margin-top: 36px; font-size: 1rem; color: var(--text); max-width: 760px; }
.section-foot a, .text-link { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255,94,91,.45); transition: border-color .15s; }
.section-foot a:hover, .text-link:hover { border-color: var(--shrimp); }

/* numbered steps (index "Up and running") */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 56px;
  counter-reset: step;
  list-style: none;
}
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--shrimp); color: var(--white);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
  z-index: 1;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; left: 56px; right: -24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,94,91,.4) 0 6px, transparent 6px 12px);
}
.step-title { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: .95rem; color: var(--text); line-height: 1.6; }

/* hairline grid (index features) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}
.features-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
  background: var(--white);
}
.feature:hover { background: #fcf8f5; }
.feature-icon {
  width: 28px; height: 28px; margin-bottom: 18px;
  stroke: var(--shrimp); stroke-width: 1.75; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-top .feature-title { margin-bottom: 0; }
.feature-desc { font-size: .93rem; color: var(--text); line-height: 1.6; }
.time {
  flex-shrink: 0;
  font-size: .78rem; font-weight: 600; color: var(--navy);
  background: var(--sand); border-radius: 100px; padding: 3px 10px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* sand panel (index tagline colours) */
.panel {
  margin-top: 56px;
  background: var(--sand);
  border-radius: 20px;
  padding: 40px 40px 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.panel-kicker { font-size: .9rem; font-weight: 700; color: var(--shrimp-dark); margin-bottom: 10px; }
.panel h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800; font-stretch: 108%;
  letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 12px;
}
.panel p { color: var(--text); font-size: 1rem; line-height: 1.7; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: .98rem; line-height: 1.55; }
.ticks svg { width: 20px; height: 20px; margin-top: 2px; stroke: var(--shrimp); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ticks b { font-weight: 700; }

/* two columns of short lists (switching) */
.two-col { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
.mini-steps { list-style: none; counter-reset: mini; display: grid; gap: 16px; }
.mini-steps li { counter-increment: mini; display: grid; grid-template-columns: 32px 1fr; gap: 14px; font-size: .98rem; line-height: 1.55; }
.mini-steps li::before {
  content: counter(mini);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--shrimp); color: var(--white);
  display: grid; place-items: center;
  font-weight: 800; font-size: .85rem;
}
.col-note { margin-top: 22px; font-size: .92rem; color: var(--text); }

/* "Ask us." statement (index tagline) */
.statement { background: var(--sand); padding: 96px 24px; }
.statement-inner { max-width: 820px; margin: 0 auto; }
.statement-quote {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; font-stretch: 108%;
  line-height: 1.12; letter-spacing: -0.03em;
}
.statement-quote .soft { color: rgba(30,30,47,.42); }
.statement-desc { margin-top: 20px; color: var(--text); font-size: 1.08rem; line-height: 1.7; max-width: 600px; }
.statement-actions { margin-top: 32px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.btn-navy {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 15px 30px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30,30,47,.3); }

/* FAQ: native open/close rows, no script */
.faq { margin-top: 48px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px;
  font-size: 1.08rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--shrimp), var(--shrimp)) center / 14px 2px no-repeat,
    linear-gradient(var(--shrimp), var(--shrimp)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--shrimp-dark); }
.faq-body { padding: 0 4px 24px; color: var(--text); font-size: 1rem; line-height: 1.7; max-width: 680px; }

/* CTA band (index) */
.cta-section {
  background: var(--shrimp); color: var(--white);
  padding: 104px 24px;
}
.cta-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; font-stretch: 115%;
  letter-spacing: -0.035em; line-height: 1;
  margin-bottom: 16px;
}
.cta-section p { font-size: 1.1rem; opacity: 0.92; max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cta {
  background: var(--navy); color: var(--white);
  padding: 15px 30px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30,30,47,.3); }
.btn-cta-outline {
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  padding: 13px 26px; border-radius: 12px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn-cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: start; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 30px 60px -40px rgba(30,30,47,.35);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field.wide, .choices { grid-column: 1 / -1; }
.field label, .choices legend { font-size: .95rem; font-weight: 700; color: var(--navy); }
.opt { font-weight: 500; color: rgba(74,75,92,.75); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--white);
  border: 1.5px solid #d9d6df; border-radius: 12px;
  padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255,94,91,.18);
}
.choices { border: 0; display: grid; gap: 10px; }
.choices legend { margin-bottom: 10px; }
.choice-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid #d9d6df;
  font-weight: 600; font-size: .98rem;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice span::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #b9b5c2; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.choice:hover span { border-color: rgba(30,30,47,.4); }
.choice input:checked + span { border-color: var(--navy); background: #fbf6f2; }
.choice input:checked + span::before { border-color: var(--shrimp); box-shadow: inset 0 0 0 4px var(--white); background: var(--shrimp); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(255,94,91,.25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.btn-submit {
  font: inherit; font-size: 1.02rem; font-weight: 700;
  background: var(--shrimp); color: var(--white);
  border: 0; border-radius: 12px; cursor: pointer;
  padding: 15px 34px;
  box-shadow: 0 8px 24px rgba(255,94,91,0.3);
  transition: background .15s, transform .2s var(--ease-out), opacity .2s;
}
.btn-submit:hover { background: var(--shrimp-dark); transform: translateY(-1px); }
.btn-submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-note { font-size: .92rem; color: var(--text); }
.form-error {
  grid-column: 1 / -1;
  background: #fdecec; color: #9b2c2a;
  border-radius: 12px; padding: 12px 14px;
  font-size: .95rem; font-weight: 600;
}
.form-error[hidden] { display: none; }
.form-done { text-align: left; padding: 8px 0; }
.form-done[hidden] { display: none; }
.form-done .done-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--shrimp); display: grid; place-items: center; margin-bottom: 20px;
}
.form-done .done-icon svg { width: 24px; height: 24px; stroke: var(--white); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.form-done h2 { font-size: 1.7rem; font-weight: 800; font-stretch: 108%; letter-spacing: -.02em; margin-bottom: 10px; }
.form-done p { color: var(--text); font-size: 1.02rem; }
.form-done p + p { margin-top: 12px; }
.aside-block + .aside-block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.aside-block h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.aside-block p { color: var(--text); font-size: .98rem; }
.aside-block a { color: var(--navy); font-weight: 700; }

/* ── DOCUMENT PAGES (privacy, terms) ── */
.doc { max-width: 1160px; margin: 0 auto; }
.doc > section { max-width: 760px; }
.doc-meta { color: var(--text); font-size: .95rem; margin-bottom: 8px; }
.doc section { padding: 36px 0; border-top: 1px solid var(--line); }
.doc section:first-of-type { border-top: 0; padding-top: 0; }
.doc h2 { font-size: 1.4rem; font-weight: 800; font-stretch: 105%; letter-spacing: -.02em; margin-bottom: 14px; }
.doc p, .doc li { color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; display: grid; gap: 10px; margin-top: 14px; }
.doc ul:first-child { margin-top: 0; }
.doc li::marker { color: var(--shrimp); }
.doc b { color: var(--navy); }
.doc a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,94,91,.6); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--shrimp); }

/* ── FOOTER (index, links wrap on narrow screens) ── */
footer { background: var(--navy); color: rgba(255,255,255,0.5); padding: 40px 24px; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85); font-weight: 800; font-stretch: 115%;
  text-decoration: none;
}
.footer-logo img { width: 24px; height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: .88rem; transition: color .15s; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: rgba(255,255,255,0.9); }
.footer-copy { font-size: .82rem; }

/* ── RESPONSIVE (index breakpoints) ── */
@media (max-width: 960px) {
  .page-hero { padding: 120px 24px 88px; }
  .page-hero.compact { padding-bottom: 64px; }
  .steps, .steps.four { grid-template-columns: 1fr; gap: 36px; }
  .step:not(:last-child)::after { display: none; }
  .step { padding-top: 0; padding-left: 64px; min-height: 44px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; gap: 28px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 0 16px; }
  .btn-ghost { display: none; }
  .page-hero { padding: 104px 16px 72px; }
  .page-hero.compact { padding-bottom: 56px; }
  .section, .cta-section { padding: 72px 16px; }
  .statement { padding: 64px 16px; }
  .features-grid, .features-grid.two { grid-template-columns: 1fr; }
  .feature { padding: 28px 22px 30px; }
  .panel { padding: 28px 22px 30px; border-radius: 16px; margin-top: 40px; }
  .form-card { padding: 24px 18px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .choice-row { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; }
  .hero-actions .btn-hero-primary { width: 100%; text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}
