/* Honorabel homepage (2026-11-06).
   Slate and paper with amber from the H's folded ribbon. One family, Schibsted Grotesk.
   The loud thing is the ribbon under the first line of the hero; the rest is calm,
   product-first and generous with space, the way the better finance apps present themselves. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --night: #121920;
  --deep: #0E141A;
  --panel: #18212B;
  --panel-2: #1F2A36;
  --line: rgba(243, 238, 228, 0.09);
  --paper: #F3EEE4;
  --text: #CFCAC0;
  --mist: #8F9AA5;
  --amber: #F2A441;
  --amber-2: #E5893A;
  --amber-deep: #9A4220;
  --mint: #8FD3B0;
  --focus: #78CDD0;
  --wrap: min(1160px, calc(100vw - 48px));
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Headings, navigation, buttons and app screenshots are display surfaces:
   selecting them only paints boxes over the design. Body text, addresses
   and rates stay selectable so people can copy what they need. */
h1, h2, h3, .hn-nav, figure, img, svg, button {
  -webkit-user-select: none;
  user-select: none;
}
img { -webkit-user-drag: none; }

/* Every page is locked against selection, so select-all no longer paints
   bands across the layout. Links and buttons still work; the mail address
   and form fields stay selectable so people can copy them. */
body.hn { -webkit-user-select: none; user-select: none; }
body.hn a[href^="mailto:"], input, textarea { -webkit-user-select: text; user-select: text; }

::selection { background: rgba(242, 164, 65, 0.32); color: var(--paper); }

body.hn {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 6px; }

.hn-wrap { width: var(--wrap); margin-inline: auto; }

.hn-skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: 10px; background: var(--paper); color: var(--night);
}
.hn-skip:focus { top: 16px; }

h1, h2, h3 { color: var(--paper); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.04; text-wrap: balance; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 750; }

/* ---------- Nav ---------- */
.hn-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 25, 32, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hn-nav-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.hn-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font-weight: 750; font-size: 1.08rem; letter-spacing: -0.01em; }
.hn-brand img { border-radius: 8px; }
.hn-links { display: flex; gap: 28px; margin-left: auto; }
.hn-links a { color: var(--text); text-decoration: none; font-size: 0.98rem; }
.hn-links a:hover { color: var(--paper); }
.hn-nav-cta {
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  background: var(--paper); color: var(--night); font-weight: 700; font-size: 0.95rem;
}
.hn-nav-cta:hover { background: #fff; }

/* ---------- Hero ---------- */
.hn-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 104px); }
.hn-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% 30%, rgba(242, 164, 65, 0.13), transparent 62%),
    radial-gradient(700px 480px at 10% 100%, rgba(120, 205, 208, 0.06), transparent 60%);
}
.hn-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.hn-kicker { color: var(--amber); font-weight: 650; font-size: 1rem; }

.hn-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 4.9vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 850;
}
.hn-h1-rest { display: block; margin-top: 0.12em; color: var(--paper); opacity: 0.6; }

/* the ribbon: runs in from the page edge, pointed end, folded underside (the H's crossbar) */
.hn-ribbon {
  position: relative; display: inline-block; white-space: nowrap;
  padding: 0.02em 0.55em 0.1em 0;
  color: var(--deep);
  background: linear-gradient(90deg, var(--amber-2), var(--amber) 62%, #F7B451);
  clip-path: polygon(-100vw 0, calc(100% - 0.4em) 0, 100% 50%, calc(100% - 0.4em) 100%, -100vw 100%);
  transform: rotate(-1.3deg); transform-origin: left center;
}
.hn-ribbon::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: calc(100% - 2px); width: 100vw;
  background: var(--amber-2);
}
.hn-ribbon::after {
  content: ""; position: absolute; left: -100vw; right: 0.42em; bottom: -0.13em; height: 0.13em;
  background: var(--amber-deep);
}
@media (prefers-reduced-motion: no-preference) {
  .hn-ribbon { animation: hn-ribbon 800ms var(--ease) 150ms both; }
  @keyframes hn-ribbon { from { clip-path: polygon(-100vw 0, -100vw 0, -100vw 50%, -100vw 100%, -100vw 100%); } }
}

.hn-lead { margin-top: 26px; max-width: 46ch; font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--text); }

.hn-cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hn-badge { display: inline-block; border-radius: 10px; }
.hn-badge img { width: 150px; height: auto; }
.hn-cta-note { color: var(--mist); font-size: 0.93rem; line-height: 1.45; }

/* phones */
.hn-phone {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3A3F45, #15191D 40%, #2B3036);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 40px 80px -20px rgba(3, 6, 10, 0.75),
    0 18px 36px -18px rgba(3, 6, 10, 0.6);
}
.hn-phone img { border-radius: 38px; width: 100%; }

.hn-hero-art { position: relative; height: clamp(520px, 52vw, 640px); }
.hn-hero-art .hn-phone { position: absolute; }
.hn-phone-front { width: min(300px, 62%); right: 4%; top: 0; z-index: 2; }
.hn-phone-back { width: min(260px, 54%); left: 2%; top: 14%; z-index: 1; opacity: 0.92; transform: rotate(-4deg); }

/* ---------- Facts strip ---------- */
.hn-facts { border-block: 1px solid var(--line); background: var(--deep); }
.hn-facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.hn-facts-row p { padding: 26px 22px; color: var(--mist); font-size: 0.95rem; line-height: 1.45; }
.hn-facts-row p + p { border-left: 1px solid var(--line); }
.hn-facts-row strong { display: block; margin-bottom: 4px; color: var(--paper); font-weight: 700; font-size: 1rem; }

/* ---------- Sections ---------- */
.hn-section { padding: clamp(80px, 11vw, 150px) 0; }
.hn-head { max-width: 720px; }
.hn-head p { margin-top: 18px; color: var(--text); font-size: 1.15rem; max-width: 56ch; }

/* steps: a real sequence, so numbers belong */
.hn-steps { list-style: none; padding: 0; margin-top: clamp(48px, 7vw, 88px); display: grid; gap: clamp(56px, 8vw, 110px); }
.hn-step { display: grid; grid-template-columns: 1fr 300px; gap: clamp(36px, 7vw, 110px); align-items: center; }
.hn-step:nth-child(even) { grid-template-columns: 300px 1fr; }
.hn-step:nth-child(even) .hn-step-copy { order: 2; }
.hn-step-copy { max-width: 480px; }
.hn-step:nth-child(odd) .hn-step-copy { justify-self: end; }
.hn-step-no {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px;
  border-radius: 50%; border: 1.5px solid var(--amber); color: var(--amber); font-weight: 800;
}
.hn-step h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -0.025em; }
.hn-step p { margin-top: 14px; color: var(--text); }

/* route spotlight */
.hn-route { background: linear-gradient(180deg, var(--night), var(--deep)); }
.hn-route-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.hn-route-grid p { margin-top: 18px; max-width: 46ch; font-size: 1.15rem; }

/* privacy */
.hn-privacy-grid { display: grid; grid-template-columns: 1fr 300px; gap: clamp(40px, 8vw, 120px); align-items: center; }
.hn-privacy-grid > div > p { margin-top: 18px; max-width: 54ch; font-size: 1.12rem; }
.hn-privacy-list { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.hn-privacy-list div { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hn-privacy-list dt { color: var(--paper); font-weight: 700; }
.hn-privacy-list dd { color: var(--text); }
.hn-link { display: inline-block; margin-top: 26px; color: var(--paper); font-weight: 650; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* price */
.hn-price-grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(40px, 7vw, 100px); align-items: center; }
.hn-price-grid > div > p { margin-top: 18px; max-width: 48ch; font-size: 1.12rem; }
.hn-price {
  padding: 34px; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(3, 6, 10, 0.8);
}
.hn-price-name { color: var(--paper); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.hn-price-rows { margin-top: 20px; border-top: 1px solid var(--line); }
.hn-price-rows p { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hn-price-rows span { color: var(--text); }
.hn-price-rows strong { color: var(--paper); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.hn-price-trial { margin: 20px 0 26px; color: var(--mist); font-size: 0.95rem; }

/* fit */
.hn-passer-top { display: grid; grid-template-columns: 1fr 280px; gap: clamp(40px, 8vw, 120px); align-items: center; }
.hn-passer-top .hn-head p + p { margin-top: 14px; }
@media (max-width: 960px) {
  .hn-passer-top { grid-template-columns: 1fr; }
  .hn-passer-top .hn-phone { width: min(280px, 78vw); margin-inline: auto; }
}

.hn-fit { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hn-fit-col { padding: 32px; border-radius: var(--radius-md); background: var(--panel); border: 1px solid var(--line); }
.hn-fit-col h3 { color: var(--mint); }
.hn-fit-col.is-no h3 { color: var(--mist); }
.hn-fit-col ul { margin-top: 18px; padding: 0; list-style: none; display: grid; gap: 12px; }
.hn-fit-col li { position: relative; padding-left: 26px; }
.hn-fit-col li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.hn-fit-col.is-no li::before { width: 10px; height: 2px; top: 0.75em; border: 0; background: var(--mist); transform: none; }
.hn-scope { margin-top: 28px; max-width: 70ch; color: var(--mist); font-size: 0.98rem; }

/* guides */
.hn-guide-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hn-guide {
  display: grid; align-content: start; gap: 10px; padding: 28px; border-radius: var(--radius-md);
  background: var(--panel); border: 1px solid var(--line); text-decoration: none;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.hn-guide:hover { border-color: rgba(242, 164, 65, 0.55); background: var(--panel-2); }
.hn-guide p { color: var(--text); font-size: 0.98rem; }
.hn-guide span { margin-top: 8px; color: var(--amber); font-weight: 650; font-size: 0.95rem; }
@media (max-width: 960px) { .hn-guide-grid { grid-template-columns: 1fr; } }

/* faq */
.hn-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.hn-faq { border-top: 1px solid var(--line); }
.hn-faq details { border-bottom: 1px solid var(--line); }
.hn-faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  color: var(--paper); font-weight: 650; font-size: 1.1rem;
}
.hn-faq summary::-webkit-details-marker { display: none; }
.hn-faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg);
  transition: transform 200ms var(--ease);
}
.hn-faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.hn-faq details p { padding: 0 40px 24px 0; color: var(--text); max-width: 62ch; }

/* final */
.hn-final { padding: clamp(80px, 10vw, 130px) 0; background: radial-gradient(700px 360px at 50% 0%, rgba(242, 164, 65, 0.14), transparent 70%), var(--deep); border-top: 1px solid var(--line); }
.hn-final-inner { display: grid; justify-items: center; text-align: center; gap: 30px; }
.hn-final-inner > img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(242, 164, 65, 0.35); }
.hn-final h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.hn-final .hn-badge img { width: 171px; }

/* footer */
.hn-footer { padding: 44px 0 56px; border-top: 1px solid var(--line); background: var(--deep); }
.hn-footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.hn-footer p { margin-top: 10px; color: var(--mist); font-size: 0.93rem; }
.hn-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hn-footer nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.hn-footer nav a:hover { color: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hn-hero-grid, .hn-route-grid, .hn-privacy-grid, .hn-price-grid, .hn-faq-grid { grid-template-columns: 1fr; }
  .hn-hero-art { height: 560px; max-width: 460px; width: 100%; margin-inline: auto; }
  .hn-step, .hn-step:nth-child(even) { grid-template-columns: 1fr; justify-items: center; }
  .hn-step:nth-child(even) .hn-step-copy { order: 0; }
  .hn-step:nth-child(odd) .hn-step-copy { justify-self: auto; }
  .hn-step .hn-phone, .hn-route-grid .hn-phone, .hn-privacy-grid .hn-phone { width: min(280px, 78vw); margin-inline: auto; }
  .hn-route-grid .hn-phone { order: 2; }
  .hn-facts-row { grid-template-columns: 1fr 1fr; }
  .hn-facts-row p:nth-child(3) { border-left: 0; }
  .hn-facts-row p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hn-fit { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100vw - 32px); }
  .hn-links { display: none; }
  .hn-nav-cta { margin-left: auto; }
  .hn-hero h1 { font-size: clamp(2.3rem, 10.6vw, 3rem); }
  .hn-hero-art { height: 470px; }
  .hn-phone-front { width: 62%; }
  .hn-phone-back { width: 54%; }
  .hn-phone { border-radius: 36px; padding: 7px; }
  .hn-phone img { border-radius: 30px; }
  .hn-facts-row { grid-template-columns: 1fr; }
  .hn-facts-row p + p { border-left: 0; border-top: 1px solid var(--line); }
  .hn-privacy-list div { grid-template-columns: 1fr; gap: 4px; }
  .hn-price { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hn-faq summary::after { transition: none; }
}

/* Line breaks (2026-11-06): no lonely words at the end of a paragraph, balanced headings,
   and no automatic hyphenation: words break whole, never mid-word. */
.hn p, .hn li, .hn dd, .hn summary { text-wrap: pretty; }
.hn h1, .hn h2, .hn h3 { text-wrap: balance; hyphens: manual; }
.hn-article main p, .hn-article main li { hyphens: manual; }
