/* MorCommerce — shared styles */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #060F1E;
  --navy-900: #0A1628;
  --navy-800: #11223D;
  --navy-700: #1B3256;
  --navy-500: #4A6185;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --teal: #14B8A6;
  --teal-300: #5EEAD4;
  --teal-700: #0F766E;
  --teal-50: #F0FDFA;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 22, 40, .06), 0 8px 24px rgba(10, 22, 40, .06);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-900);
  background: var(--white);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
h3, .h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 800px; }
.center { text-align: center; }
.center > * { margin-left: auto; margin-right: auto; }
.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; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--navy-900); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-primary { background: var(--teal); color: var(--navy-950); }
.btn-primary:hover { background: var(--teal-300); color: var(--navy-950); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-on-dark { color: var(--white); border-color: rgba(255,255,255,.4); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 22, 40, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 650; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo:hover { color: var(--white); }
.logo b { color: var(--teal); font-weight: 650; }
.logo-mark { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; }
.site-nav ul a { color: #C3CEDF; text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--white); }
.site-nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle .i-close { display: none; }

/* Hero */
.hero, .page-hero {
  position: relative; color: var(--white); background-color: var(--navy-900);
  background-image:
    radial-gradient(60% 80% at 85% 0%, rgba(20,184,166,.18), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .lead, .page-hero .lead { color: #C3CEDF; font-size: 1.14rem; max-width: 620px; }
.page-hero { padding: 76px 0 72px; }
.page-hero-sm { padding: 60px 0 52px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero .meta { color: #8DA0BD; font-size: .9rem; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 650; color: var(--teal-700); margin-bottom: 14px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--teal-300); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions-center { justify-content: center; }
.page-hero .center .lead { margin-left: auto; margin-right: auto; }

.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 24px 24px 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.panel-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #8DA0BD; font-weight: 600; margin-bottom: 8px; }

/* Summary tables */
.summary { width: 100%; border-collapse: collapse; font-size: .95rem; }
.summary th, .summary td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.summary th { font-weight: 500; color: var(--slate-500); padding-right: 16px; }
.summary td { font-weight: 600; text-align: right; }
.summary tr:last-child th, .summary tr:last-child td { border-bottom: 0; }
.summary-dark th { color: #8DA0BD; }
.summary-dark td { color: var(--white); }
.summary-dark th, .summary-dark td { border-color: rgba(255,255,255,.1); }
.summary-dark tr:nth-child(2) td { color: var(--teal-300); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; letter-spacing: .02em; }

/* Strip */
.strip { background: var(--navy-950); color: #C3CEDF; border-top: 1px solid rgba(255,255,255,.06); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.strip-grid > div { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.45; }
.strip-grid .icon { color: var(--teal); margin-top: 1px; }
.strip-grid strong { color: var(--white); display: block; font-weight: 600; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--slate-600); font-size: 1.06rem; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 28px; transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #CBD5E1; box-shadow: var(--shadow); }
.card p { color: var(--slate-600); margin: 0; font-size: .97rem; }
.card-icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-700); margin-bottom: 18px;
}

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--slate-600); margin: 0; font-size: .97rem; }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-900); color: var(--teal-300); font-weight: 700; font-size: .95rem; margin-bottom: 18px;
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 32px; text-decoration: none; }

/* Flow */
.flow { list-style: none; max-width: 860px; }
.flow li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 36px; position: relative; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 6px; width: 2px; background: var(--slate-200); }
.flow-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--navy-900); color: var(--teal-300); display: grid; place-items: center; }
.flow p { color: var(--slate-600); margin: 0; }
.flow h3 { margin-top: 12px; }

/* Matrix table */
.table-wrap { overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--white); }
.matrix { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .96rem; }
.matrix th, .matrix td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--slate-100); }
.matrix thead th { background: var(--navy-900); color: var(--white); font-weight: 600; font-size: .88rem; letter-spacing: .02em; }
.matrix tbody th { font-weight: 500; }
.matrix tbody td { color: var(--slate-600); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }

/* Methods */
.methods { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.methods p { margin: 0; color: var(--slate-500); font-size: .9rem; font-weight: 500; }
.methods ul { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.methods li { border: 1px solid var(--slate-200); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; color: var(--navy-700); }

/* Callouts and panels */
.billing-callout { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.billing-callout h2 { font-size: 1.4rem; margin-bottom: .3em; }
.billing-callout p { margin: 0; color: var(--slate-600); }
.callout-icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--navy-900); color: var(--teal-300); }
.panel { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; }
.panel p:last-child { margin-bottom: 0; }
.panel-accent { background: var(--teal-50); border-color: #99F6E4; }
.panel-accent .callout-icon { margin-bottom: 16px; }
.note { margin-top: 28px; color: var(--slate-600); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-form { grid-template-columns: 1.3fr .7fr; }

.checklist { list-style: none; display: grid; gap: 14px; margin: 0 0 1.2em; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.icon-check { color: var(--teal); margin-top: 1px; }
.checklist-lg { gap: 26px; font-size: 1.05rem; }
.checklist-lg strong { display: block; margin-bottom: 2px; }

.link-list { list-style: none; border-top: 1px solid var(--slate-200); }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--slate-200); text-decoration: none; font-weight: 600; color: var(--navy-900); }
.link-list a:hover { color: var(--teal-700); }

/* FAQ */
.faq { border-bottom: 1px solid var(--slate-200); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.4rem; color: var(--teal-700); font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq div { color: var(--slate-600); padding-bottom: 8px; }

/* Prose & legal */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #334155; }
.prose ul { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc p { font-weight: 650; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--slate-500); }
.toc ol { padding-left: 1.2em; display: grid; gap: 8px; color: var(--slate-500); }
.toc a { color: var(--slate-600); text-decoration: none; }
.toc a:hover { color: var(--teal-700); }
.legal section { scroll-margin-top: 90px; }
.legal section + section { margin-top: 2em; }
.legal h2 { font-size: 1.2rem; }

/* Form */
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 32px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.opt { color: var(--slate-500); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--navy-900); background: var(--white);
  border: 1.5px solid #CBD5E1; border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }
.form .btn { justify-self: start; }
.fine { font-size: .85rem; color: var(--slate-500); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-side { display: grid; gap: 16px; }
.contact-side .card-icon { margin-bottom: 12px; }
.contact-side h2 { margin-bottom: .3em; }

/* CTA band */
.cta-band { background: var(--navy-900); color: var(--white); background-image: radial-gradient(50% 120% at 100% 50%, rgba(20,184,166,.2), transparent 60%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { color: #C3CEDF; margin: 0; }

/* Footer */
.site-footer { background: var(--navy-950); color: #8DA0BD; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand p { margin: 16px 0; max-width: 300px; }
.footer-brand address { line-height: 1.7; }
.footer-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--white); font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #C3CEDF; text-decoration: none; }
.site-footer a:hover { color: var(--teal-300); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 28px; font-size: .85rem; }
.footer-base p { margin: 0; }
.footer-base strong { color: var(--white); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; letter-spacing: .02em; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px 24px 24px;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: none; color: var(--teal-300); padding-bottom: 14px; }
  .site-nav .btn { margin-top: 18px; }
  .nav-open .site-nav { display: flex; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .hero-grid, .split, .split-form, .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 20px; }
  .billing-callout { grid-template-columns: 1fr; text-align: left; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 52px 0 48px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-4, .steps-4, .strip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .summary td { text-align: left; }
  .summary th, .summary td { display: block; padding: 0; border: 0; }
  .summary th { padding-top: 12px; font-size: .85rem; }
  .summary td { padding-bottom: 12px; border-bottom: 1px solid var(--slate-200); }
  .summary-dark td { border-color: rgba(255,255,255,.1); }
  .summary tr:last-child td { border-bottom: 0; }
  .form { padding: 22px; }
  .flow li { grid-template-columns: 44px 1fr; gap: 16px; }
  .flow-icon { width: 44px; height: 44px; border-radius: 12px; }
  .flow li:not(:last-child)::before { left: 21px; top: 50px; }
  .flow h3 { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover { transform: none; }
}
