/* aivisibility.se startsida v5. Plugin: AIV Startsida. Source of truth: aivisibility-redesign/aiv.css */
body.aiv3-body { margin: 0; padding: 0; background: #f3efe6; }
.admin-bar .aiv3 .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .aiv3 .nav { top: 46px; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .15s; }

/* aivisibility.se homepage, v5: own palette (paper, coral, forest, butter) with lit, layered surfaces. Scoped to .aiv3. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/is-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: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/is-latin-ext.woff2) format("woff2"); unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plex-mono-500.woff2) format("woff2"); }

.aiv3 {
  --paper: #f3efe6;
  --sand: #e9e2d3;
  --card: #fffdf8;
  --ink: #1c1a16;
  --ink-2: #3e3a33;
  --tone: #8c8578;
  --tone-2: #6a645a;
  --line: #d9d1c1;
  --line-2: #e6dfd1;
  --coral: #c8461d;
  --coral-hi: #ff6b3d;
  --coral-soft: rgba(224, 85, 42, .14);
  --butter: #f5e3a3;
  --butter-hi: #fbe8a6;
  --forest: #16342a;
  --forest-2: #1d4335;
  --forest-line: #2c5646;
  --forest-ink: #eef3ec;
  --forest-tone: #93ab9f;
  --c-gpt: #2f8f6f;
  --c-gem: #4a6ad3;
  --c-ppx: #1f8796;
  --c-goo: #d99a1f;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 10px;
  --r-sm: 6px;
  --wrap-wide: 1240px;
  --gut: 24px;
  --ease: cubic-bezier(.23, 1, .32, 1);

  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .08 0 0 0 0 .05 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
.aiv3 *, .aiv3 *::before, .aiv3 *::after { box-sizing: border-box; }
.aiv3 :where(h1, h2, h3, p, ol, ul, dl, dd, figure, table) { margin: 0; padding: 0; }
.aiv3 h1, .aiv3 h2, .aiv3 h3, .aiv3 button, .aiv3 input, .aiv3 select { font-family: var(--sans) !important; }
.aiv3 :where(h1, h2, h3) { color: inherit; text-wrap: balance; font-weight: 600; }
.aiv3 ul, .aiv3 ol { list-style: none; }
.aiv3 a { color: inherit; text-decoration: none; }
.aiv3 img { display: block; max-width: 100%; }
.aiv3 b, .aiv3 strong { font-weight: 600; }
.aiv3 mark { background: var(--butter-hi); color: inherit; border-radius: 3px; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.aiv3 .wrap-wide { max-width: calc(var(--wrap-wide) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.aiv3 .tone { color: var(--tone); }
.aiv3 .label { font-family: var(--mono); font-size: 12.5px; line-height: 1.4; font-weight: 400; letter-spacing: 0; color: var(--tone-2); }

/* Type */
.aiv3 h1 { font-size: clamp(48px, 7.4vw, 108px); line-height: .96; letter-spacing: -.045em; }
.aiv3 .h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.04em; }
.aiv3 .h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.03em; }
.aiv3 .lead { font-size: 20px; line-height: 1.45; color: var(--tone-2); letter-spacing: -.015em; max-width: 34ch; }

/* Logo: the dot over the i is the one that shows up */
.aiv3 .brand { display: inline-flex; align-items: baseline; font-size: 22px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.aiv3 .brand__i { position: relative; display: inline-block; }
.aiv3 .brand__i::after { content: ""; position: absolute; left: 50%; top: var(--dot-top, .07em); width: .22em; height: .22em; margin-left: -.11em; border-radius: 50%; background: var(--coral-hi); }
.aiv3 .brand__tld { color: var(--tone); font-weight: 500; letter-spacing: -.03em; }

/* Buttons and links */
.aiv3 .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-sm); background: var(--ink); color: var(--paper); font: 500 16px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; transition: background-color .15s ease, transform .12s var(--ease); }
.aiv3 .btn:hover { background: var(--coral); }
.aiv3 .btn:active { transform: scale(.97); }
.aiv3 .btn:focus-visible, .aiv3 a:focus-visible, .aiv3 summary:focus-visible, .aiv3 button:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.aiv3 .link { font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral-hi); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset .15s ease, color .15s ease; }
.aiv3 .link:hover { color: var(--coral); text-underline-offset: 3px; }

/* Nav */
.aiv3 .nav { position: sticky; top: 0; z-index: 50; background: rgba(243, 239, 230, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.aiv3 .nav__in { max-width: calc(var(--wrap-wide) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); height: 64px; display: flex; align-items: center; gap: 32px; }
.aiv3 .nav__links { display: flex; gap: 26px; margin-left: auto; }
.aiv3 .nav__links a { font-size: 15px; color: var(--ink-2); }
.aiv3 .nav__links a:hover { color: var(--coral); }
.aiv3 .nav__cta { font-size: 14px; font-weight: 500; color: var(--paper); background: var(--ink); border-radius: var(--r-sm); padding: 9px 14px; transition: background-color .15s ease; }
.aiv3 .nav__cta:hover { background: var(--coral); }

/* Hero */
.aiv3 .hero { padding-top: clamp(56px, 8vw, 112px); }
.aiv3 .hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.aiv3 .hero__kicker { grid-column: 1 / -1; margin-bottom: 22px; }
.aiv3 .hero h1 { grid-column: 1 / span 8; }
.aiv3 .hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.aiv3 .hero h1 em::after { content: ""; position: absolute; left: -2%; right: -4%; bottom: -.06em; height: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 6 92 4 140 7s46 4 57 2' fill='none' stroke='%23ff6b3d' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.aiv3 .hero__side { grid-column: 9 / -1; padding-bottom: .6em; }
.aiv3 .hero__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--tone-2); letter-spacing: -.015em; }
.aiv3 .hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }

/* Hero stage: one question, four answers, on the photo */
.aiv3 .stage { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.aiv3 .stage > * { position: relative; }
.aiv3 .stage__img { position: absolute; inset: 0 var(--gut); width: calc(100% - 2 * var(--gut)); height: 100%; object-fit: cover; object-position: 50% 62%; border-radius: var(--r); }
.aiv3 .stage__q { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: clamp(44px, 6vw, 76px) 32px 0; }
.aiv3 .stage__qlabel { color: rgba(28, 26, 22, .7); }
.aiv3 .stage__qtext { display: inline-block; max-width: 740px; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -.035em; padding: 18px 28px; border-radius: var(--r); background: rgba(255, 253, 248, .72); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.aiv3 .stage__replay { margin-top: 2px; border: 0; background: rgba(28, 26, 22, .78); color: var(--paper); font: 500 12.5px/1 var(--mono) !important; padding: 8px 12px; border-radius: 999px; cursor: pointer; transition: background-color .15s ease; }
.aiv3 .stage__replay:hover { background: var(--coral); }
.aiv3 .stage__answers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: clamp(110px, 14vw, 200px) clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px); }
.aiv3 .ans { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border-radius: var(--r); background: rgba(255, 253, 248, .8); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 24px 50px -28px rgba(40, 28, 8, .45); }
.aiv3 .ans__svc { display: flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: -.02em; }
.aiv3 .ans__chip { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.aiv3 .ans--gpt { --c: var(--c-gpt); } .aiv3 .ans--gem { --c: var(--c-gem); } .aiv3 .ans--ppx { --c: var(--c-ppx); } .aiv3 .ans--goo { --c: var(--c-goo); }
.aiv3 .ans__txt { font-size: 14px; line-height: 1.5; color: var(--ink-2); flex: 1; min-height: 6em; }
.aiv3 .ans__res { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--tone-2); padding-top: 12px; border-top: 1px solid rgba(28, 26, 22, .1); }
.aiv3 .ans--hit { background: rgba(255, 253, 248, .94); }

.aiv3 .circled { position: relative; display: inline-block; white-space: nowrap; font-weight: 600; color: var(--ink); }
.aiv3 .circled svg { position: absolute; left: -12%; top: -38%; width: 124%; height: 176%; overflow: visible; pointer-events: none; }
.aiv3 .circled path { fill: none; stroke: var(--coral-hi); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }

.aiv3 .tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(28, 26, 22, .07); color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; white-space: nowrap; }
.aiv3 .tag--yes { background: var(--coral); color: #fff; }
.aiv3 .tag--warn { background: var(--butter); color: #6b4a00; }

/* Sections */
.aiv3 .sec { padding: clamp(96px, 11vw, 160px) 0; }
.aiv3 .sec--sand { background-color: var(--sand); }
.aiv3 .sec--butter { background-color: var(--butter); }
.aiv3 .sec--butter .tone { color: #8d7a3c; }
.aiv3 .sec--forest { background-color: var(--forest); color: var(--forest-ink); }
.aiv3 .sec--forest .tone, .aiv3 .sec--forest .lead { color: var(--forest-tone); }
.aiv3 .sec--forest .label { color: var(--forest-tone); }

.aiv3 .split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.aiv3 .split--head { align-items: end; }
.aiv3 .split--head .lead { justify-self: start; }
.aiv3 .split .lead { margin-bottom: 28px; }
.aiv3 .split--head .lead { margin-bottom: 0; }
.aiv3 .factors > div { padding: 18px 0; border-top: 1px solid var(--line); }
.aiv3 .factors > div:last-child { border-bottom: 1px solid var(--line); }
.aiv3 .factors dt { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.aiv3 .factors dd { font-size: 15px; color: var(--tone-2); margin-top: 4px; }

/* Google vs AI */
.aiv3 .versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.aiv3 .tile { background: var(--card); border-radius: var(--r); padding: clamp(28px, 3.2vw, 40px); }
.aiv3 .tile__label { margin-bottom: 22px; }
.aiv3 .tile__foot { font-size: 15px; color: var(--tone-2); margin-top: 28px; }
.aiv3 .serp__list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.aiv3 .serp__list li:first-child { border-top: 0; padding-top: 0; }
.aiv3 .serp__dom { font-family: var(--mono); font-size: 11.5px; color: var(--tone); }
.aiv3 .serp__t { font-size: 16px; color: var(--ink-2); letter-spacing: -.015em; }
.aiv3 .serp__list li:nth-child(n+4) { opacity: .55; }
.aiv3 .serp__list li:nth-child(n+6) { opacity: .3; }
.aiv3 .aianswer { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; }
.aiv3 .aianswer .label, .aiv3 .aianswer .tile__foot, .aiv3 .aianswer__q { color: #a69f91; }
.aiv3 .aianswer__q { font-size: 15px; }
.aiv3 .aianswer__a { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.28; font-weight: 500; letter-spacing: -.035em; margin-top: 14px; flex: 1; }
.aiv3 .aianswer__a mark { background: rgba(255, 107, 61, .28); color: #fff; }
.aiv3 .sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.aiv3 .sources span { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(243, 239, 230, .1); color: #e2dccf; }

/* Report (forest) */
.aiv3 .report { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); margin-top: clamp(56px, 7vw, 88px); background: var(--forest-2); border-radius: var(--r); position: relative; }
.aiv3 .report > * { padding: clamp(28px, 3.2vw, 44px); }
.aiv3 .report__side { border-left: 1px solid var(--forest-line); display: flex; flex-direction: column; }
.aiv3 .report__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.aiv3 .report__name { font-size: 28px; font-weight: 600; letter-spacing: -.035em; margin-top: 6px; }
.aiv3 .report__score { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.aiv3 .report__score b { font-size: 72px; line-height: .9; font-weight: 600; letter-spacing: -.05em; color: var(--coral-hi); font-variant-numeric: tabular-nums; }
.aiv3 .grid { width: 100%; border-collapse: collapse; font-size: 15px; }
.aiv3 .grid th { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--forest-tone); text-align: center; padding: 0 8px 12px; }
.aiv3 .grid th:first-child, .aiv3 .grid td:first-child { text-align: left; padding-left: 0; }
.aiv3 .grid td { text-align: center; padding: 14px 8px; border-top: 1px solid var(--forest-line); }
.aiv3 .m { display: inline-block; width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #3c6857; vertical-align: middle; }
.aiv3 .m.y { background: var(--coral-hi); box-shadow: none; }
.aiv3 .rank { margin-top: 18px; }
.aiv3 .rank li { display: grid; grid-template-columns: 84px minmax(0, 1fr) 24px; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--forest-line); font-size: 15px; }
.aiv3 .rank li.is-you { color: var(--coral-hi); font-weight: 600; }
.aiv3 .rank__v { text-align: right; font-family: var(--mono); font-size: 13px; }
.aiv3 .meter { height: 14px; background-image: repeating-linear-gradient(90deg, #2f5a4a 0 4px, transparent 4px 7px); position: relative; }
.aiv3 .meter::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 24 * 100%); background-image: repeating-linear-gradient(90deg, #d8e3d9 0 4px, transparent 4px 7px); }
.aiv3 .is-you .meter::after { background-image: repeating-linear-gradient(90deg, var(--coral-hi) 0 4px, transparent 4px 7px); }
.aiv3 .report__gap { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--forest-line); }
.aiv3 .report__big { font-size: 40px; line-height: 1.05; font-weight: 600; letter-spacing: -.04em; margin-top: 8px; }
.aiv3 .report__note { font-size: 15px; color: var(--forest-tone); margin-top: 8px; }

/* How it works (butter) */
.aiv3 .bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.aiv3 .bento__a { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.aiv3 .bento__a .h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.05; letter-spacing: -.04em; }
.aiv3 .bento .h3 .tone { color: var(--tone); }
.aiv3 .mock-form { display: grid; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--paper); }
.aiv3 .mock-form__field { display: flex; align-items: center; height: 56px; padding: 0 18px; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 19px; letter-spacing: -.02em; }
.aiv3 .mock-form__field::after { content: ""; width: 2px; height: 22px; background: var(--coral-hi); margin-left: 2px; animation: aiv3-caret 1.1s steps(1) infinite; }
.aiv3 .mock-form__btn { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: var(--r-sm); background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; }
.aiv3 .svc { margin-top: 28px; }
.aiv3 .svc li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 0; font-size: 15px; }
.aiv3 .svc li > span:first-child { display: flex; align-items: center; gap: 8px; }
.aiv3 .svc__bar { height: 8px; border-radius: 2px; background: var(--c); transform-origin: left center; }
.aiv3 .svc__n { font-family: var(--mono); font-size: 12px; color: var(--tone-2); }
.aiv3 .mail { margin-top: 28px; padding: 20px 22px; border-radius: var(--r); background: var(--paper); }
.aiv3 .mail__subj { font-size: 16px; font-weight: 600; margin-top: 6px; letter-spacing: -.02em; }
.aiv3 .mail__body { font-size: 14px; color: var(--tone-2); margin-top: 6px; }

/* Tools */
.aiv3 .tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.aiv3 .toollist { margin-top: 40px; }
.aiv3 .toollist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.aiv3 .toollist li:last-child a { border-bottom: 1px solid var(--line); }
.aiv3 .toollist__t { font-size: 20px; font-weight: 600; letter-spacing: -.025em; transition: color .15s ease; }
.aiv3 .toollist__d { grid-row: 2; font-size: 15px; color: var(--tone-2); margin-top: 2px; }
.aiv3 .toollist__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--coral-hi); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.aiv3 .toollist a:hover .toollist__t { color: var(--coral); }
.aiv3 .robots__t { width: 100%; border-collapse: collapse; font-size: 15px; }
.aiv3 .robots__t td { padding: 14px 0; border-top: 1px solid var(--line-2); }
.aiv3 .robots__t tr:first-child td { border-top: 0; }
.aiv3 .robots__t td:nth-child(2) { color: var(--tone-2); }
.aiv3 .robots__t td:last-child { text-align: right; }
.aiv3 .robots__t code { font-family: var(--mono); font-size: 13.5px; color: var(--ink); }

/* Guides */
.aiv3 .guides__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.aiv3 .guides { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; margin-top: 48px; }
.aiv3 .guide { position: relative; display: flex; overflow: hidden; border-radius: var(--r); background: var(--card); min-height: 260px; }
.aiv3 .guide img { width: 42%; height: auto; align-self: stretch; object-fit: cover; flex: none; transition: transform .6s var(--ease); }
.aiv3 .guide:hover img { transform: scale(1.03); }
.aiv3 .guide__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; position: relative; }
.aiv3 .guide__t { font-size: 21px; line-height: 1.18; font-weight: 600; letter-spacing: -.03em; transition: color .15s ease; }
.aiv3 .guide:hover .guide__t { color: var(--coral); }
.aiv3 .guide__d { font-size: 15px; color: var(--tone-2); }
.aiv3 .guide--big { grid-row: span 2; min-height: 560px; color: #fff; background: #2a2418; }
.aiv3 .guide--big img { position: absolute; inset: 0; width: 100%; height: 100% !important; }
.aiv3 .guide--big::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 36, 24, 0) 40%, rgba(32, 26, 16, .86) 100%); z-index: 1; }
.aiv3 .guide--big .guide__body { z-index: 2; padding: 40px; max-width: 580px; }
.aiv3 .guide--big .guide__t { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.aiv3 .guide--big:hover .guide__t { color: #fff; text-decoration: underline; text-decoration-color: var(--coral-hi); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.aiv3 .guide--big .guide__d { color: rgba(255, 255, 255, .8); font-size: 17px; }

/* FAQ */
.aiv3 details { border-bottom: 1px solid var(--line); }
.aiv3 details:first-of-type { border-top: 1px solid var(--line); }
.aiv3 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.025em; transition: color .15s ease; }
.aiv3 summary:hover { color: var(--coral); }
.aiv3 summary::-webkit-details-marker { display: none; }
.aiv3 summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat; transition: transform .25s var(--ease); }
.aiv3 details[open] summary::after { transform: rotate(45deg); }
.aiv3 details p { font-size: 17px; color: var(--tone-2); padding: 0 48px 24px 0; }
.aiv3 details p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral-hi); text-underline-offset: 3px; }

/* CTA */
.aiv3 .cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(140px, 16vw, 220px); margin-bottom: clamp(56px, 7vw, 96px); }
.aiv3 .cta > * { position: relative; }
.aiv3 .cta__img { position: absolute; inset: 0 var(--gut); width: calc(100% - 2 * var(--gut)); height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); }
.aiv3 .cta__copy { padding-left: clamp(24px, 4vw, 64px); color: #fff; }
.aiv3 .cta__copy .h2 { max-width: 11ch; }
.aiv3 .cta__copy .lead { color: rgba(255, 255, 255, .85); margin-top: 18px; max-width: 30ch; }
.aiv3 .cta__panel { margin-right: clamp(24px, 4vw, 64px); background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: 0 30px 70px -30px rgba(20, 15, 40, .5); }

/* Lead form (markup shared with aiv-lead.js) */
.aiv3 .aiv-lead { display: grid; gap: 0; font-size: 16px; color: var(--ink); }
.aiv3 .aiv-lead .aiv-stepcount { margin: 0 0 14px; }
.aiv3 .aiv-lead label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 14px 0 8px; }
.aiv3 .aiv-lead__step1 label:first-child { margin-top: 0; }
.aiv3 .aiv-lead .opt { font-weight: 400; color: var(--tone); }
.aiv3 .aiv-lead input, .aiv3 .aiv-lead select { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font: 400 17px var(--sans); letter-spacing: -.015em; color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .15s ease, box-shadow .15s ease; }
.aiv3 .aiv-lead select { background-image: linear-gradient(45deg, transparent 50%, var(--tone-2) 50%), linear-gradient(135deg, var(--tone-2) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.aiv3 .aiv-lead input:focus, .aiv3 .aiv-lead select:focus { outline: 0; border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.aiv3 .aiv-lead__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aiv3 .aiv-lead__msg { font-size: 14px; color: var(--coral); margin: 10px 0 0; }
.aiv3 .aiv-lead__msg:empty { display: none; }
.aiv3 .aiv-lead__btn { width: 100%; margin-top: 16px; min-height: 52px; font-size: 16px; }
.aiv3 .aiv-lead__btn[disabled] { opacity: .6; cursor: default; }
.aiv3 .cta__legal { font-size: 12px; line-height: 1.45; color: var(--tone-2); margin-top: 14px; }
.aiv3 .cta__legal a { text-decoration: underline; text-underline-offset: 2px; }

/* Footer */
.aiv3 .foot { background: var(--ink); color: #b9b1a2; padding: 64px 0 28px; font-size: 14px; }
.aiv3 .foot .brand { color: var(--paper); font-size: 26px; }
.aiv3 .foot .brand__tld { color: #8c8578; }
.aiv3 .foot__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #34302a; }
.aiv3 .foot__about p { max-width: 36ch; margin-top: 16px; line-height: 1.55; }
.aiv3 .foot__h { color: #8c8578; margin-bottom: 12px; }
.aiv3 .foot a:not(.brand) { display: block; padding: 4px 0; color: #e6dfd1; transition: color .15s ease; }
.aiv3 .foot a:not(.brand):hover { color: var(--coral-hi); }
.aiv3 .foot__legal { padding-top: 22px; font-family: var(--mono); font-size: 12px; color: #8c8578; }

/* ---------------------------------------------------------------- motion */

@keyframes aiv3-caret { 50% { opacity: 0; } }

/* Hero sequence (set up by aiv-home.js only when motion is allowed) */
.aiv3 .tok { transition: none; }
.aiv3 .is-pending .tok { opacity: 0; }
.aiv3 .tok.on { opacity: 1 !important; }
.aiv3 .ans.is-streaming .ans__txt::after { content: ""; display: inline-block; width: .5em; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--c); border-radius: 1px; animation: aiv3-caret .8s steps(1) infinite; }
.aiv3 .is-pending .circled path { stroke-dashoffset: 1; }
.aiv3 .is-circled .circled path { stroke-dashoffset: 0; transition: stroke-dashoffset .8s cubic-bezier(.65, 0, .35, 1); }
.aiv3 .tag.is-wait { background: rgba(28, 26, 22, .07) !important; color: var(--tone-2) !important; }
.aiv3 .tag.is-wait::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: aiv3-dots 1s steps(4) infinite; }
@keyframes aiv3-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.aiv3 .tag.is-pop { animation: aiv3-pop .45s var(--ease) both; }
@keyframes aiv3-pop { from { transform: scale(.82); } 55% { transform: scale(1.08); } to { transform: scale(1); } }
.aiv3 .ans--hit.is-found { box-shadow: 0 0 0 2px var(--coral-hi), 0 24px 50px -28px rgba(40, 28, 8, .45); transition: box-shadow .4s var(--ease); }

/* Scroll-driven: data arrives as the report scrolls in. Static where unsupported. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .aiv3 .grid tbody tr { animation: aiv3-row linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    .aiv3 .grid .m.y { animation: aiv3-mark linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
    .aiv3 .meter::after { animation: aiv3-fill linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    .aiv3 .report__score b { animation: aiv3-rise linear both; animation-timeline: view(); animation-range: entry 20% cover 35%; }
    .aiv3 .svc__bar { animation: aiv3-grow linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    .aiv3 .svc li:nth-child(2) .svc__bar { animation-range: entry 30% cover 45%; }
    .aiv3 .svc li:nth-child(3) .svc__bar { animation-range: entry 40% cover 50%; }
    .aiv3 .svc li:nth-child(4) .svc__bar { animation-range: entry 50% cover 55%; }
    .aiv3 .stage__img { animation: aiv3-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes aiv3-row { from { opacity: .15; } to { opacity: 1; } }
@keyframes aiv3-mark { from { transform: scale(.3) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aiv3-fill { from { width: 0; } }
@keyframes aiv3-grow { from { transform: scaleX(0); } }
@keyframes aiv3-rise { from { transform: translateY(30%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aiv3-drift { to { transform: scale(1.04); } }

/* ---------------------------------------------------------------- layout breakpoints */

@media (max-width: 1068px) {
  .aiv3 .hero h1 { grid-column: 1 / -1; }
  .aiv3 .hero__side { grid-column: 1 / span 9; margin-top: 28px; padding-bottom: 0; }
  .aiv3 .stage__answers { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 90px; }
  .aiv3 .report { grid-template-columns: 1fr; }
  .aiv3 .report__side { border-left: 0; border-top: 1px solid var(--forest-line); }
}

@media (max-width: 734px) {
  .aiv3 { --gut: 16px; }
  .aiv3 .nav__in { height: 56px; }
  .aiv3 .nav__links { display: none; }
  .aiv3 .nav__cta { margin-left: auto; }
  .aiv3 .brand { font-size: 20px; }
  .aiv3 .hero__side { grid-column: 1 / -1; }
  .aiv3 .stage__q { padding: 32px 18px 0; }
  .aiv3 .stage__qtext { padding: 14px 16px; }
  .aiv3 .stage__answers { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 56px 18px 18px; scrollbar-width: none; }
  .aiv3 .stage__answers::-webkit-scrollbar { display: none; }
  .aiv3 .ans { flex: 0 0 80%; scroll-snap-align: center; }
  .aiv3 .split, .aiv3 .versus, .aiv3 .tools, .aiv3 .bento, .aiv3 .bento__a, .aiv3 .guides, .aiv3 .cta { grid-template-columns: 1fr; }
  .aiv3 .bento__a { gap: 28px; }
  .aiv3 .grid { font-size: 13px; }
  .aiv3 .grid th { font-size: 9.5px; padding: 0 2px 10px; }
  .aiv3 .grid td { padding: 12px 2px; }
  .aiv3 .report__head { flex-direction: column; align-items: flex-start; }
  .aiv3 .report__score { text-align: left; align-items: flex-start; }
  .aiv3 .guides { grid-template-rows: none; }
  .aiv3 .guide--big { grid-row: auto; min-height: 420px; }
  .aiv3 .guide--big .guide__body { padding: 26px; }
  .aiv3 .guide { flex-direction: column; }
  .aiv3 .guide img { width: 100%; height: 180px; }
  .aiv3 .cta { padding-bottom: 18px; }
  .aiv3 .cta__copy { padding: 0 20px; }
  .aiv3 .cta__panel { margin: 0 10px; }
  .aiv3 .foot__in { grid-template-columns: 1fr 1fr; }
  .aiv3 .foot__about { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .aiv3 *, .aiv3 *::before, .aiv3 *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- guard against the site's Additional CSS (!important rules on h1–h4, body and .aiv-lead) */
body.aiv3-body { background-color: #f3efe6 !important; }
.aiv3 h1 { font-weight: 600 !important; letter-spacing: -.045em !important; }
.aiv3 h2, .aiv3 .h2 { font-weight: 600 !important; letter-spacing: -.04em !important; }
.aiv3 h3, .aiv3 .h3 { font-weight: 600 !important; letter-spacing: -.03em !important; }
.aiv3 .ans__svc { letter-spacing: -.02em !important; }
.aiv3 .aiv-lead { line-height: 1.5 !important; color: var(--ink) !important; }
.aiv3 .aiv-lead input, .aiv3 .aiv-lead select { padding: 0 16px !important; background-color: #fff !important; }
.aiv3 .aiv-lead .aiv-stepcount { margin: 0 0 14px !important; }
.aiv3 .aiv-lead__msg { margin: 10px 0 0 !important; }
.aiv3 .aiv-lead__btn { background-color: var(--ink) !important; color: var(--paper) !important; padding: 0 22px !important; font-weight: 500 !important; }
.aiv3 .aiv-lead__btn:hover { background-color: var(--coral) !important; }
.aiv3 .nowrap { white-space: nowrap; }

/* ================================================================ v5: depth layer
   Borrowed from Videntic: light, texture and layering. Not borrowed: palette, layout. */

.aiv3 { --shadow-tile: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 0 0 1px rgba(28, 26, 22, .06), 0 30px 60px -36px rgba(80, 50, 20, .35); }

/* Hero: a warm light that drifts, contour lines like a map of the answer landscape */
.aiv3 .hero { position: relative; isolation: isolate; }
.aiv3 .aurora { position: absolute; inset: -64px 0 auto 0; height: 860px; z-index: -2; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.aiv3 .aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; }
.aiv3 .aurora__a { width: 720px; height: 520px; left: -8%; top: 40px; background: radial-gradient(closest-side, rgba(255, 140, 90, .55), rgba(255, 140, 90, 0)); }
.aiv3 .aurora__b { width: 820px; height: 560px; right: -12%; top: -60px; background: radial-gradient(closest-side, rgba(247, 214, 120, .7), rgba(247, 214, 120, 0)); }
.aiv3 .aurora__c { width: 640px; height: 420px; left: 38%; top: 300px; background: radial-gradient(closest-side, rgba(70, 130, 105, .28), rgba(70, 130, 105, 0)); }
.aiv3 .contours { position: absolute; inset: -64px 0 auto 0; height: 860px; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(80% 70% at 60% 55%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 60% 55%, #000 30%, transparent 80%); }
.aiv3 .contours svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .aiv3 .aurora__a { animation: aiv3-float-a 22s ease-in-out infinite alternate; }
  .aiv3 .aurora__b { animation: aiv3-float-b 26s ease-in-out infinite alternate; }
  .aiv3 .aurora__c { animation: aiv3-float-c 18s ease-in-out infinite alternate; }
}
@keyframes aiv3-float-a { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes aiv3-float-b { to { transform: translate(-160px, 80px) scale(.9); } }
@keyframes aiv3-float-c { to { transform: translate(-120px, -70px) scale(1.2); } }

/* Stage: deeper photo, glass with a lit rim */
.aiv3 .stage__img { box-shadow: 0 0 0 1px rgba(28, 26, 22, .08), 0 60px 120px -50px rgba(120, 70, 20, .55); }
.aiv3 .ans, .aiv3 .stage__qtext { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .5), 0 24px 50px -28px rgba(40, 28, 8, .5); }

/* Tiles: lit top edge, warm shadow, a touch of gradient */
.aiv3 .tile { background: linear-gradient(180deg, #fffefb 0%, #fbf7ef 100%); box-shadow: var(--shadow-tile); }
.aiv3 .aianswer { background: radial-gradient(90% 80% at 100% 0%, #3a2a1c 0%, #1c1a16 55%); box-shadow: 0 0 0 1px rgba(28, 26, 22, .2), 0 40px 80px -40px rgba(60, 30, 10, .6); }
.aiv3 .aianswer::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(50% 40% at 90% 0%, rgba(255, 140, 90, .25), transparent 70%); }

/* Sections: each lit from its own side instead of a flat fill */
.aiv3 .sec { position: relative; isolation: isolate; }
.aiv3 .sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aiv3 .sec:not(.sec--forest):not(.sec--butter):not(.sec--sand)::before { background: radial-gradient(50% 45% at 100% 10%, rgba(247, 214, 120, .22), transparent 70%); }
.aiv3 .sec--forest { background-color: #14302a; }
.aiv3 .sec--forest::before { background:
  radial-gradient(60% 55% at 50% 0%, rgba(120, 190, 150, .22), transparent 70%),
  radial-gradient(40% 40% at 100% 100%, rgba(255, 120, 70, .14), transparent 70%),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 80px),
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 80px); }
.aiv3 .report { background: linear-gradient(180deg, #1f4537 0%, #193a2e 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(255, 255, 255, .06), 0 60px 120px -50px rgba(0, 0, 0, .6); }
.aiv3 .sec--butter { background-color: #f4dc95; }
.aiv3 .sec--butter::before { background: radial-gradient(60% 60% at 0% 0%, rgba(255, 246, 214, .9), transparent 70%), radial-gradient(55% 55% at 100% 100%, rgba(255, 130, 80, .35), transparent 70%); }
.aiv3 .sec--butter .tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(120, 80, 0, .08), 0 30px 60px -30px rgba(140, 80, 0, .45); }
.aiv3 .sec--sand::before { background: radial-gradient(55% 60% at 0% 100%, rgba(255, 140, 90, .14), transparent 70%), radial-gradient(45% 50% at 100% 0%, rgba(247, 214, 120, .25), transparent 70%); }
.aiv3 .guide { box-shadow: var(--shadow-tile); }
.aiv3 .cta__img { box-shadow: 0 0 0 1px rgba(28, 26, 22, .08), 0 60px 120px -50px rgba(60, 40, 90, .5); }
.aiv3 .cta__panel { background: rgba(255, 253, 248, .86); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 40px 80px -30px rgba(20, 15, 40, .5); }

/* Footer: ink, with a warm light from below */
.aiv3 .foot { position: relative; isolation: isolate; }
.aiv3 .foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 120%, rgba(255, 120, 70, .22), transparent 70%); pointer-events: none; }

@media (max-width: 734px) {
  .aiv3 .aurora, .aiv3 .contours { height: 640px; }
  .aiv3 .aurora__a { width: 420px; height: 320px; }
  .aiv3 .aurora__b { width: 460px; height: 360px; }
  .aiv3 .aurora__c { width: 360px; height: 260px; }
}
