﻿:root {
  --bg: #eceff1;
  --bg-soft: #f5f7f8;
  --panel: #ffffff;
  --ink: #1a232d;
  --muted: #6d7882;
  --line: #dce4ea;
  --teal: #62d6c5;
  --teal-deep: #258f81;
  --blue: #3fa3e5;
  --orange: #f4b74a;
  --coral: #f27860;
  --pink: #ea708d;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(10, 30, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle at 14% 22%, rgba(0, 0, 0, 0.032) 0 18%, transparent 18.5%),
    radial-gradient(circle at 84% 33%, rgba(0, 0, 0, 0.02) 0 11%, transparent 11.5%),
    linear-gradient(140deg, transparent 36%, rgba(0, 0, 0, 0.018) 36% 52%, transparent 52%),
    var(--bg);
}

.shape {
  position: fixed;
  pointer-events: none;
  z-index: -2;
  filter: blur(0.2px);
}

.shape-orange {
  width: 110px;
  height: 110px;
  top: -20px;
  left: -18px;
  border-radius: 18px;
  background: #f0a657;
  transform: rotate(34deg);
}

.shape-teal {
  width: 88px;
  height: 170px;
  bottom: 78px;
  left: -24px;
  border-radius: 20px;
  background: #22a58f;
  transform: rotate(-11deg);
}

.shape-blue {
  width: 84px;
  height: 180px;
  right: -20px;
  top: 30%;
  border-radius: 32px;
  background: #298fd6;
}

.site-header {
  max-width: 1260px;
  margin: 0 auto;
  padding: 1.1rem 1.1rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-name {
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.34rem;
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.header-cta {
  border: 1px solid #d2e9e4;
  border-radius: 12px;
  background: var(--teal);
  color: #07393b;
  font-weight: 800;
  font-size: 0.94rem;
  padding: 0.58rem 0.92rem;
  cursor: pointer;
}

.link-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.login-top-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.38rem 0.74rem;
  cursor: pointer;
}

.auth-badge {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
}

.site-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.1rem 1.4rem;
}

.landing-wrap {
  display: grid;
  gap: 1.2rem;
}

.hero-copy {
  text-align: center;
  padding-top: 1.3rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(2.2rem, 6.1vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero-copy p {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.36rem);
  max-width: 730px;
}

.hero-actions {
  margin-top: 1.35rem;
}

.hero-primary {
  border: none;
  border-radius: 14px;
  padding: 0.84rem 1.24rem;
  background: var(--teal);
  color: #073f42;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
}

.hero-phone-stage {
  margin-top: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 1rem;
  min-height: 420px;
}

.phone-mock {
  width: 222px;
  height: 438px;
  border-radius: 34px;
  background: #fdfdfd;
  border: 10px solid #fff;
  box-shadow: 0 16px 36px rgba(10, 30, 43, 0.16);
  position: relative;
  overflow: hidden;
}

.phone-left {
  transform: rotate(-8deg) translateY(14px);
}

.phone-right {
  transform: rotate(8deg);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 10px;
  border-radius: 999px;
  background: #111;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  padding: 1.15rem 0.8rem 0.8rem;
  background:
    radial-gradient(circle at 97% 4%, rgba(244, 183, 74, 0.3) 0 11%, transparent 11.5%),
    radial-gradient(circle at 0% 96%, rgba(98, 214, 197, 0.34) 0 15%, transparent 15.5%),
    #f4f6f7;
}

.phone-screen h3 {
  margin: 0.28rem 0 0.44rem;
  font-size: 1rem;
}

.phone-screen img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d8e2e8;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #fff;
}

.mini-bars {
  margin-top: 0.75rem;
  height: 88px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.28rem;
}

.mini-bars span {
  border-radius: 6px 6px 0 0;
}

.mini-bars span:nth-child(-n + 3) {
  background: linear-gradient(180deg, #f8ba63 0%, #f27d62 100%);
}

.mini-bars span:nth-child(n + 4) {
  background: linear-gradient(180deg, #69d9ca 0%, #2ca191 100%);
}

.mini-gauge {
  position: relative;
  margin-top: 0.7rem;
  width: 134px;
  height: 134px;
  border-radius: 50%;
  background: conic-gradient(#f27961 0 112deg, #f3b458 112deg 220deg, #62d6c5 220deg 345deg, #e2e8ed 345deg 360deg);
  display: grid;
  place-items: center;
}

.mini-gauge::before {
  content: "";
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
}

.mini-gauge-value {
  position: absolute;
  font-weight: 800;
  font-size: 1.2rem;
}

.mini-caption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.65rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 0.72rem;
}

.feature-card h4 {
  margin: 0;
  font-size: 1rem;
}

.feature-card p {
  margin: 0.32rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-login-cta {
  margin: 0.15rem auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
  width: min(460px, 100%);
}

.landing-login-cta h3 {
  margin: 0;
  font-size: 1.6rem;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
}

.landing-login-cta p {
  margin: 0.32rem 0 0.7rem;
  color: var(--muted);
}

.login-panel {
  margin-top: 0.12rem;
  display: flex;
  justify-content: center;
}

.login-card {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.login-card h2 {
  margin: 0 0 0.2rem;
}

.login-page-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.2rem 1rem 2rem;
}

.login-page-wrap {
  display: grid;
  gap: 0.85rem;
}

.login-page-copy {
  text-align: center;
}

.login-page-copy h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06;
}

.login-page-copy p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.login-page-panel {
  display: flex;
  justify-content: center;
}

.login-page-card {
  width: min(500px, 100%);
}

.login-page-status {
  margin-top: 0.6rem;
  min-height: 1.2em;
}

label {
  display: block;
  margin-top: 0.7rem;
  margin-bottom: 0.28rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.64rem 0.72rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #9ecdd4;
  box-shadow: 0 0 0 3px rgba(98, 214, 197, 0.22);
}

.button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.9rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  background: #fff;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(12, 31, 46, 0.1);
  border-color: #c5d5dd;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-primary {
  background: var(--teal);
  color: #063e41;
  border-color: #66d7c8;
}

.button-ghost {
  background: #fff;
  color: var(--ink);
}

.button-danger {
  background: #fff2f1;
  border-color: #f0c6bf;
  color: #96493c;
}

.button-sm {
  padding: 0.3rem 0.56rem;
  font-size: 0.84rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.status-text {
  margin: 0.55rem 0 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-text.ok {
  color: #267f73;
}

.status-text.warn {
  color: #966e31;
}

.status-text.error {
  color: #b14646;
}

.muted {
  color: var(--muted);
}

.panel,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.hidden {
  display: none !important;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.app-eyebrow {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.app-header h2 {
  margin: 0.2rem 0 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.tab-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.86rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.tab-button.active {
  border-color: #9fded4;
  background: #e8fbf7;
  color: #104f55;
}

.tab-section {
  margin-top: 0.8rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.section-head h2,
.section-head h3 {
  margin: 0;
}

.home-shell h2 {
  margin: 0;
}

.module-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0.62rem;
}

.module-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem 0.8rem;
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 0.64rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
}

.module-teal::before {
  background: var(--teal);
}

.module-gold::before {
  background: var(--orange);
}

.module-blue::before {
  background: var(--blue);
}

.module-pink::before {
  background: var(--pink);
}

.module-orange::before {
  background: var(--coral);
}

.module-icon {
  font-size: 1rem;
}

.module-copy {
  display: grid;
}

.module-copy strong {
  font-size: 1rem;
}

.module-copy small {
  color: var(--muted);
  font-size: 0.79rem;
}

.recommend-card {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.74rem;
}

.recommend-card h3 {
  margin: 0;
  font-size: 1rem;
}

.recommend-card ul {
  margin: 0.56rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.recommend-card li {
  border: 1px solid #e4eaef;
  border-radius: 11px;
  padding: 0.55rem 0.62rem;
  background: #f8fbfd;
  cursor: pointer;
}

.home-stats {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.56rem;
}

.home-stats article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.6rem;
}

.home-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.home-stats strong {
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 1.22rem;
}

.slot-banner {
  margin-top: 0.8rem;
  border: 1px solid #c8e5df;
  border-radius: 12px;
  background: #f0fbf8;
  padding: 0.66rem;
}

.slot-banner h4 {
  margin: 0;
}

.slot-banner p {
  margin: 0.25rem 0 0;
  color: #2f6860;
}

.theory-shell > p {
  margin: -0.2rem 0 0.56rem;
}

.score-chart {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafb;
  display: grid;
  grid-template-columns: repeat(10, minmax(12px, 1fr));
  align-items: end;
  gap: 0.4rem;
  padding: 0.64rem;
}

.score-bar {
  border-radius: 7px 7px 0 0;
}

.bar-warm {
  background: linear-gradient(180deg, #f8bb66 0%, #f27e62 100%);
}

.bar-cool {
  background: linear-gradient(180deg, #66d8cb 0%, #2a9f8f 100%);
}

.legend {
  margin: 0.52rem 0 0.74rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.25rem;
}

.legend-warm {
  background: #f48b63;
}

.legend-cool {
  background: #4ec8b9;
}

.result-shell {
  margin-top: 1rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.8rem;
}

.result-top {
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

.result-top h3 {
  margin: 0 0 0.5rem;
}

.result-gauge {
  --pct: 0;
  width: 248px;
  height: 126px;
  position: relative;
  overflow: hidden;
}

.result-gauge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 248px;
  height: 248px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    #f37f64 0deg,
    #f2bb57 82deg,
    #64d7c7 calc(var(--pct) * 1.8deg),
    #dfe7ec calc(var(--pct) * 1.8deg),
    #dfe7ec 180deg,
    transparent 180deg
  );
}

.result-gauge::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 26px;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: #fff;
}

.result-gauge-center {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  z-index: 2;
}

.result-gauge-center strong {
  display: block;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 2rem;
}

.result-gauge-center span {
  color: var(--muted);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.62rem;
}

.result-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem;
}

.result-stat h4 {
  margin: 0 0 0.25rem;
}

.result-stat p {
  margin: 0;
}

.result-stat small {
  color: var(--muted);
}

.result-media,
.result-tips {
  margin-top: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem;
}

.result-media h4,
.result-tips h4 {
  margin: 0 0 0.45rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 0.55rem;
}

.video-card {
  border: 1px solid #e3e9ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fafbfc;
}

.video-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-card p {
  margin: 0;
  padding: 0.42rem 0.5rem 0.52rem;
  font-size: 0.86rem;
}

.result-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.66rem;
  align-items: start;
}

.result-tips img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e3e9ee;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.result-tips ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.result-tips li {
  border: 1px solid #e5ebef;
  border-radius: 11px;
  padding: 0.5rem;
  background: #fafcfd;
}

.result-tips strong {
  display: block;
  margin-bottom: 0.16rem;
}

.result-tips span {
  color: var(--muted);
  font-size: 0.88rem;
}

.question-shell {
  max-width: 780px;
  margin: 0 auto;
}

.question-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.question-top h3 {
  margin: 0;
}

.question-progress {
  margin-top: 0.65rem;
  width: 100%;
  height: 8px;
  background: #e8edf1;
  border-radius: 999px;
  overflow: hidden;
}

.question-progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
}

.question-meta {
  margin: 0.45rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.question-form {
  margin: 0;
}

.question-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0.82rem;
}

.question-card h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.question-image-wrap {
  margin: 0.7rem 0;
  border: 1px solid #e3e9ee;
  border-radius: 12px;
  overflow: hidden;
  background: #f9fbfc;
}

.question-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.question-image-wrap.image-fallback {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.question-image-wrap.image-fallback::before {
  content: "Bildet kunne ikke lastes";
  color: var(--muted);
}

.option-group {
  display: grid;
  gap: 0.5rem;
}

.option-row.clean {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid #dbe4ea;
  border-radius: 12px;
  padding: 0.56rem 0.62rem;
  background: #fff;
}

.option-row.clean input {
  width: auto;
  margin-top: 0.15rem;
  accent-color: var(--blue);
}

.option-row.clean input:checked + span {
  font-weight: 700;
}

.option-row.clean.option-correct {
  border-color: #8dcfaf;
  background: #edf9f1;
}

.option-row.clean.option-wrong {
  border-color: #e2a6a0;
  background: #fff0ef;
}

.answer-feedback {
  margin-top: 0.62rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfd;
  padding: 0.62rem 0.68rem;
}

.answer-feedback h4 {
  margin: 0 0 0.18rem;
  font-size: 1rem;
}

.answer-feedback p {
  margin: 0.12rem 0 0;
  color: #3a4b56;
}

.answer-feedback.correct {
  border-color: #9ed8b7;
  background: #edf9f1;
}

.answer-feedback.correct h4 {
  color: #226f3f;
}

.answer-feedback.wrong {
  border-color: #ebb4ad;
  background: #fff2f0;
}

.answer-feedback.wrong h4 {
  color: #9f3f31;
}

.quiz-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.course-tabs {
  margin-bottom: 0.62rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.course-tabs span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.course-tabs span.active {
  background: #eaf8ff;
  border-color: #bad8ef;
  color: #22597d;
}

.course-shell .chapter-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.course-shell .chapter-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.6rem 0.68rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chapter-btn {
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #edf2f5;
  font-size: 1rem;
  cursor: pointer;
}

.audio-player,
.audio-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem;
}

.audio-player img {
  width: 100%;
  max-width: 420px;
  display: block;
  border-radius: 12px;
  border: 1px solid #e3eaef;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.audio-player h3 {
  margin: 0.62rem 0 0;
}

.audio-player p {
  margin: 0.1rem 0 0;
  color: var(--muted);
}

.audio-player input[type="range"] {
  margin-top: 0.54rem;
}

.audio-time {
  margin-top: 0.25rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}

.audio-list {
  margin-top: 0.68rem;
}

.audio-list h4 {
  margin: 0;
}

.audio-list ul {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.audio-list li {
  border: 1px solid #e4ebef;
  border-radius: 11px;
  background: #f8fbfd;
  padding: 0.52rem 0.6rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.admin-grid h3 {
  margin-top: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.52rem 0.44rem;
  border-bottom: 1px solid #e6edf1;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 1160px) {
  .feature-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-nav {
    display: flex;
  }

  .header-cta {
    padding: 0.52rem 0.78rem;
  }

  .hero-phone-stage {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .home-stats {
    grid-template-columns: 1fr;
  }

  .result-grid,
  .result-tips,
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-main {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    width: 100%;
  }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-right {
    margin-left: auto;
  }

  .auth-badge {
    display: inline-flex;
  }

  .login-top-btn {
    padding: 0.36rem 0.66rem;
  }

  .hero-copy {
    text-align: left;
    padding-top: 0.5rem;
  }

  .hero-copy p {
    margin-left: 0;
  }

  .hero-phone-stage {
    justify-content: flex-start;
    gap: 0.45rem;
  }

  .phone-left,
  .phone-right {
    transform: none;
  }

  .phone-mock {
    width: 170px;
    height: 340px;
  }

  .shape {
    display: none;
  }
}
