/* Forsiden. Lå i en {% block extra_style %} i templaten, hvor et
   layoutbrud ikke kunne rettes ét sted. */

body.wide { background: var(--card-bg); }

section.hero { padding: 5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-grid h1 { font-size: clamp(1.9rem, 7.2vw, 2.65rem); line-height: 1.15; letter-spacing: -0.02em;
                margin: 0 0 1.1rem; font-weight: 700; }
.hero-grid p.lead { color: var(--muted); font-size: 1.15rem; line-height: 1.6; max-width: 480px; margin: 0 0 1.75rem; }
.hero-actions { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.hero-note { color: var(--muted); font-size: 0.85rem; }

.card-demo-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.card-demo-wrap .demo-frame { width: 100%; max-width: 400px; height: 620px; border: none;
                               border-radius: 16px; box-shadow: 0 20px 45px -22px rgba(10,10,10,0.3); }
.card-demo-wrap .demo-link { font-size: 0.85rem; color: var(--accent); text-decoration: none; }
.card-demo-wrap .demo-link:hover { text-decoration: underline; }

section.features { padding: 4rem 0; background: var(--bg-soft); border-top: 1px solid var(--line);
                    border-bottom: 1px solid var(--line); }
section.features h2 { text-align: center; font-size: 1.7rem; letter-spacing: -0.01em; margin: 0 0 2.5rem; font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.feature { background: var(--card-bg); border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem; }
.feature .icon { width: 38px; height: 38px; border-radius: 6px; background: var(--soft-fill); color: var(--accent);
                  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature h3 { font-size: 1.02rem; margin: 0 0 0.4rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }

section.how { padding: 4.5rem 0; }
section.how h2 { text-align: center; font-size: 1.7rem; letter-spacing: -0.01em; margin: 0 0 2.5rem; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step .num { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted);
             display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 600;
             margin-bottom: 0.9rem; }
.step h3 { font-size: 1rem; margin: 0 0 0.4rem; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }

section.ideas { padding: 4.5rem 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.ideas h2 { text-align: center; font-size: 1.7rem; letter-spacing: -0.01em; margin: 0 0 0.6rem; font-weight: 700; }
section.ideas .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 2.5rem; line-height: 1.6; }
.idea-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
/* Hvert idé-kort er nu et link til et rigtigt eksempel, så påstanden kan
   klikkes efter. */
.idea {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.4rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.idea:hover { border-color: var(--accent); transform: translateY(-2px); }
.idea-see { display: block; margin-top: 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
    .idea { transition: none; }
    .idea:hover { transform: none; }
}
.idea .icon { width: 34px; height: 34px; border-radius: 6px; background: var(--soft-fill); color: var(--accent);
              display: flex; align-items: center; justify-content: center; margin-bottom: 0.85rem; }
.idea h3 { font-size: 0.98rem; margin: 0 0 0.35rem; font-weight: 600; }
.idea p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin: 0; }
.ideas-sticker-note { margin-top: 2.5rem; background: var(--card-bg); border: 1px dashed #bfbfbf; border-radius: 8px;
                       padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1rem; }
.ideas-sticker-note .icon { width: 42px; height: 42px; border-radius: 8px; background: var(--soft-fill); color: var(--accent);
                            display: flex; align-items: center; justify-content: center; flex: none; }
.ideas-sticker-note p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.ideas-sticker-note strong { color: var(--ink); }

section.pricing { padding: 4.5rem 0 5rem; }
section.pricing h2 { text-align: center; font-size: 1.7rem; letter-spacing: -0.01em; margin: 0 0 0.5rem; font-weight: 700; }
section.pricing .sub { text-align: center; color: var(--muted); margin: 0 0 2.5rem; }
.price-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 10px; padding: 2.25rem;
              max-width: 380px; margin: 0 auto; text-align: center; }
.price-card .amount { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.02em; margin: 0.4rem 0 0.1rem; }
.price-card .amount span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; text-align: left; }
.price-card li { display: flex; align-items: flex-start; gap: 0.55rem; color: #333; font-size: 0.93rem;
                  margin-bottom: 0.65rem; }
.price-card li svg { flex: none; margin-top: 0.15rem; color: var(--accent); }
.price-card .btn { width: 100%; }

footer.site { border-top: 1px solid var(--line); padding: 2.25rem 0; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center;
                     color: var(--muted); font-size: 0.85rem; }
footer.site a { text-decoration: none; color: var(--muted); margin-left: 1.25rem; }
footer.site a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .card-mock { margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .ideas-sticker-note { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  section.hero { padding: 2.5rem 0 3rem; }
  section.features, section.ideas { padding: 3rem 0; }
  section.how, section.pricing { padding: 3rem 0; }
  .hero-grid { gap: 2.25rem; }
  .hero-grid p.lead { font-size: 1.05rem; }
  /* To knapper side om side bliver for smalle til at ramme med tommelen. */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .price-card { padding: 1.75rem 1.4rem; }
  footer.site .wrap { flex-direction: column; gap: 0.75rem; text-align: center; }
  footer.site a { margin-left: 0; }
}

/* Prissektion med flere planer. */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 780px;
    margin: 0 auto;
    align-items: start;
}
.price-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    text-align: center;
}
/* Den anbefalede plan skal skille sig ud uden at de andre ser valgfri ud. */
.price-card.featured { border-color: var(--accent); box-shadow: 0 18px 40px -24px rgba(23, 121, 186, 0.5); }
.price-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    white-space: nowrap;
}
.price-name { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price-card .amount { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; margin: 0.5rem 0 0.1rem; }
.price-card .amount span { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price-blurb { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: 0.5rem 0 1.25rem; min-height: 2.6em; }
.price-card .btn { width: 100%; }
.price-card form { margin: 0; }

.price-includes {
    list-style: none;
    padding: 0;
    margin: 2.5rem auto 0;
    max-width: 480px;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}
.price-includes li { margin-bottom: 0.5rem; }
