:root {
  --ink: #171717;
  --muted: #696969;
  --subtle: #f4f4f2;
  --line: #e7e7e4;
  --accent: #526b61;
  --accent-dark: #40574e;
  --white: #ffffff;
  --page: #fafaf9;
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button { font: inherit; }
:focus-visible { outline: 3px solid #8ca69a; outline-offset: 3px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-180%); background: var(--ink); color: #fff; padding: 11px 14px; border-radius: 9px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); color: #fff; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(250 250 249 / 88%); border-bottom: 1px solid rgb(231 231 228 / 70%); backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 7px; font-size: 20px; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.wordmark-mark { width: 30px; height: 30px; flex: 0 0 auto; background: url("namnlös mapp/17_Superfirar.png") center / contain no-repeat; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #454545; font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links .button { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { color: #fff; background: #303030; transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: #d5d5d1; }
.button.secondary:hover { background: #f0f0ed; color: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

main { overflow: hidden; }
.hero { padding: clamp(70px, 12vw, 148px) 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(42px, 7vw, 104px); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 14px; font-weight: 650; letter-spacing: .02em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 25px; font-size: clamp(50px, 7vw, 84px); line-height: .98; letter-spacing: -.075em; }
.hero-copy { max-width: 530px; margin-bottom: 32px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; letter-spacing: -.02em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.availability { width: 100%; margin: 7px 0 0; color: var(--muted); font-size: 13px; }

.phone-wrap { display: flex; justify-content: center; }
.phone-scene { position: relative; }
.device-frame { position: relative; box-sizing: content-box; width: 300px; flex: 0 0 auto; padding: 7px; overflow: hidden; border: 3px solid #303030; border-radius: 45px; background: #090909; box-shadow: 0 25px 60px rgb(15 15 15 / 20%), inset 0 0 0 2px #747474; }
.device-frame::after { position: absolute; top: 18%; right: -5px; width: 4px; height: 15%; border-radius: 0 3px 3px 0; background: #242424; content: ""; }
.app-preview, .device-frame > img { display: block; width: min(100%, 300px); height: auto; border-radius: 34px; }
.phone { width: min(100%, 292px); padding: 9px; background: #1b1b1b; border: 4px solid #343434; border-radius: 43px; box-shadow: 0 22px 54px rgb(15 15 15 / 14%); }
.phone-screen { min-height: 550px; overflow: hidden; padding: 18px 16px; border-radius: 30px; background: #f8f8f6; }
.phone-island { width: 86px; height: 24px; margin: -10px auto 26px; border-radius: 99px; background: #171717; }
.phone-topline { color: #70706e; font-size: 10px; font-weight: 650; }
.phone-title { margin: 8px 0 22px; font-size: 25px; letter-spacing: -.07em; }
.topic-card, .lesson-card { padding: 14px; border: 1px solid #e5e5e1; border-radius: 15px; background: #fff; }
.topic-card { margin-bottom: 12px; }
.topic-card small, .lesson-card small { color: #777; font-size: 10px; }
.topic-card strong { display: block; margin-top: 5px; font-size: 14px; letter-spacing: -.03em; }
.progress { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: #e9e9e6; }
.progress span { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--accent); }
.lesson-card { display: flex; gap: 10px; align-items: center; }
.play { display: grid; width: 32px; height: 32px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e8efeb; color: var(--accent-dark); font-size: 12px; }
.lesson-card strong { display: block; margin: 3px 0; font-size: 12px; letter-spacing: -.025em; }

.section { padding: clamp(76px, 11vw, 140px) 0; }
.section.alt { background: var(--white); }
.section-heading { max-width: 650px; margin-bottom: 44px; }
.section-heading h2, .privacy-band h2, .cta h2 { margin-bottom: 16px; font-size: clamp(35px, 5vw, 57px); line-height: 1.02; letter-spacing: -.065em; }
.section-heading p, .privacy-band p { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.55; letter-spacing: -.015em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--page); }
.number { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin-bottom: 44px; border-radius: 50%; background: #e9efec; color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.step h3, .feature h3 { margin-bottom: 8px; font-size: 19px; letter-spacing: -.04em; }
.step p, .feature p { margin-bottom: 0; color: var(--muted); line-height: 1.5; font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 190px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-icon { width: 30px; height: 30px; margin-bottom: 24px; color: var(--accent); }
.feature-icon svg { width: 100%; height: 100%; stroke-width: 1.55; fill: none; }
.app-showcase { overflow: hidden; background: #f4f6f4; }
.screenshot-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: clamp(28px, 8vw, 115px); max-width: 820px; margin: 0 auto; }
.shot-card { position: relative; margin: 0; }
.shot-card .device-frame { width: min(100%, 300px); margin: 0 auto; }
.shot-card figcaption { margin-top: 18px; color: var(--muted); text-align: center; font-size: 14px; }
.mascot-quiz { position: absolute; z-index: 2; right: max(-74px, calc(50% - 220px)); bottom: 22px; width: clamp(72px, 9vw, 110px); filter: drop-shadow(0 12px 14px rgb(0 0 0 / 14%)); transform: rotate(-8deg); }
.privacy-band { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 35px; padding: clamp(36px, 6vw, 70px); border-radius: 24px; background: #e9efec; }
.privacy-band p { margin-bottom: 0; }
.cta { padding: clamp(84px, 13vw, 155px) 20px; text-align: center; }
.cta-inner { position: relative; }
.mascot { display: block; width: clamp(108px, 13vw, 170px); height: auto; }
.mascot-celebrate { position: absolute; right: clamp(0px, 7vw, 90px); bottom: -30px; transform: rotate(4deg); }
.cta h2 { font-size: clamp(46px, 7vw, 80px); }
.cta p { margin: -4px auto 27px; color: var(--muted); }

.page-hero { padding: clamp(70px, 11vw, 125px) 0 clamp(50px, 7vw, 84px); }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(46px, 6.3vw, 76px); }
.page-hero p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.legal-layout { max-width: 780px; padding-bottom: clamp(76px, 10vw, 130px); }
.last-updated { margin: 0 0 50px; color: var(--muted); font-size: 14px; }
.prose h2 { margin: 48px 0 13px; font-size: 25px; letter-spacing: -.045em; }
.prose h3 { margin: 25px 0 8px; font-size: 17px; letter-spacing: -.025em; }
.prose p, .prose li { color: #484848; font-size: 16px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 5px; }
.notice { margin: 26px 0; padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: #edf2ef; color: #33463e; line-height: 1.55; }
.contact-block { display: grid; gap: 1px; margin: 30px 0 42px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.contact-item { padding: 18px 20px; background: #fff; }
.contact-item:nth-child(3) { display: none; }
.contact-item strong, .contact-item span { display: block; }
.contact-item strong { margin-bottom: 4px; font-size: 14px; }
.contact-item span { color: var(--muted); font-size: 15px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border: 0; background: none; color: var(--ink); text-align: left; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq-question svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 0 20px; color: var(--muted); line-height: 1.55; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.support-section { margin-top: 50px; }

.site-footer { padding: 48px 0 33px; border-top: 1px solid var(--line); background: #fff; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 46px; }
.footer-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 12px 23px; }
.footer-links a { color: #555; font-size: 14px; text-decoration: none; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav { min-height: 64px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 64px; right: 16px; left: 16px; display: none; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgb(255 255 255 / 98%); box-shadow: 0 14px 35px rgb(0 0 0 / 8%); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 10px 9px; }
  .nav-links .button { margin-top: 4px; }
  .hero { padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 12px; }
  .device-frame { width: 252px; padding: 6px; border-radius: 40px; }
  .app-preview, .device-frame > img { width: 252px; border-radius: 31px; }
  .phone { width: 264px; }
  .phone-screen { min-height: 490px; }
  .steps, .features { grid-template-columns: 1fr; }
  .screenshot-gallery { grid-template-columns: 1fr; gap: 54px; }
  .shot-card .device-frame { width: 252px; }
  .mascot-quiz { right: calc(50% - 163px); bottom: 28px; width: 76px; }
  .step { min-height: auto; }
  .number { margin-bottom: 27px; }
  .feature { min-height: auto; }
  .privacy-band { grid-template-columns: 1fr; align-items: start; }
  .footer-top { display: block; }
  .mascot-celebrate { position: static; width: 126px; margin: 0 auto 18px; transform: none; }
  .footer-links { justify-content: flex-start; margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }
