/* New Idea Works — site styles (Nov 2026)
   Direction: a light, airy sibling of tayberryapp.com. Cool white page, soft sky and peach light
   washing in from the top, white cards, pill buttons. Blue carries the interface; the ni logo's
   orange "spark" returns only as small marks. One committed light theme. */
:root {
  --bg: #f8f9fc;            /* page */
  --bg-tint: #f0f4fb;       /* tinted bands */
  --surface: #ffffff;       /* cards, forms */
  --ink: #141826;           /* headlines */
  --ink-2: #474d61;         /* body */
  --ink-3: #737a8f;         /* captions */
  --line: rgba(20, 24, 38, 0.09);
  --line-strong: rgba(20, 24, 38, 0.17);
  --blue: #2350e0;          /* primary */
  --blue-deep: #1a3db5;
  --azure: #2b87ee;
  --blue-soft: #e9efff;
  --spark: #ff9f1a;         /* logo dot; small marks only */
  --spark-soft: #fff2dd;
  --ok: #1f9d6b;
  --err: #c2283c;
  --grad: linear-gradient(120deg, #2350e0 0%, #2d6ae9 48%, #2b8fe8 100%);
  --grad-soft: linear-gradient(135deg, rgba(35, 80, 224, 0.08), rgba(255, 159, 26, 0.08));

  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Albert Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 30, 70, 0.04), 0 12px 32px -14px rgba(20, 30, 70, 0.16);
  --shadow-lg: 0 2px 4px rgba(20, 30, 70, 0.04), 0 40px 90px -34px rgba(35, 80, 224, 0.34);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --measure: 62ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.05rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: var(--measure); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head .lede { margin-inline: auto; }

/* Labels */
.label { font-family: var(--text); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); flex: none; }
.pill-label { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: 0 1px 2px rgba(20, 30, 70, 0.04); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-family: var(--text); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(35, 80, 224, 0.7); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(35, 80, 224, 0.85); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.74rem; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(248, 249, 252, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { height: 34px; width: auto; }
@media (max-width: 420px) { .brand img { height: 30px; } }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--spark); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 80px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1;
  background:
    radial-gradient(42% 46% at 12% 18%, rgba(255, 159, 26, 0.20), transparent 70%),
    radial-gradient(46% 52% at 88% 14%, rgba(43, 135, 238, 0.22), transparent 70%),
    radial-gradient(40% 40% at 55% 0%, rgba(35, 80, 224, 0.10), transparent 70%); }
.hero .wrap { display: grid; justify-items: center; text-align: center; gap: 24px; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-inline: auto; }
.hero .btn-row { justify-content: center; margin-top: 6px; }
.hero-note { font-size: 0.9rem; color: var(--ink-3); }
.hero-note b { color: var(--ink); font-weight: 600; }

/* Screenshots */
.shot { position: relative; }
.shot img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.shot figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--ink-3); text-align: center; }
.hero-shot { margin-top: clamp(40px, 6vw, 64px); width: 100%; max-width: 1080px; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { font-size: 0.98rem; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.95rem; }
.card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.card li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.6 7.2l2.2 2.2 4.6-4.8' fill='none' stroke='%232350e0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.step .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--blue-deep); background: var(--blue-soft); }
.step.lit .num { background: var(--grad); color: #fff; box-shadow: 0 0 0 6px rgba(35, 80, 224, 0.10); }
.step p { font-size: 0.98rem; }

/* Tinted band */
.band { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 22%, var(--bg-tint) 78%, var(--bg) 100%); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split .copy { display: grid; gap: 20px; justify-items: start; }
.split h2, .contact-split h2 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 1rem; }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.tb-logo { height: 44px; width: auto; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 6px; }
.stat b { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.05; }
.stat span { font-size: 0.95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.gallery .shot figcaption { text-align: left; display: grid; gap: 2px; }
.gallery .shot figcaption strong { color: var(--ink); font-family: var(--display); font-size: 1.05rem; }

/* About */
.about-card { display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: transform .2s ease; }
.about-card:hover { transform: translateY(-2px); color: var(--ink); }
.about-card .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #0b0d12; }
.about-card .bar img { height: 26px; width: auto; }
.about-card .bar span { font-size: 0.78rem; letter-spacing: 0.06em; color: #b9c0cc; }
.about-card .cap { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 12px 16px; font-size: 0.85rem; color: var(--ink-3); }
.prose { display: grid; gap: 18px; max-width: var(--measure); }
.quote { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.35; color: var(--ink); letter-spacing: -0.015em; padding-left: 22px; border-left: 3px solid var(--spark); }
.quote cite { display: block; margin-top: 12px; font-family: var(--text); font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfe; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35, 80, 224, 0.14); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.err-msg { font-size: 0.85rem; color: var(--err); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.88rem; color: var(--ink-3); }
.form-result { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.95rem; }
.form-result.ok { background: #e7f6ef; color: #135c40; }
.form-result.err { background: #fdecee; color: #8a1d2b; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-split .copy { display: grid; gap: 18px; justify-items: start; position: sticky; top: 110px; }

/* CTA panel */
.cta-panel { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 64px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; display: grid; gap: 18px; justify-items: center; isolation: isolate; }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 0% 0%, rgba(255, 159, 26, 0.14), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(43, 135, 238, 0.16), transparent 70%); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 48px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid p { font-size: 0.95rem; margin-top: 14px; max-width: 42ch; }
.foot-grid h4 { font-family: var(--text); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-3); }

/* Responsive */
@media (max-width: 1000px) {
  .grid-3, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .split, .split.flip, .contact-split { grid-template-columns: 1fr; }
  .contact-split .copy { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .steps, .stats, .gallery, .form-row { grid-template-columns: 1fr; }
  .hero .btn-row .btn { width: 100%; }
  .hero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arr, .about-card { transition: none; }
}

/* Hosting plans */
.hero h1.wide { max-width: 14ch; }
.plan { cursor: pointer; }
.plan .pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan .pick input { margin-left: auto; width: 1.15rem; height: 1.15rem; accent-color: var(--blue); }
.plan-badge { background: var(--blue-soft); color: var(--blue-deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.plan.featured { border-color: rgba(35, 80, 224, 0.35); }
.plan:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 80, 224, 0.14), var(--shadow); }
.plan-price { display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.plan-price b { font-family: var(--display); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price span, .plan-annual { color: var(--ink-3); font-size: 0.95rem; }
.plan-annual { margin-top: -4px; }
.hosting-details { max-width: 720px; margin: 22px auto 0; }
.optional { font-weight: 500; color: var(--ink-3); }
.faq { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq details p { margin-top: 10px; }
.portal-form { display: grid; gap: 14px; width: min(100%, 420px); text-align: left; }
@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: 1fr; }
}
