/* Caelum Sverige - se-overrides.css
   Tight Swedish-site stylesheet that pulls from caelum.css brand tokens.
   Visual language: editorial, dry, confident. Oatly-without-cheek for Swedish hemtjänst VDs. */

/* ----- Layout ----- */
.se-section { padding: 96px 0; }
.se-section[data-surface="alt"] { background: var(--cream); }

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

/* ----- Nav ----- */
.se-nav {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.se-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.se-logo img { height: 28px; }
.se-nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.se-nav-links a {
  color: var(--text); transition: color 0.15s;
}
.se-nav-links a:hover { color: var(--gold); }
.se-nav-cta {
  background: var(--navy);
  color: var(--cream-light) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.se-nav-cta:hover {
  background: var(--navy-deep);
  color: var(--cream-light) !important;
}

@media (max-width: 720px) {
  .se-nav-links { gap: 14px; font-size: 13px; }
  .se-nav-links a:not(.se-nav-cta) { display: none; }
  .se-nav-cta { padding: 8px 14px; }
}

/* ----- Hero ----- */
.se-hero {
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--border);
}
.se-counter-row {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(184, 160, 76, 0.1);
  border: 1px solid var(--border-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 32px;
}
.se-counter-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.se-h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
  max-width: 18ch;
}
.se-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.se-sub {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 56ch;
  margin-bottom: 40px;
}

.se-hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}

.se-cta {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: all 0.15s;
  border: 1.5px solid transparent;
}
.se-cta-primary {
  background: var(--navy);
  color: var(--cream-light) !important;
}
.se-cta-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}
.se-cta-secondary {
  background: var(--cream-light);
  color: var(--navy) !important;
  border-color: var(--navy);
}
.se-cta-secondary:hover {
  background: var(--navy);
  color: var(--cream-light) !important;
}
.se-cta-ghost {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--border);
}
.se-cta-ghost:hover {
  border-color: var(--navy);
  background: var(--cream-light);
}

.se-hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 64ch;
  line-height: 1.5;
}

/* ----- Section titles ----- */
.se-section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 22ch;
  margin-bottom: 48px;
}

/* ----- Truth section ----- */
.se-truth-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--navy);
  max-width: 38ch;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 64px;
}

/* ----- Incumbent grid ----- */
.se-incumbent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.se-incumbent {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 8px;
}
.se-incumbent h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.se-incumbent p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ----- Pillar grid ----- */
.se-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.se-pillar {
  background: var(--cream-light);
  border: 1px solid var(--border);
  padding: 36px 32px;
  border-radius: 8px;
  position: relative;
}
.se-pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.se-pillar h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.se-pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.se-pillar p:last-child { margin-bottom: 0; }
.se-pillar-proof {
  font-size: 13px !important;
  color: var(--navy) !important;
  background: var(--warm-white);
  padding: 14px 16px;
  border-radius: 6px;
  border-left: 2px solid var(--gold);
}

/* ----- Grundande section ----- */
.se-grund-intro {
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy);
  max-width: 60ch;
  margin-bottom: 24px;
}
.se-grund-intro:last-of-type { margin-bottom: 40px; }
.se-charter-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.se-decline-note {
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 60ch;
}

/* ----- Credibility ----- */
.se-credibility p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  max-width: 60ch;
  margin-bottom: 16px;
}
.se-credibility a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ----- Footer ----- */
.se-footer {
  background: var(--navy);
  color: var(--cream-light);
  padding: 64px 0 40px;
}
.se-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 720px) {
  .se-footer-inner { grid-template-columns: 1fr; }
}
.se-footer-logo {
  height: 28px;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.se-footer-tag {
  font-size: 14px;
  color: rgba(242, 237, 228, 0.7);
}
.se-footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 228, 0.6);
  margin-bottom: 16px;
}
.se-footer a {
  display: block;
  color: var(--cream-light);
  font-size: 14.5px;
  margin-bottom: 8px;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.se-footer a:hover { opacity: 1; }
.se-footer-legal {
  font-size: 12px;
  color: rgba(242, 237, 228, 0.5);
  border-top: 1px solid rgba(242, 237, 228, 0.1);
  padding-top: 24px;
  max-width: 80ch;
  line-height: 1.55;
}

/* ----- Pricing tables (used on priser.html) ----- */
.se-price-toggle {
  display: inline-flex;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 40px;
}
.se-price-toggle-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.se-price-toggle-btn.active {
  background: var(--navy);
  color: var(--cream-light);
}

.se-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}
.se-price-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: 12px;
  display: flex; flex-direction: column;
}
.se-price-card[data-recommended] {
  border-color: var(--gold);
  border-width: 2px;
  position: relative;
}
.se-price-card[data-recommended]::before {
  content: "Mest valt";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.se-price-tier-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.se-price-tier-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.se-price-amount {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.se-price-amount-unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.se-price-savings {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 24px;
}
.se-price-features {
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.se-price-features li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 4px;
}
.se-price-features li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ----- Comparison table ----- */
.se-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 48px;
}
.se-compare-table th, .se-compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.se-compare-table th {
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.se-compare-table td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.se-compare-table tr:last-child td { border-bottom: none; }
.se-compare-highlight {
  background: rgba(184, 160, 76, 0.06);
}

/* ----- Recoupment box ----- */
.se-recoup {
  background: var(--navy);
  color: var(--cream-light);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 64px;
}
.se-recoup h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--cream-light);
}
.se-recoup-math {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.se-recoup-stat {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}
.se-recoup-stat-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.se-recoup-stat-label {
  font-size: 13px;
  color: rgba(242, 237, 228, 0.7);
  line-height: 1.45;
}

/* ----- Charter list (grundande-medlemmar.html) ----- */
.se-charter-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}
.se-charter-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 8px;
  display: flex;
  gap: 20px;
}
.se-charter-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.se-charter-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.se-charter-content p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ----- Application form ----- */
.se-form {
  max-width: 640px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 12px;
}
.se-form-field {
  margin-bottom: 24px;
}
.se-form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.se-form-field input,
.se-form-field select,
.se-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--navy);
  background: var(--warm-white);
  transition: border-color 0.15s;
}
.se-form-field input:focus,
.se-form-field select:focus,
.se-form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.se-form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.se-form-field-help {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.45;
}
.se-form-submit {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--cream-light);
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
}
.se-form-submit:hover { background: var(--navy-deep); }

/* ----- Reg cliff timeline ----- */
.se-cliff-timeline {
  position: relative;
  padding-left: 32px;
  margin-bottom: 64px;
}
.se-cliff-timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
}
.se-cliff-event {
  position: relative;
  padding-bottom: 40px;
}
.se-cliff-event::before {
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--gold);
  border: 2px solid var(--cream-light);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--navy);
}
.se-cliff-date {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.se-cliff-event h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.se-cliff-event p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ----- Hero visual ----- */
.se-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) {
  .se-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Rodeo section (founder credibility with portrait) ----- */
.se-rodeo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.se-rodeo-visual img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 32px -12px rgba(26, 43, 74, 0.15);
}
.se-rodeo-text .se-credibility p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  max-width: 56ch;
  margin-bottom: 16px;
}
@media (max-width: 920px) {
  .se-rodeo-grid { grid-template-columns: 1fr; gap: 32px; }
  .se-rodeo-visual { order: -1; max-width: 320px; }
}

/* Active nav state */
.se-nav-links a.active {
  color: var(--gold);
  font-weight: 600;
}
.se-nav-links a.active.se-nav-cta {
  color: var(--cream-light) !important;
}

/* Grundande section two-column layout (image left, text right) */
.se-grund-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.se-grund-visual img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgba(26, 43, 74, 0.25);
  border: 1px solid var(--border);
}
@media (max-width: 920px) {
  .se-grund-grid { grid-template-columns: 1fr; gap: 32px; }
  .se-grund-visual { order: -1; }
}
.se-hero-visual {
  position: relative;
}
.se-hero-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 48px -12px rgba(26, 43, 74, 0.2);
  border: 1px solid var(--border);
}
.se-hero-visual::before {
  content: "";
  position: absolute;
  top: -16px; right: -16px;
  width: 120px; height: 120px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(40px);
  z-index: -1;
}

/* ----- Product showcase ----- */
.se-product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.se-product-row:last-child { margin-bottom: 0; }
.se-product-row.reverse {
  grid-template-columns: 1fr 1fr;
}
.se-product-row.reverse .se-product-text { order: 2; }
.se-product-row.reverse .se-product-visual { order: 1; }
@media (max-width: 920px) {
  .se-product-row, .se-product-row.reverse { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .se-product-row.reverse .se-product-text { order: 1; }
  .se-product-row.reverse .se-product-visual { order: 2; }
}
.se-product-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.se-product-text h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.se-product-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.se-product-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 32px -12px rgba(26, 43, 74, 0.15);
  border: 1px solid var(--border);
}

/* ----- Founder portrait ----- */
.se-founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.se-founder:last-of-type { border-bottom: none; }
@media (max-width: 720px) {
  .se-founder { grid-template-columns: 1fr; gap: 24px; }
}
.se-founder-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.se-founder-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.se-founder-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.se-founder-bio p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.se-founder-bio p:last-child { margin-bottom: 0; }

/* ----- Misc ----- */
.se-prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  max-width: 64ch;
  margin-bottom: 20px;
}
.se-prose h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.se-prose h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}
