/* NOSE Tech light-mode visual alignment, verified against nosetech.se on 2026-11-12.
   Kept separate from the exported stylesheet so content refreshes retain it.
   The existing original and warm-gold-v3 query-string palettes remain usable. */
:root {
  --font-body: system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-body);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 16px;
  --brand-container: 1160px;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: .18px;
  background: var(--paper);
}
:root[data-theme="original-green"] {
  color-scheme: light;
  --theme-background: #fafafa;
  --theme-surface: #ffffff;
  --theme-surface-2: #f1f1f1;
  --theme-border: #e3e3e3;
  --theme-text: #17181a;
  --theme-text-soft: #55575c;
  --theme-muted: #626469;
  --theme-primary: #22c55e;
  --theme-primary-hover: #16a34a;
  --theme-primary-soft: #e8f7ed;
  --theme-on-primary: #08110b;
  --theme-action: #22c55e;
  --theme-action-hover: #16a34a;
  --theme-on-action: #08110b;
  --theme-inverse-background: #f1f1f1;
  --theme-inverse-text: #17181a;
  --theme-contrast-button: #22c55e;
  --theme-on-contrast-button: #14823a;
  --theme-image-placeholder: #e3e3e3;
  --theme-danger: #ba4646;
  --theme-warning: #a96e1d;
  --color-overlay: rgb(15 15 16 / 48%);
  --color-placeholder: #74767b;
  --color-number: #626469;
  --shadow-action: none;
  --shadow-action-hover: none;
  --shadow-help: none;
  --shadow-feature-icon: none;
  --shadow-modal: 0 24px 80px rgb(15 15 16 / 18%);
}
body { font-family: var(--font-body); line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; }
button, input, select, textarea { font-family: var(--font-body); }
select option { background: var(--theme-surface); color: var(--ink); }
:focus-visible { outline: 3px solid var(--theme-primary); outline-offset: 4px; }
.section-shell { width: min(var(--brand-container), calc(100% - 48px)); }

/* The compact header and restrained buttons follow the main NOSE Tech site. */
.site-header {
  min-height: 72px;
  padding-inline: max(24px, calc((100% - var(--brand-container)) / 2));
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.site-header nav { justify-self: end; gap: 28px; }
.site-header nav a { font-size: 15px; font-weight: 400; }
.brand-logo-name { font-size: 28px; font-weight: 600; letter-spacing: -.04em; }
.language-picker select { min-height: 44px; border-radius: 10px; font-size: 13px; font-weight: 400; background-color: transparent; }
.header-support { min-height: 44px; padding: 10px 18px; border-radius: 10px; background: var(--theme-action); color: var(--theme-on-action); font-weight: 600; }
.header-support:hover { background: var(--theme-action-hover); }
.button { min-height: 48px; padding: 13px 24px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.45; box-shadow: none; }
.button svg { flex-shrink: 0; }
.button:hover:not(:disabled) { transform: none; box-shadow: none; }
.button-light { background: transparent; border-color: var(--line); }
.button-light:hover:not(:disabled) { background: var(--theme-surface); border-color: var(--theme-primary); }
.button-blue { background: var(--theme-action); color: var(--theme-on-action); }
.button-blue:hover:not(:disabled) { background: var(--theme-action-hover); }

.operator-card {
  background: #121312;
  color: #f6f8f5;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  padding: 18px max(24px, calc((100% - var(--brand-container)) / 2));
  border-bottom: 1px solid #121312;
}
.operator-logo { max-width: 150px; }
.operator-copy { padding-left: 24px; border-color: rgb(246 248 245 / 22%); }
.operator-copy strong { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.operator-copy > span { font-size: 12px; color: rgb(246 248 245 / 70%); }
.operator-link { font-size: 12px; font-weight: 500; }

/* Keep the product photography and every existing message, with a calmer grid. */
.hero {
  width: min(var(--brand-container), calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 0;
  padding: 64px 0 80px;
  gap: 48px;
}
.hero-copy { padding: 24px 0; animation: none; }
.product-kicker, .eyebrow {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 40%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--theme-primary) 12%, transparent);
  color: var(--theme-on-contrast-button);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .3px;
  text-transform: none;
}
.hero h1 { font-size: clamp(42px, 4.6vw, 64px); font-weight: 500; line-height: 1.1; letter-spacing: -1.6px; }
.hero h1 em { font-size: 1em; font-style: normal; font-weight: 500; letter-spacing: inherit; color: var(--theme-on-contrast-button); }
.hero-lead { margin-top: 24px; font-size: 18px; font-weight: 400; letter-spacing: 0; line-height: 1.65; }
.hero-actions { margin-top: 28px; gap: 12px; }
.hero-proof { margin-top: 30px; gap: 10px 0; font-size: 12px; font-weight: 400; }
.hero-visual { min-height: 570px; border-radius: 16px; border: 1px solid var(--line); box-shadow: none; animation: none; }
.hero-visual > img { object-position: 59% center; }
.lock-callout { grid-template-columns: 116px 1fr; width: calc(100% - 32px); left: 16px; bottom: 16px; padding: 12px 16px 12px 8px; border-color: var(--line); border-radius: 12px; background: color-mix(in srgb, var(--paper) 93%, transparent); color: var(--ink); box-shadow: none; }
.lock-callout > img { width: 116px; height: 136px; }
.lock-callout-copy > span { color: var(--theme-on-contrast-button); font-size: 10px; font-weight: 600; letter-spacing: .3px; text-transform: none; }
.lock-callout strong { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.lock-callout p { font-size: 12px; }
.visual-index { color: #17221b; }

.intro { grid-template-columns: .42fr 1fr; padding: 80px 0 48px; gap: 56px; }
.section-label { font-weight: 500; letter-spacing: .3px; }
.intro-copy h2, .faq-heading h2, .help-copy h2, .document-guides-heading h2, .automatic-unlock-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.4px;
}
.intro-copy > p:last-child { margin: 24px 0 0; font-size: 17px; line-height: 1.7; }
.features { gap: 20px; padding-bottom: 88px; }
.feature-card { min-height: 270px; padding: 28px; background: var(--theme-surface); border-radius: 16px; }
.feature-card:hover { transform: none; background: var(--theme-surface); border-color: color-mix(in srgb, var(--theme-primary) 55%, var(--line)); box-shadow: none; }
.feature-icon, .document-guide-icon { background: var(--theme-primary-soft); color: var(--theme-on-contrast-button); border-radius: 10px; box-shadow: none; }
.feature-card h3 { margin-top: 44px; font-size: 23px; font-weight: 500; letter-spacing: -.3px; }
.feature-card p { font-size: 15px; line-height: 1.7; }

.document-guides { padding: 0; margin-bottom: 72px; border: 0; background: transparent; }
.document-guides-heading { padding-bottom: 28px; gap: 40px; align-items: start; }
.document-guides-heading > p { font-size: 17px; line-height: 1.7; }
.document-guides-grid { gap: 20px; padding-top: 28px; }
.document-guide:nth-child(n) { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--theme-surface); }
.document-guide-top { margin-bottom: 24px; }
.document-guide h3 { font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.3px; }
.document-guide > p { font-size: 15px; }
.document-guide-button { padding: 12px 16px; background: transparent; }
.document-guide-button:hover { background: var(--theme-primary-soft); }

.help-strip { grid-template-columns: 110px 1fr auto; gap: 28px; min-height: 230px; padding: 36px; background: var(--theme-surface); border: 1px solid color-mix(in srgb, var(--theme-primary) 40%, var(--line)); color: var(--ink); border-radius: 16px; box-shadow: none; }
.help-strip .eyebrow { color: var(--theme-on-contrast-button); }
.help-copy > p:last-child { color: var(--ink-soft); line-height: 1.7; }
.help-orbit { width: 100px; height: 100px; }
.orbit-one, .orbit-two { border-color: color-mix(in srgb, var(--theme-primary) 40%, transparent); }
.orbit-two { inset: 17px; }
.orbit-core { inset: 30px; background: var(--theme-primary-soft); color: var(--theme-on-contrast-button); }
.orbit-one:before, .orbit-two:before { background: var(--theme-primary); }
.automatic-unlock-panel { margin-top: 24px; padding: 36px; grid-template-columns: 96px minmax(0, 1fr) auto; border-color: var(--line); background: var(--theme-surface-2); border-radius: 16px; }
.automatic-unlock-copy > p:last-child { font-size: 16px; line-height: 1.7; }
.automatic-unlock-art { color: var(--theme-on-contrast-button); }
.automatic-unlock-panel + .faq-section { margin-top: 88px; }

.faq-section { padding: 80px 0; border-block: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.faq-heading { gap: 48px; }
.faq-heading .eyebrow { color: var(--theme-on-contrast-button); }
.faq-heading > p { color: var(--ink-soft); font-size: 17px; }
.faq-frame-shell { margin-top: 32px; border-color: var(--line); border-radius: 16px; box-shadow: none; }
.frame-toolbar { background: var(--theme-surface); border-color: var(--line); }
.frame-status { font-size: 12px; font-weight: 500; letter-spacing: .3px; }
.frame-toolbar a { color: var(--ink-soft); font-weight: 500; }
.iframe-fallback { background: var(--theme-surface); }
.iframe-fallback a { color: var(--theme-on-contrast-button); }
.site-footer { min-height: 170px; }
.footer-links a, .footer-links button { font-weight: 400; }

/* Support, forms and articles share the same surfaces without changing flows. */
.support-modal { border-color: var(--paper); border-radius: 20px; padding: 36px; }
.support-help h2, .modal-heading h2, .success-panel h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.4px; }
.support-help h3 { font-size: 20px; font-weight: 500; }
.modal-close, .document-reader-close, .app-download-close { border-radius: 10px; background: var(--theme-surface); }
.help-intro, .help-detail-intro, .modal-heading > p:last-child { color: var(--ink-soft); line-height: 1.7; }
.help-topic, .help-symptom, .help-urgent { border-radius: 10px; background: var(--theme-surface); padding: 18px; font-weight: 400; }
.help-topic:hover, .help-symptom:hover, .help-urgent:hover { background: var(--theme-primary-soft); border-color: var(--theme-primary); }
.help-featured { border-left-color: var(--theme-primary); font-weight: 600; }
.help-answer { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.help-answer strong { color: var(--ink); }
.help-link, .help-other, .help-answer a, .help-more { color: var(--theme-on-contrast-button); }
.field > span { font-size: 13px; font-weight: 500; }
.field input, .field select, .field textarea { background: var(--theme-surface); border-color: var(--line); font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--theme-primary); }
.help-ai { background: var(--theme-surface-2); border-color: var(--line); border-radius: 16px; color: var(--ink); padding: 24px; }
.help-ai-title { font-size: 24px; font-weight: 500; letter-spacing: -.3px; }
.help-ai-intro { color: var(--ink-soft); font-size: 14px; }
.help-ai textarea { background: var(--theme-surface); color: var(--ink); border-color: var(--line); border-radius: 10px; }
.help-ai textarea::placeholder { color: var(--muted); }
.help-ai-send { background: var(--theme-action); color: var(--theme-on-action); border-radius: 10px; font-size: 14px; }
.help-ai-send:hover:not(:disabled) { background: var(--theme-action-hover); }

/* Restyle all chatbot states, including sources, errors and privacy details. */
.ai-dialog { background: var(--paper); color: var(--ink); border-color: var(--line); border-radius: 20px; box-shadow: var(--shadow-modal); }
.ai-dialog::backdrop { background: var(--color-overlay); }
.ai-aside { background: var(--theme-surface-2); color: var(--ink); border-right: 1px solid var(--line); }
.ai-brand { font-weight: 500; letter-spacing: -.5px; }
.ai-brand-icon { background: var(--theme-primary-soft); border-color: var(--line); color: var(--theme-on-contrast-button); border-radius: 10px; }
.ai-aside h2 { font-size: 30px; font-weight: 500; letter-spacing: -.4px; }
.ai-aside > p, .ai-facts, .ai-welcome > p { color: var(--ink-soft); }
.ai-facts li { border-color: var(--line); }
.ai-facts li:before { color: var(--theme-on-contrast-button); }
.ai-header, .ai-footer { background: var(--paper); border-color: var(--line); }
.ai-header h2 { font-weight: 500; font-size: 18px; }
.ai-header p, .ai-turn-name, .ai-sources > p, .ai-handoff-note, .ai-count, .ai-notice { color: var(--muted); }
.ai-reset, .ai-text-button, .ai-privacy-toggle { color: var(--ink-soft); }
.ai-close { color: var(--ink); background: var(--theme-surface); border-color: var(--line); border-radius: 10px; }
.ai-welcome h3 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.4px; }
.ai-suggestion, .ai-source, .ai-article-back { color: var(--ink); background: var(--theme-surface); border-color: var(--line); border-radius: 10px; }
.ai-suggestion:hover, .ai-source:hover, .ai-article-back:hover { background: var(--theme-primary-soft); border-color: var(--theme-primary); }
.ai-turn-assistant .ai-turn-text { background: var(--theme-surface); border-color: var(--line); border-radius: 4px 14px 14px; }
.ai-turn-user .ai-turn-text { background: var(--theme-primary-soft); color: var(--ink); border-radius: 14px 4px 14px 14px; }
.ai-turn-text a, .ai-article-body p a { color: var(--theme-on-contrast-button); }
.ai-turn-text a:hover, .ai-article-body p a:hover { color: var(--theme-on-contrast-button); text-decoration-thickness: 2px; }
.ai-working, .ai-working:before { color: var(--theme-on-contrast-button); }
.ai-compose { border-color: var(--line); background: var(--theme-surface); border-radius: 12px; }
.ai-compose:focus-within { border-color: var(--theme-primary); box-shadow: 0 0 0 3px var(--color-primary-halo); }
.ai-compose textarea { color: var(--ink); font-size: 16px; }
.ai-compose textarea::placeholder { color: var(--muted); }
.ai-send { color: var(--theme-on-action); background: var(--theme-action); border-radius: 10px; }
.ai-article, .ai-privacy { background: var(--paper); color: var(--ink-soft); border-color: var(--line); }
.ai-article-toolbar { border-color: var(--line); }
.ai-article h2 { color: var(--ink); font-size: 28px; font-weight: 500; letter-spacing: -.4px; }
.ai-article-body p { color: var(--ink-soft); font-size: 15px; }
.ai-privacy h3 { color: var(--ink); }
.ai-privacy-toggle:hover { color: var(--theme-on-contrast-button); }
.ai-error { background: color-mix(in srgb, var(--theme-warning) 10%, var(--paper)); color: var(--ink); border-color: color-mix(in srgb, var(--theme-warning) 45%, var(--line)); }
.ai-escalate { color: var(--theme-on-action); background: var(--theme-action); }
.ai-dialog button:focus-visible, .ai-dialog a:focus-visible, .help-ai textarea:focus-visible, .help-ai-send:focus-visible { outline-color: var(--theme-primary); }

.document-reader { border-radius: 16px; }
.document-reader-heading h2 { font-weight: 500; }
.document-reader-heading > p { font-weight: 500; letter-spacing: .3px; }
.document-reader-content, .document-reader-frame { background: #f1f1f1; }
.app-download { width: 420px; border-radius: 16px; background: #fffffff5; color: var(--ink); border-color: var(--line); box-shadow: 0 8px 32px #17181a1a; }
.app-download-copy strong { font-size: 18px; font-weight: 500; letter-spacing: -.2px; }
.app-download-eyebrow { color: var(--muted); letter-spacing: .3px; text-transform: none; }
.app-download-stores { color: var(--ink-soft); }
.app-download-action { background: #22c55e; color: #08110b; border-radius: 10px; box-shadow: none; }
.app-download:hover { border-color: #93c9a6; box-shadow: 0 10px 32px #17181a20; }
.app-download:hover .app-download-action { background: #16a34a; transform: none; }
.app-download-dialog { border-radius: 16px; }
.app-download-dialog h2 { font-size: 32px; font-weight: 500; letter-spacing: -.4px; }
.app-download-art { border-color: var(--line); background: var(--theme-primary-soft); }
.app-download-art img { transform: none; }
.app-download-continue { background: var(--theme-action); color: var(--theme-on-action); border-radius: 10px; font-weight: 600; }
.app-download-continue:hover { background: var(--theme-action-hover); }
.app-download-continue svg { color: inherit; }

@media (max-width: 1120px) {
  .hero { gap: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .help-strip { grid-template-columns: 90px minmax(0, 1fr); }
  .help-strip .button { grid-column: 2; }
  .help-orbit { grid-row: 1 / 3; }
  .automatic-unlock-panel { grid-template-columns: 88px minmax(0, 1fr); gap: 24px; }
  .automatic-unlock-button { grid-column: 2; }
}
@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto; gap: 16px; }
  .operator-card { grid-template-columns: 130px 1fr; gap: 12px 20px; }
  .operator-copy { grid-column: 2; grid-row: 1; padding: 0; border: 0; }
  .operator-link { grid-column: 2; justify-self: start; }
  .hero { grid-template-columns: 1fr; padding: 48px 0 64px; gap: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(40px, 7vw, 60px); }
  .hero-lead { max-width: 620px; }
  .hero-actions { flex-direction: row; }
  .hero-visual { min-height: 480px; }
  .lock-callout { max-width: 400px; }
  .intro { grid-template-columns: 1fr; padding: 56px 0 32px; gap: 28px; }
  .features { padding-bottom: 64px; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 28px; }
  .document-guides { margin-bottom: 48px; }
  .document-guides-heading { grid-template-columns: 1fr; gap: 20px; }
  .document-guides-heading > p { max-width: none; }
  .document-guides-grid { grid-template-columns: 1fr; }
  .help-strip { grid-template-columns: 1fr; gap: 20px; }
  .help-strip .button { grid-column: 1; }
  .faq-heading { grid-template-columns: 1fr; gap: 24px; }
  .faq-section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .section-shell, .hero { width: calc(100% - 40px); }
  .site-header { padding-inline: 20px; }
  .header-actions { gap: 8px; }
  .language-picker select { min-width: 90px; padding-left: 8px; }
  .header-support { padding: 10px 12px; font-size: 13px; }
  .operator-card { padding: 16px 20px; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 12px; }
  .operator-logo { max-width: 130px; }
  .operator-link { grid-row: 1; grid-column: 2; justify-self: end; white-space: normal; max-width: 150px; }
  .operator-copy { grid-row: 2; grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(36px, 9.5vw, 52px); letter-spacing: -1px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { align-self: stretch; }
  .hero-visual { min-height: 440px; }
  .lock-callout { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; min-height: 140px; padding: 12px; }
  .lock-callout > img { width: 88px; height: 114px; }
  .lock-callout strong { font-size: 15px; }
  .lock-callout p { font-size: 11px; }
  .feature-card, .document-guide:nth-child(n), .help-strip, .automatic-unlock-panel { padding: 24px; border-radius: 16px; }
  .document-guides { padding: 0; }
  .document-guide h3 { font-size: 22px; }
  .automatic-unlock-panel { grid-template-columns: 1fr; gap: 20px; }
  .automatic-unlock-button { grid-column: 1; }
  .automatic-unlock-copy h2, .help-copy h2 { font-size: 28px; }
  .automatic-unlock-panel + .faq-section { margin-top: 64px; }
  .frame-toolbar { flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; }
  .frame-toolbar a { font-size: 12px; }
  .support-modal { padding: 58px 16px max(30px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
  .modal-close { margin-right: 0; }
  .support-help h2, .modal-heading h2, .success-panel h2 { font-size: 28px; }
  .help-ai { padding: 20px; }
  .help-ai-title { font-size: 22px; }
  .ai-welcome h3 { font-size: 28px; }
  .app-download { width: 390px; border-radius: 14px; }
  .app-download-copy strong { font-size: 16px; }
  .app-download-eyebrow { display: block; font-size: 10px; }
  .document-reader { border-radius: 0; }
}
@media (max-width: 500px) { .ai-dialog { border-radius: 0; } }
@media (max-width: 420px) { .header-support { width: 44px; padding: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
