@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/SchibstedGrotesk.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f1216;
  --ink-soft: #2a2f36;
  --muted: #565d67;
  --bg: #fafaf8;
  --surface: #ffffff;
  --alt: #f1efea;
  --line: #e3e0d9;
  --accent: #2a4bd7;
  --accent-dark: #1d38a8;
  --accent-tint: #e7ebfb;
  --dark: #0f1216;
  --dark-line: #2a2f36;
  --dark-muted: #a7adb6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 18, 22, 0.06), 0 24px 48px -24px rgba(15, 18, 22, 0.28);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; color: #fff; }

.kicker { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lede { font-size: 1.25rem; line-height: 1.6; color: var(--muted); max-width: 40ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 20px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 248, 0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; color: var(--ink); text-decoration: none; line-height: 1; }
.wordmark:hover { color: var(--ink); }
.wm-name { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 500; font-size: 1.7rem; letter-spacing: 0.01em; }
.wm-sub { margin-top: 6px; padding-left: 0.55em; font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif; font-weight: 400; font-size: 0.6rem; letter-spacing: 0.55em; }
.wordmark-invert, .wordmark-invert:hover { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--ink); border-bottom-color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }

/* Hero */
.hero { padding: 96px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.hero-copy h1 { max-width: 17ch; }
.hero-copy .lede { margin-top: 26px; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-art { position: relative; min-height: 440px; }
.browser { position: absolute; inset: 0 48px 56px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--alt); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5d1c8; }
.browser-bar i { margin-left: 14px; flex: 1; max-width: 220px; height: 16px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.browser-body { padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.sk-nav { display: flex; align-items: center; gap: 14px; }
.sk-nav b { width: 72px; height: 12px; border-radius: 6px; background: var(--ink); }
.sk-nav em { width: 40px; height: 8px; border-radius: 4px; background: var(--line); }
.sk-nav em:first-of-type { margin-left: auto; }
.sk-hero { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 10px; background: var(--accent-tint); }
.sk-h { height: 16px; width: 78%; border-radius: 6px; background: var(--ink); }
.sk-h.short { width: 52%; }
.sk-p { height: 8px; width: 88%; border-radius: 4px; background: #c9cfe9; margin-top: 4px; }
.sk-btn { width: 96px; height: 26px; border-radius: 13px; background: var(--accent); margin-top: 8px; }
.sk-btn.wide { width: 100%; height: 34px; border-radius: 17px; }
.sk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sk-cards div { height: 74px; border-radius: 10px; background: var(--alt); border: 1px solid var(--line); }
.phone { position: absolute; right: 0; bottom: 0; width: 172px; height: 330px; padding: 10px; border-radius: 30px; background: var(--ink); box-shadow: var(--shadow); }
.phone-body { height: 100%; border-radius: 22px; background: var(--surface); padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 9px; }
.phone-body .sk-h { height: 12px; }
.phone-body .sk-p { width: 100%; background: var(--line); }
.sk-tile { flex: 1; margin-top: 6px; border-radius: 12px; background: var(--accent-tint); }

/* Sections */
.section { padding: 104px 0; }
.section-tight { padding: 88px 0; border-top: 1px solid var(--line); }
.section-flush { padding-top: 24px; }
.section-alt { background: var(--alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.service:hover { color: var(--ink); border-color: #cfcac0; box-shadow: var(--shadow); }
.service p { color: var(--muted); }
.icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent-tint); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }

.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; }
.feature-copy .kicker { margin-bottom: 0; }
.feature-copy p { color: var(--muted); }
.feature-copy h2 { margin-bottom: 4px; }

.shot { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-label { display: none; }
.shot-empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--alt) 0 14px, #ebe8e1 14px 28px); }
.shot-empty .shot-label { display: block; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--ink-soft); }
.shot-wide { aspect-ratio: 16 / 8; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
.steps p { color: var(--muted); }
.step-no { font-size: 0.875rem; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }

.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.about-copy { display: flex; flex-direction: column; gap: 18px; font-size: 1.15rem; color: var(--ink-soft); }

/* CTA and footer */
.cta { background: var(--dark); color: #fff; padding: 88px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta p { color: var(--dark-muted); margin-top: 12px; font-size: 1.125rem; }
.site-footer { background: var(--dark); color: var(--dark-muted); border-top: 1px solid var(--dark-line); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 1fr); gap: 32px; }
.footer-brand p { margin-top: 16px; font-size: 0.95rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:not(.wordmark) { color: #fff; text-decoration: none; }
.site-footer a:not(.wordmark):hover { text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 0.875rem; }

/* Inner pages */
.page-head { padding: 88px 0 56px; }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 22px; max-width: 52ch; }

.case { display: flex; flex-direction: column; gap: 48px; padding-bottom: 88px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.case-meta { display: flex; flex-direction: column; gap: 14px; }
.case-meta dl { margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.case-meta dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.case-meta dd { margin: 2px 0 0; }
.case-body { display: flex; flex-direction: column; gap: 20px; color: var(--ink-soft); }
.case-body h3 { color: var(--ink); margin-top: 8px; }
.case-small { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 88px; border-top: 1px solid var(--line); }
.case-small > div:last-child { display: flex; flex-direction: column; gap: 18px; }
.case-small p { color: var(--muted); }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a4bd7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

.offer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer-head { display: flex; flex-direction: column; gap: 10px; }
.price { font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.offer-body { display: flex; flex-direction: column; gap: 22px; color: var(--ink-soft); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.faq { border-top: 1px solid #d8d4cb; }
.faq details { border-bottom: 1px solid #d8d4cb; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; padding-bottom: 104px; align-items: start; }
.contact-list { margin: 36px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 4px 0 0; font-size: 1.125rem; }
.form { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #cfcac0; background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form .btn { align-self: flex-start; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-error { color: #a4262c; font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0; }
.stats div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.stats strong { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.stats span { font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
.case-body .stats div { background: var(--alt); }
@media (max-width: 760px) { .stats { grid-template-columns: minmax(0, 1fr); } }

.feature-media .shot, .shot-apcs { aspect-ratio: 1400 / 967; }
.figure { margin: 8px 0 0; }
.figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.figure figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

.case-next { padding-top: 88px; border-top: 1px solid var(--line); }
.figure-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.figure-pair .figure { margin: 0; }
@media (max-width: 760px) { .figure-pair { grid-template-columns: minmax(0, 1fr); } }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid, .feature, .about, .case-grid, .case-small, .offer, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { min-height: 380px; max-width: 560px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); color: var(--accent); }
  .site-nav .btn { margin-top: 16px; }
  .header-inner { position: relative; min-height: 68px; }
  .hero-art { min-height: 300px; }
  .browser { right: 36px; bottom: 44px; }
  .phone { width: 128px; height: 250px; border-radius: 24px; padding: 8px; }
  .phone-body { border-radius: 17px; padding: 22px 10px 10px; }
  .sk-cards div { height: 48px; }
  .service-grid, .field-row { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 26px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .form { padding: 24px; }
  .cta-inner .btn, .actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
