:root{
  --bg: #FAF6F0;
  --surface: #FFFFFF;
  --text: #2C1E18;
  --muted: #A8998C;
  --leaf: #B08D7F;
  --leaf-green: #508840;

  --accent: #C06C47;
  --accent-light: #F3E9E2;

  --strict: #4A6B53;
  --strict-light: #EAF0EC;
  --flex: #D49B41;
  --flex-light: #FBF5EB;

  --success: #16A34A;
  --success-light: #DCFCE7;
  --error: #DC2626;
  --error-light: #FEE2E2;
  --reaction: #ee8175;

  --dark: #16241B;
  --dark-2: #1E3327;
  --dark-surface: #2C1E18;
  --on-dark: #FAF6F0;
  --on-dark-muted: rgba(250,246,240,0.62);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-btn: 16px;
  --radius-card: 20px;
  --radius-full: 999px;

  --sp-xs: 4px; --sp-sm: 8px; --sp-md: 16px; --sp-lg: 24px; --sp-xl: 32px;

  --font-display: 'Playfair Display', 'Didot', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg) url('assets/img/leaf-background.jpg') no-repeat;
  background-position: right -80px top -40px;
  background-size: 640px auto;
  color:var(--text);
  font-family:var(--font-body); line-height:1.55; -webkit-font-smoothing:antialiased;
}
@media (max-width:720px){
  body{
    background-position: right -60px top -20px;
    background-size: 280px auto;
  }
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--font-display); font-weight:700; margin:0; letter-spacing:-0.01em; }
p{ margin:0; }
.eyebrow{ font-family:var(--font-mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
.wrap{ max-width:1180px; margin:0 auto; padding:0 var(--sp-lg); }
.wrap-narrow{ max-width:760px; margin:0 auto; padding:0 var(--sp-lg); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:15px;
  padding:14px 26px; border-radius:var(--radius-btn); border:1px solid transparent; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--accent); color:#fff; box-shadow:1px 4px 6px rgba(44,30,24,0.28); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:1px 8px 14px rgba(44,30,24,0.3); }
.btn-ghost{ background:transparent; color:var(--text); border-color:rgba(44,30,24,0.18); }
.btn-ghost:hover{ border-color:var(--text); }
.btn-light{ background:var(--bg); color:var(--accent); }
.btn-light:hover{ transform:translateY(-2px); }
.btn-outline-dark{ background:transparent; color:var(--on-dark); border-color:rgba(250,246,240,0.3); }
.btn-outline-dark:hover{ border-color:var(--on-dark); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:14px; }

section{ padding:96px 0; }
@media (max-width:720px){ section{ padding:60px 0; } }

/* ---------- NAV ---------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,246,240,0.86); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(44,30,24,0.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.nav-brand img{ height:26px; width:auto; }
.nav-links{ display:flex; gap:34px; align-items:center; }
.nav-links a{ font-size:14px; font-weight:500; color:var(--text); opacity:.75; transition:opacity .15s; }
.nav-links a:hover{ opacity:1; }
.nav-cta{ display:flex; gap:12px; align-items:center; }
.nav-cta .btn{ padding:10px 20px; font-size:14px; }
@media (max-width:860px){ .nav-links{ display:none; } }
@media (max-width:480px){
  .nav-brand img{ height:22px; }
  .nav-cta .nav-secondary{ display:none; }
  .nav-cta .btn{ padding:8px 14px; font-size:13px; }
}

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; border:none; background:transparent; cursor:pointer;
  padding:0; margin-left:4px; flex-shrink:0;
}
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition:transform .2s ease, opacity .2s ease; margin:0 auto; }
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display:none; flex-direction:column;
  max-height:0; overflow:hidden;
  background:var(--surface); border-top:1px solid rgba(44,30,24,0.08);
  transition:max-height .25s ease;
}
.mobile-menu a{
  padding:16px var(--sp-lg); font-size:15px; font-weight:500; color:var(--text);
  border-bottom:1px solid rgba(44,30,24,0.06);
}
.mobile-menu.open{ max-height:400px; }

@media (max-width:860px){
  .nav-toggle{ display:flex; }
  .mobile-menu{ display:flex; }
}

/* ---------- MASCOT ---------- */
.guru-avatar{ display:block; }
.guru-float{ animation: guruFloat 4.5s ease-in-out infinite; }
@keyframes guruFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
@media (prefers-reduced-motion: reduce){ .guru-float{ animation:none; } }

.guru-quote{
  display:flex; gap:14px; align-items:flex-start;
  background:var(--strict-light); border-radius:var(--radius-md); padding:16px 18px;
}
.guru-quote img{ width:40px; height:40px; object-fit:contain; flex-shrink:0; margin-top:-2px; }
.guru-quote b{ display:block; color:var(--strict); font-family:var(--font-mono); font-weight:600; font-size:11px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:4px; }
.guru-quote p{ font-size:13.5px; color:var(--text); }

/* ---------- PHONE FRAME (placeholder for real screenshots) ---------- */
.phone-frame{
  width:100%; max-width:280px; margin:0 auto;
  aspect-ratio:1080/2340;
  background:var(--dark-surface);
  border-radius:38px; padding:10px;
  box-shadow:1px 14px 34px rgba(44,30,24,0.28);
  position:relative;
}
.phone-frame .screen{
  width:100%; height:100%; border-radius:28px; overflow:hidden;
  background:var(--surface);
  display:flex; align-items:center; justify-content:center; text-align:center;
  position:relative;
}
.phone-frame .screen img{ width:100%; height:100%; object-fit:cover; }
.phone-frame .screen .placeholder{
  padding:24px; font-family:var(--font-mono); font-size:11px; color:var(--muted);
  letter-spacing:.04em; line-height:1.7;
}
.phone-frame .notch{
  position:absolute; top:10px; left:50%; transform:translateX(-50%);
  width:90px; height:22px; background:var(--dark-surface); border-radius:0 0 14px 14px; z-index:2;
}

/* ---------- FUNNEL / GENERIC SECTIONS ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

.section-dark{
  background: radial-gradient(120% 140% at 15% 0%, var(--dark-2) 0%, var(--dark) 55%);
  color:var(--on-dark);
  position:relative; overflow:hidden;
}
.section-dark::before{
  content:'';
  position:absolute; top:-8%; right:-6%; width:520px; height:520px;
  background: radial-gradient(circle, rgba(80,136,64,0.22) 0%, rgba(80,136,64,0) 70%);
  pointer-events:none;
}
.section-dark::after{
  content:'';
  position:absolute; bottom:-10%; left:-8%; width:420px; height:420px;
  background: radial-gradient(circle, rgba(232,169,139,0.10) 0%, rgba(232,169,139,0) 70%);
  pointer-events:none;
}
.section-dark > *{ position:relative; z-index:1; }
.section-dark h2, .section-dark h3{ color:var(--on-dark); }
.section-dark .eyebrow{ color:#E8A98B; }
.section-dark p{ color:var(--on-dark-muted); }

/* Hook (wide) */
.hook{ padding:120px 0 90px; text-align:center; }
.hook h1{ font-size:clamp(40px,6.2vw,76px); line-height:1.02; max-width:16ch; margin:0 auto; }
.hook h1 em{ font-style:italic; color:var(--accent); }
.hook .hook-sub{ margin:22px auto 0; max-width:52ch; font-size:18px; opacity:.8; }
.hook .hook-actions{ display:flex; gap:14px; justify-content:center; margin-top:34px; flex-wrap:wrap; }
.hook-badges{ display:flex; gap:26px; justify-content:center; margin-top:24px; flex-wrap:wrap; }
@media (max-width:480px){
  .hook-badges{ flex-direction:column; align-items:center; gap:10px; }
}
.hook-badge{ font-size:13px; font-weight:500; opacity:.65; display:flex; align-items:center; gap:7px; }
.hook-badge .dot{ width:5px; height:5px; border-radius:50%; background:var(--strict); }

/* Pain (pull quotes, narrowing) */
.pain-head{ max-width:600px; margin:0 auto 50px; text-align:center; }
.pain-head h2{ font-size:clamp(28px,3.6vw,42px); }
.pull-quote{ max-width:820px; margin:0 auto 56px; text-align:center; }
.pull-quote:last-child{ margin-bottom:0; }
.pull-quote p{
  font-family:var(--font-display); font-style:italic; font-weight:600;
  font-size:clamp(20px,2.6vw,30px); line-height:1.4; color:var(--text);
}
.pull-quote .mark{ font-family:var(--font-display); font-size:52px; color:var(--accent-light); display:block; line-height:0.4; margin-bottom:14px; }
.pull-quote cite{ display:block; margin-top:16px; font-style:normal; font-family:var(--font-mono); font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.pull-quote:nth-child(even){ margin-left:auto; margin-right:0; text-align:right; }
.pull-quote:nth-child(odd){ margin-right:auto; margin-left:0; text-align:left; }
@media (max-width:720px){ .pull-quote:nth-child(even), .pull-quote:nth-child(odd){ margin-left:auto; margin-right:auto; text-align:center; } }

/* Solution (sticky visual + scrolling pairs) */
.solution{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:start; }
@media (max-width:900px){ .solution{ grid-template-columns:1fr; } }
.solution-visual{ position:sticky; top:110px; display:flex; justify-content:center; }
@media (max-width:900px){ .solution-visual{ display:none; } }

.pair-mobile-image{ display:none; }
@media (max-width:900px){
  .pair-mobile-image{
    display:block; margin-bottom:18px; border-radius:var(--radius-card);
    overflow:hidden; box-shadow:1px 6px 22px rgba(44,30,24,0.12);
    max-width:220px;
  }
  .pair-mobile-image img{ width:100%; display:block; }
}
.solution-pair{ padding:52px 0; border-top:1px solid rgba(44,30,24,0.09); min-height:220px; display:flex; flex-direction:column; justify-content:center; }
.solution-pair:first-child{ border-top:none; padding-top:0; }
.solution-pair .pain-line{ font-family:var(--font-mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--flex); margin-bottom:10px; }
.solution-pair h3{ font-size:clamp(22px,2.6vw,28px); max-width:18ch; }
.solution-pair p{ margin-top:14px; font-size:15px; opacity:.76; max-width:44ch; }
.stat-strip{ display:flex; gap:36px; flex-wrap:wrap; margin-top:16px; }
.stat{ }
.stat b{ display:block; font-family:var(--font-display); font-size:26px; }
.stat span{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }

.step-list{ display:flex; flex-direction:column; gap:10px; }
.step-item{ display:flex; align-items:center; gap:12px; font-size:13.5px; }
.step-check{ width:22px; height:22px; border-radius:50%; background:var(--strict); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0; }
.step-check.pending{ background:transparent; border:2px solid rgba(44,30,24,0.18); color:transparent; }
.tag{ display:inline-block; font-size:10.5px; font-family:var(--font-mono); padding:3px 8px; border-radius:var(--radius-full); margin-right:5px; }
.tag.ok{ background:var(--strict-light); color:var(--strict); }
.tag.no{ background:var(--error-light); color:var(--error); }
.tag.flex{ background:var(--flex-light); color:var(--flex); }

.badge-ai{
  display:inline-flex; align-items:center; gap:5px; white-space:nowrap;
  flex-shrink: 0;           /* Förhindrar att flexbox klämmer ihop brickan */
  word-break: keep-all;     /* Förhindrar att ord bryts mitt i */
  hyphens: none;            /* Stänger av automatisk avstavning */
  font-family:var(--font-mono); font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.06em;
  background:linear-gradient(100deg, #EADCF5, #F3E9E2); color:#7A4FA0;
  padding:4px 10px; border-radius:var(--radius-full); margin-left:8px; vertical-align:middle;
}
.badge-human{
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-mono); font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.06em;
  background:var(--strict-light); color:var(--strict);
  padding:4px 10px; border-radius:var(--radius-full); margin-top:6px;
}

/* Trust strip */
.trust-strip{ display:flex; justify-content:center; gap:52px; flex-wrap:wrap; text-align:center; }
@media (max-width:600px){
  .trust-strip{ flex-direction:column; align-items:center; gap:28px; }
}

/* How it works */
.how-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; margin-top:52px; }
@media (max-width:860px){ .how-grid{ grid-template-columns:1fr; gap:36px; } }
.how-num{ font-family:var(--font-display); font-size:44px; font-weight:700; color:rgba(250,246,240,0.16); -webkit-text-stroke:1.4px rgba(232,169,139,0.8); }
.how-step h3{ font-size:20px; margin-top:10px; }
.how-step p{ margin-top:10px; font-size:14.5px; }

/* ---------- PRICING ---------- */
.pricing-head{ text-align:center; max-width:600px; margin:0 auto 20px; }
.pricing-head h2{ font-size:clamp(28px,3.6vw,42px); }
.toggle-wrap{ display:flex; align-items:center; justify-content:center; gap:14px; margin:28px 0 48px; }
.toggle-label{ font-size:14px; font-weight:600; opacity:.55; }
.toggle-label.on{ opacity:1; color:var(--accent); }
.toggle{ width:52px; height:30px; border-radius:var(--radius-full); background:rgba(250,246,240,0.15); position:relative; cursor:pointer; border:none; padding:0; }
.toggle::after{ content:''; position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:var(--accent); transition:transform .25s ease; }
.toggle.yearly::after{ transform:translateX(22px); }
.save-badge{ font-family:var(--font-mono); font-size:10.5px; background:rgba(232,169,139,0.18); color:#E8A98B; padding:3px 8px; border-radius:var(--radius-full); }

.plans{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:720px; margin:0 auto; align-items:stretch; }
@media (max-width:720px){ .plans{ grid-template-columns:1fr; max-width:420px; } }
.plan{
  background:rgba(250,246,240,0.04); border:1px solid rgba(250,246,240,0.12);
  border-radius:var(--radius-card); padding:30px 26px; display:flex; flex-direction:column;
}
.plan.featured{ background:var(--on-dark); color:var(--text); border-color:transparent; box-shadow:1px 12px 34px rgba(0,0,0,0.35); }
.plan.featured .plan-desc{ color:var(--muted); opacity:1; }
.plan.featured p{ color:var(--text); opacity:.7; }
.plan-name{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:#E8A98B; }
.plan.featured .plan-name{ color:var(--accent); }
.plan-price{ font-family:var(--font-display); font-size:38px; font-weight:700; margin:12px 0 2px; }
.plan-period{ font-size:12.5px; opacity:.6; }
.plan-desc{ font-size:13.5px; margin:14px 0 20px; opacity:.75; }
.plan ul{ display:flex; flex-direction:column; gap:10px; margin-bottom:24px; flex:1; }
.plan li{ font-size:13.5px; display:flex; gap:9px; align-items:flex-start; }
.plan li::before{ content:'✓'; color:var(--success); font-weight:700; flex-shrink:0; }
.plan-note{ font-size:11.5px; opacity:.55; text-align:center; margin-top:12px; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; margin:44px auto 0; display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:var(--surface); border-radius:var(--radius-md); padding:6px 24px; box-shadow:1px 2px 8px rgba(44,30,24,0.05); }
.faq-item summary{ cursor:pointer; list-style:none; padding:18px 0; font-weight:600; font-size:15.5px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:22px; color:var(--accent); font-weight:400; transition:transform .2s; flex-shrink:0; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ margin:0 0 20px; font-size:14.5px; opacity:.75; max-width:64ch; }

/* ---------- FINAL CTA ---------- */
.final-cta{ text-align:center; }
.final-cta h2{ font-size:clamp(30px,4.4vw,48px); max-width:16ch; margin:0 auto; }
.final-cta p{ margin:18px auto 32px; max-width:48ch; font-size:16px; }

/* ---------- FOOTER ---------- */
footer.site-footer{ padding:64px 0 40px; }
.foot-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; padding-bottom:32px; border-bottom:1px solid rgba(44,30,24,0.1); }
.foot-brand img{ height:22px; }
.foot-links{ display:flex; gap:40px; flex-wrap:wrap; }
.foot-links h4{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:12px; }
.foot-links a{ display:block; font-size:14px; margin-bottom:8px; opacity:.75; }
.foot-links a:hover{ opacity:1; }
.foot-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:24px; font-size:12.5px; color:var(--muted); }
.disclaimer{ max-width:560px; }

/* ---------- AUTH PAGES (login / account) ---------- */
.auth-wrap{ min-height:calc(100vh - 64px); display:flex; align-items:center; justify-content:center; padding:60px 20px; }
.auth-card{ width:100%; max-width:400px; background:var(--surface); border-radius:var(--radius-card); padding:40px 34px; box-shadow:1px 10px 30px rgba(44,30,24,0.1); }
.auth-card h1{ font-size:26px; text-align:center; }
.auth-card .sub{ text-align:center; font-size:14px; opacity:.65; margin-top:8px; }
.field{ margin-top:20px; }
.field label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:7px; }
.field input{
  width:100%; padding:13px 14px; border-radius:var(--radius-sm); border:1px solid rgba(44,30,24,0.16);
  font-family:var(--font-body); font-size:14.5px; background:var(--bg); color:var(--text);
}
.field input:focus{ outline:none; border-color:var(--accent); background:var(--surface); }
.auth-card .btn{ width:100%; margin-top:26px; }
.auth-switch{ text-align:center; font-size:13.5px; margin-top:22px; opacity:.75; }
.auth-switch a{ color:var(--accent); font-weight:600; }
.auth-divider{ display:flex; align-items:center; gap:12px; margin:22px 0; font-size:12px; color:var(--muted); font-family:var(--font-mono); }
.auth-divider::before, .auth-divider::after{ content:''; flex:1; height:1px; background:rgba(44,30,24,0.12); }

/* Account / subscription management */
.account-shell{ max-width:640px; margin:0 auto; padding:80px 20px 100px; }
.account-head{ display:flex; align-items:center; gap:16px; margin-bottom:36px; }
.account-avatar{ width:52px; height:52px; border-radius:50%; background:var(--accent-light); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; color:var(--accent); font-size:20px; }
.account-card{ background:var(--surface); border-radius:var(--radius-card); padding:28px 26px; box-shadow:1px 4px 14px rgba(44,30,24,0.06); margin-bottom:20px; }
.account-card h3{ font-size:16px; margin-bottom:16px; }
.plan-status{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.plan-status .badge{ display:inline-block; background:var(--strict-light); color:var(--strict); font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em; padding:5px 12px; border-radius:var(--radius-full); margin-bottom:8px; }
.account-row{ display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-top:1px solid rgba(44,30,24,0.07); font-size:14px; }
.account-row:first-of-type{ border-top:none; }
.account-row span:last-child{ color:var(--muted); }

/* ---------- LEGAL / SUPPORT PAGES ---------- */
.legal-hero{ padding:70px 0 20px; text-align:center; }
.legal-hero .eyebrow{ display:block; margin-bottom:10px; }
.legal-hero h1{ font-size:clamp(30px,4.4vw,44px); }
.legal-hero .updated{ margin-top:14px; font-size:13px; color:var(--muted); font-family:var(--font-mono); }
.legal-body{ padding:20px 0 90px; }
.legal-body h2{ font-family:var(--font-body); font-size:18px; font-weight:700; margin-top:38px; margin-bottom:10px; }
.legal-body h2:first-child{ margin-top:0; }
.legal-body p{ font-size:15px; opacity:.78; margin-bottom:14px; }
.legal-placeholder{
  border:1.5px dashed rgba(44,30,24,0.22); border-radius:var(--radius-md);
  padding:16px 18px; font-size:13px; font-family:var(--font-mono); color:var(--muted); margin-bottom:14px;
}

.support-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
@media (max-width:860px){ .support-grid{ grid-template-columns:1fr; } }
.support-card{ background:var(--surface); border-radius:var(--radius-card); padding:28px 24px; box-shadow:1px 4px 14px rgba(44,30,24,0.06); text-align:center; }
.support-card h3{ font-size:16px; margin:12px 0 8px; }
.support-card p{ font-size:13.5px; opacity:.72; margin-bottom:16px; }
