/* Customer-first homepage (2026-11-15): plain-language hero, a picker by
   what the visitor wants to build, the permit check, three steps, area + FAQ. */

/* Hero: longer, plainer headline needs a calmer size than the old two-word lines. */
.studio-copy--clear { max-width: 800px; }
.studio-copy--clear h1 { font-size: clamp(44px, 4.3vw, 64px); line-height: 1.06; }
.studio-copy--clear > p:not(.studio-eyebrow) { max-width: 470px; font-size: 17px; }
.studio-copy--clear .studio-actions .button { min-height: 52px; padding: 13px 24px; font-size: 15px; }
.studio-trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #e6ebe2; }
.studio-trust li { display: inline-flex; align-items: center; gap: 9px; }
.studio-trust li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: #d5dfca url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%231f3a30' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Picker */
.need-picker { background: var(--page); padding-block: clamp(56px, 7vw, 100px); }
.need-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; margin-bottom: 30px; }
.need-heading h2, .how-steps h2, .area-faq h2, .permit-check-intro h2 { margin: 0; font: 500 clamp(34px, 4vw, 56px)/1.04 "Gambetta", Georgia, serif; letter-spacing: -.04em; }
.need-heading p { margin: 0; max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.need-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.need-tile { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 220px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.need-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.need-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.need-tile .problem-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--page); }
.need-tile .service-icon { width: 36px; height: 36px; color: var(--ink); }
.need-tile .service-icon .accent { stroke: var(--accent); }
.need-tile .service-icon path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.need-copy { display: grid; gap: 6px; }
.need-copy strong { font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.need-copy span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.need-price { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--ink); }
.need-arrow { position: absolute; right: 20px; bottom: 18px; font-size: 18px; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.need-tile:hover .need-arrow { transform: translateX(3px); color: var(--ink); }
.need-tile--help { background: var(--accent-deep); border-color: var(--accent-deep); color: #fffdf8; }
.need-tile--help .need-copy span, .need-tile--help .need-arrow { color: #d5dfca; }
.need-tile--help .need-price { color: #fffdf8; }
.need-tile--help .problem-icon { background: #ffffff1a; }
.need-tile--help .service-icon { color: #fffdf8; }
.need-tile--help .service-icon .accent { stroke: #d5dfca; fill: #d5dfca; }
.need-more { margin: 24px 0 0; font-size: 15px; color: var(--muted); line-height: 1.8; }
.need-more .text-link { color: var(--ink); }
.need-vat { margin-left: 8px; font-size: 13px; }

/* Permit check band on the homepage */
.permit-check-band { background: #e9ede5; padding-block: clamp(56px, 7vw, 100px); }
.permit-check-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.permit-check-intro p { margin: 18px 0 0; max-width: 420px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.permit-check-intro .permit-check-small { font-size: 14px; }

/* The check itself (shared by the homepage and /behover-jag-bygglov) */
.pc { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); padding: clamp(20px, 3vw, 34px); scroll-margin-top: 100px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; margin-bottom: 14px; }
.pc-progress { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.pc-back { border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; padding: 8px 0; min-height: 40px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.pc-back[hidden] { display: none; }
.pc-question { margin: 0 0 8px; font: 500 clamp(24px, 2.6vw, 32px)/1.15 "Gambetta", Georgia, serif; letter-spacing: -.02em; }
.pc-help { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.pc-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.pc-options--single { grid-template-columns: 1fr; }
.pc-option { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; line-height: 1.3; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.pc-option small { font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.pc-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.pc-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pc-result { display: grid; gap: 18px; }
.pc-verdict { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); }
.pc-verdict-mark { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 700; color: #fff; background: var(--success); }
.pc-verdict h3 { margin: 2px 0 6px; font: 500 clamp(22px, 2.3vw, 28px)/1.15 "Gambetta", Georgia, serif; letter-spacing: -.02em; }
.pc-verdict p { margin: 0; font-size: 16px; line-height: 1.55; }
.pc-result[data-tone="notice"] .pc-verdict { background: #eef1e2; }
.pc-result[data-tone="notice"] .pc-verdict-mark { background: #5b6b2b; }
.pc-result[data-tone="permit"] .pc-verdict { background: #f6e8dc; }
.pc-result[data-tone="permit"] .pc-verdict-mark { background: var(--warm); }
.pc-result[data-tone="check"] .pc-verdict { background: #efece4; }
.pc-result[data-tone="check"] .pc-verdict-mark { background: #6f6a5c; }
.pc-list-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.pc-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.pc-help-box { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pc-help-box p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.pc-actions .button { min-height: 50px; }
.pc-call { color: var(--ink); font-size: 15px; }
.pc-help-box .pc-service { margin: 14px 0 0; font-size: 15px; }
.pc-disclaimer { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.pc-restart { justify-self: start; }
.pc noscript p { margin: 0; }

/* Three steps */
.how-steps { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 100px); }
.how-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.how-list li { padding: 24px; border-radius: var(--radius); background: var(--page); }
.how-number { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--accent-deep); color: #fffdf8; font-weight: 600; }
.how-list strong { display: block; font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.how-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.how-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.how-call { color: var(--ink); font-size: 16px; }

/* Area + FAQ */
.area-faq { padding-block: 0 clamp(40px, 5vw, 70px); }
.portfolio-home .portfolio-expert { margin-bottom: clamp(40px, 5vw, 70px); }
.area-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.area-card { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.area-card h2, .home-faq h2 { font-size: clamp(30px, 3vw, 42px); }
.area-card > p { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.area-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { padding: 8px 13px; border-radius: 999px; background: var(--page); border: 1px solid var(--line); font-size: 14px; }
.area-card .area-note { font-size: 14px; }
.home-faq .faq-list { margin-bottom: 20px; }
.home-faq .faq-list details { background: transparent; }
.home-faq .faq-list summary { font-size: 16px; padding-block: 10px; line-height: 1.4; }
.home-faq .faq-list details p { font-size: 15px; line-height: 1.65; }

/* Dedicated permit-check page */
.pc-page .page-title { max-width: 760px; }
.pc-page-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 60px); align-items: start; margin-top: 10px; }
.pc-aside { display: grid; gap: 14px; }
.pc-aside-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pc-aside-card h2 { margin: 0 0 10px; font: 500 24px/1.2 "Gambetta", Georgia, serif; }
.pc-aside-card p, .pc-aside-card li { font-size: 15px; line-height: 1.6; color: var(--muted); }
.pc-aside-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.pc-aside-card p { margin: 0 0 12px; }
.pc-aside-card .button { margin-top: 4px; }
.pc-facts { margin-top: clamp(40px, 5vw, 70px); }
.pc-facts h2 { font: 500 clamp(28px, 3vw, 40px)/1.1 "Gambetta", Georgia, serif; margin: 0 0 18px; }
.pc-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pc-fact { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pc-fact strong { display: block; font-size: 17px; margin-bottom: 6px; }
.pc-fact p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 1100px) {
  .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need-tile { min-height: 0; }
  .permit-check-layout, .area-faq-grid, .pc-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .studio-copy--clear h1 { font-size: clamp(40px, 7vw, 56px); }
  .how-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .studio-copy--clear { max-width: none; }
  .studio-copy--clear h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .studio-copy--clear > p:not(.studio-eyebrow) { font-size: 15px; max-width: none; }
  .studio-copy--clear .studio-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .studio-copy--clear .studio-actions .button { width: 100%; justify-content: space-between; font-size: 15px; min-height: 52px; }
  .studio-trust { margin-top: 18px; font-size: 13px; gap: 8px; flex-direction: column; }
  .studio-hero .studio-drawings { display: none; }
  .need-grid { grid-template-columns: 1fr; gap: 10px; }
  .need-tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: center; padding: 16px 44px 16px 16px; min-height: 84px; }
  .need-tile .problem-icon { grid-row: 1 / span 2; align-self: center; }
  .need-tile .problem-icon { width: 44px; height: 44px; border-radius: 12px; }
  .need-tile .service-icon { width: 30px; height: 30px; }
  .need-copy { grid-column: 2; gap: 3px; }
  .need-copy strong { font-size: 16px; }
  .need-copy span { font-size: 13px; }
  .need-price { grid-column: 2; margin: 0; font-size: 13px; }
  .need-arrow { right: 16px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .need-tile:hover .need-arrow { transform: translate(3px, -50%); }
  .need-heading { margin-bottom: 20px; }
  .need-heading p { font-size: 15px; }
  .pc { padding: 18px 16px; border-radius: 18px; }
  .pc-options { grid-template-columns: 1fr; }
  .pc-option { min-height: 58px; font-size: 16px; }
  .pc-verdict { padding: 16px; }
  .how-list li { padding: 20px; }
  .how-actions .button { width: 100%; justify-content: space-between; }
  .area-faq { padding-bottom: 30px; }
  .pc-fact-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .need-tile, .need-arrow { transition: none; }
  .need-tile:hover { transform: none; }
}
