/* Larsen Commerce – larsencommerce.no */

:root {
  --navy: #0b1f3a;
  --navy-soft: #16314f;
  --blue: #1d5bd8;
  --blue-dark: #1648ab;
  --ink: #1c2733;
  --muted: #5a6b7d;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-soft: 0 4px 14px rgba(11, 31, 58, 0.06);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--blue); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.logo-text {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--blue); }

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(29, 91, 216, 0.10), transparent 60%),
    linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
  padding: 84px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 30px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-trust li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}

.hero-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Browser mockup */

.browser-mock {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.2deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.browser-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6dee8;
}

.browser-url {
  margin-left: 10px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

.browser-body { padding: 18px; }

.mock-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.mock-logo {
  width: 54px;
  height: 12px;
  border-radius: 4px;
  background: var(--navy);
}

.mock-link {
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
}

.mock-link:first-of-type { margin-left: auto; }

.mock-hero { display: grid; gap: 9px; margin-bottom: 18px; }

.mock-title { width: 70%; height: 16px; border-radius: 5px; background: #c9d7ef; }
.mock-text { width: 90%; height: 9px; border-radius: 4px; background: var(--line); }
.mock-text.short { width: 60%; }
.mock-btn { width: 110px; height: 26px; border-radius: 999px; background: var(--blue); margin-top: 4px; }

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.mock-card {
  height: 56px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

/* Demo note */

.demo-note { padding: 34px 0 0; }

.demo-note p {
  margin: 0;
  background: rgba(29, 91, 216, 0.06);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 18px 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.demo-note strong { color: var(--navy); }

/* Sections */

.section { padding: 76px 0; }

.section-alt { background: var(--bg-alt); }

.section-intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 40px;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
}

.card p { color: var(--muted); margin: 0; }

.card-icon { font-size: 1.7rem; margin-bottom: 12px; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}

.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* Pricing */

.price-card { display: flex; flex-direction: column; }

.price-card.featured {
  border: 2px solid var(--blue);
  position: relative;
}

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 16px;
}

.price-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.price-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.price-features li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--bg-alt);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 28px 0 0;
}

/* References */

.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.reference-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
}

.reference-card p { color: var(--muted); }

.reference-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.reference-header h3 { margin: 0; }

.reference-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.reference-placeholder .reference-mark { background: var(--blue); }

.reference-tag {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.reference-link {
  font-weight: 600;
  text-decoration: none;
}

.reference-link:hover { text-decoration: underline; }

/* About */

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
}

.about-photo {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.about-copy p { color: var(--muted); max-width: 58ch; }

/* Contact */

.section-contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
}

.section-contact h2 { color: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p { color: rgba(255, 255, 255, 0.78); }

.contact-details {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-details li { display: grid; gap: 2px; }

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.contact-details a, .contact-details span:not(.contact-label) {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 0.97rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-alt);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
  background: #fff;
}

/* Footer */

.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.8); }

/* Responsive */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .card-grid, .steps { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0; }

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

  .about-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 0;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 13px 24px;
    border-radius: 0;
  }

  .nav-cta {
    margin: 8px 24px 12px;
    border-radius: 999px;
    text-align: center;
  }
}
