/* Domus v2 design layer, loaded after the v1 stylesheets. Generated by make_v2.py: edit there.
   Remove the <link> (or use /versione/v1) to get the previous design back. */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/SchibstedGrotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/SchibstedGrotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --v2-font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: var(--v2-font); --serif: var(--v2-font); --da-serif: var(--v2-font);
  --bg: #F4F6F3; --surface: #FFFFFF; --surface-2: #EEF1ED; --ink: #172220; --ink-2: #4B5652; --ink-3: #5C6762;
  --line: #D5DBD7; --line-2: #C3CBC6; --ctl-line: #7D8883;
  --brand: #17664A; --brand-ink: #FFFFFF; --brand-soft: #E2EFE8; --accent: #17664A;
  --ok: #1E6B45; --ok-soft: #E1F0E7; --warn: #8F5A00; --warn-soft: #F8EDD8; --bad: #A33A2B; --bad-soft: #F7E3DF;
  --shadow: none; --r: 6px; --ctl-r: 6px;
}
:root[data-theme="dark"] {
  --bg: #0F1412; --surface: #171E1B; --surface-2: #1D2622; --ink: #E5EAE7; --ink-2: #A6B1AC; --ink-3: #97A29D;
  --line: #2B3430; --line-2: #36413C; --ctl-line: #66736C;
  --brand: #67C496; --brand-ink: #0F1412; --brand-soft: #183027; --accent: #67C496;
  --ok: #5CC08A; --ok-soft: #173326; --warn: #E0A548; --warn-soft: #342A16; --bad: #E2735F; --bad-soft: #3A1F1A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1412; --surface: #171E1B; --surface-2: #1D2622; --ink: #E5EAE7; --ink-2: #A6B1AC; --ink-3: #97A29D;
    --line: #2B3430; --line-2: #36413C; --ctl-line: #66736C;
    --brand: #67C496; --brand-ink: #0F1412; --brand-soft: #183027; --accent: #67C496;
    --ok: #5CC08A; --ok-soft: #173326; --warn: #E0A548; --warn-soft: #342A16; --bad: #E2735F; --bad-soft: #3A1F1A;
  }
}

body { font-family: var(--v2-font); font-size: 14px; line-height: 1.5; background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }

/* headings: one family, weight and tracking do the work the serif used to do */
h1, .hero h1, .pr-hero h1, .m-hero h1, .legal h1, .auth-pitch h1, .auth2-copy h1, .da-copy h1 {
  font-family: var(--v2-font) !important; font-weight: 750 !important; letter-spacing: -0.028em !important; line-height: 1.06 !important; }
.hero h1, .pr-hero h1, .legal h1 { font-size: clamp(30px, 3.6vw, 44px) !important; }
h2 { letter-spacing: -0.012em; }
.cf-head h2, .ab-sec-head h2, .pr-faq h2, .pr-custom-copy h2, .pr-sec-title, .pr-aud > header h2, .cm-name h2, .cm-wallet h2,
.cm-extra h2, .sc-head h2, .pr-modules h2, .dm-grid h2, .cf-offer h2, .auth-form h2, .auth2-form h2, .da-form h2, .m-sheet-head h2 {
  font-family: var(--v2-font) !important; font-weight: 700 !important; letter-spacing: -0.02em !important; }
.brand-name, .m-brand { font-family: var(--v2-font) !important; font-weight: 750 !important; letter-spacing: -0.02em; }

/* the numbers are the protagonists */
.kpi .v, .kpi-value, .pipe-n, .age-n, .big, .plan .prezzo, .pr-price, .ab-price .pr-price, .mod-price, .cm-pack-n, .cf-price b,
.dm-kpi b, .dm-saldo b, .m-p, .m-card-price, .nm-status-tel, .auth-facts dd, .da-demo .p, .auth2-demo .d-p, .giro-name, .plan-name, .ab-plan-name {
  font-family: var(--v2-font) !important; font-weight: 750 !important; letter-spacing: -0.025em !important; font-variant-numeric: lining-nums proportional-nums !important; }
.kpi .v, .kpi-value, .pipe-n { font-size: clamp(22px, 2.3vw, 32px) !important; line-height: 1.05 !important; white-space: nowrap; }
.giro-done, .wl-ok, .pr-done, .cx-script p { font-family: var(--v2-font) !important; }
td, .num { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.cf-table td { font-variant-numeric: lining-nums proportional-nums; }

/* section labels: sentence case, they say what the section is */
.eyebrow, .auth2-eyebrow, .da-eyebrow { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important;
  font-weight: 650 !important; color: var(--brand) !important; }
.da-family .fam, .domus-foot .fam { font-family: var(--v2-font) !important; text-transform: none !important; letter-spacing: -0.01em !important; font-weight: 750 !important; }
th, .cf-table thead th { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-weight: 650 !important; color: var(--ink-2) !important; }
.lede, .hero p, .hero .lede { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 68ch; }

/* boxes: ruled, quiet, no shadows */
.card, .kpi, .pipe, .plan, .m-card, .cm-pack, .cm-slot, .scan-strip, .pr-grid > *, .ab-plan, .sheet-card, .cl-box, .doc, .note, .results,
.age, .mov-tab, .cf-chip, .chip, .lk-banner {
  box-shadow: none !important; }
.card, .kpi, .pipe, .plan, .m-card, .cm-pack, .cm-slot, .ab-plan, .sheet-card, .cl-box { border-radius: 6px !important; border: 1px solid var(--line) !important; }
.card { background: var(--surface); }
.kpi { border-top: 3px solid var(--ink) !important; }               /* a ruled header, like a register column */
.kpi:hover, .card:hover, .pipe:hover { transform: none !important; }

/* controls */
.btn { border-radius: 6px !important; font-weight: 650 !important; letter-spacing: -0.005em; }
.btn-primary { background: var(--brand) !important; color: var(--brand-ink) !important; }
.btn-primary:hover { filter: none; background: color-mix(in srgb, var(--brand) 86%, var(--ink)) !important; }
input, select, textarea, .select { border-radius: 6px !important; }
input:focus, select:focus, textarea:focus, .select:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 3px var(--brand-soft) !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tag, .chip, .pill { border-radius: 4px !important; font-weight: 600; }

/* top bar: brand, user, then the section selector on its own row */
.topbar { background: var(--surface) !important; border-bottom: 1px solid var(--line) !important; backdrop-filter: none !important; }
.topnav { border-radius: 8px !important; background: var(--bg) !important; border-color: var(--line-2) !important; }
.topnav a { border-radius: 5px !important; font-weight: 550 !important; }
.topnav a[aria-current=page] { background: var(--ink) !important; color: var(--surface) !important; box-shadow: none !important; }
.topbar-user form .btn { border-radius: 6px !important; }

/* login pages */
.da-pitch { background: #11261D !important; color: #F3F5F2 !important; }
.da-pitch .da-eyebrow { color: #67C496 !important; }
.da-pitch, .da-pitch .da-copy p, .da-pitch .da-list, .da-pitch .da-family { --da-cream: #F3F5F2; }
.da-demo { background: #FFFFFF !important; }
.da-pitch::after { display: none !important; }
.da-demo { border-radius: 6px !important; box-shadow: none !important; }
.da-submit { border-radius: 6px !important; background: var(--brand) !important; color: var(--brand-ink) !important; font-family: var(--v2-font) !important; }

/* one orchestrated moment: the page title settles in */
@media (prefers-reduced-motion: no-preference) {
  .hero, .pr-hero, .m-hero { animation: v2-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes v2-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
