/* Original arso.link landing page. Brand tokens match the application shell. */
:root {
  color-scheme: light;
  --canvas: #f6f7f9;
  --surface: #ffffff;
  --ink: #19212f;
  --muted: #596679;
  --border: #e5e8ee;
  --accent: #255ce8;
  --accent-soft: #eef3ff;
  --sidebar: #171c26;
  --lime: #d6f892;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: #dbe7ff; color: #133682; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
main:focus { outline: none; }
.container { width: min(100% - 5rem, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 14px 20px; background: var(--surface); border: 1px solid var(--border); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 94px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 750; line-height: 1; letter-spacing: -1.15px; white-space: nowrap; }
.brand-domain { font-weight: 480; }
nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
nav a { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 44px; font-size: .875rem; font-weight: 550; }
.nav-dashboard { padding: 0 17px; border: 1px solid #ccd2dc; border-radius: 6px; }
.nav-dashboard:hover { border-color: var(--accent); background: var(--accent-soft); }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .75rem; font-weight: 650; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr); align-items: center; gap: clamp(2rem, 5.5vw, 5rem); padding-block: clamp(4.5rem, 8vw, 7rem); }
.hero h1 { margin-top: 1.5rem; max-width: 760px; font-size: clamp(3rem, 5.6vw, 5.25rem); font-weight: 710; line-height: 1.06; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 span { color: var(--accent); }
.hero-description { margin-top: 1.75rem; max-width: 520px; font-size: 1.125rem; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 50px; padding: 14px 20px; border: 1px solid transparent; border-radius: 6px; font-size: .9rem; font-weight: 600; line-height: 1.4; transition: background-color 140ms ease-out; }
.button-primary { color: var(--surface); background: var(--accent); border-color: var(--accent); }
.button-primary:hover { color: var(--surface); background: #194ed4; border-color: #194ed4; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-size: .875rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-note { margin-top: 1.5rem; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.journey-preview { align-self: stretch; display: flex; flex-direction: column; padding: clamp(1.75rem, 2.6vw, 2.5rem); background: var(--sidebar); border-radius: 10px; color: #f2f5fb; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.preview-heading .eyebrow { color: #b5bfd0; font-size: .65rem; }
.preview-symbol { color: var(--lime); font-size: 1.5rem; }
.journey-preview h2 { margin-top: 1.75rem; font-size: clamp(1.5rem, 2.05vw, 1.875rem); font-weight: 560; line-height: 1.3; letter-spacing: -.035em; }
.preview-steps { display: grid; gap: 0; margin: 2.25rem 0 1.75rem; padding: 0; list-style: none; }
.preview-steps li { position: relative; display: flex; align-items: flex-start; gap: 1rem; padding-bottom: 1.65rem; }
.preview-steps li:last-child { padding-bottom: 0; }
.preview-steps li:not(:last-child)::before { content: ""; position: absolute; top: 16px; left: 5px; bottom: 0; width: 1px; background: #454e5e; }
.step-marker { position: relative; margin-top: 5px; width: 11px; height: 11px; border: 2px solid var(--lime); border-radius: 50%; flex-shrink: 0; }
.preview-steps li:last-child .step-marker { background: var(--lime); }
.step-label { display: block; margin-bottom: .4rem; color: #aab7ca; font-size: .7rem; line-height: 1.5; }
.preview-steps strong { font-size: .875rem; font-weight: 530; line-height: 1.6; }
.preview-note { margin-top: auto; padding-top: 1.3rem; border-top: 1px solid #353d4b; font-size: .75rem; line-height: 1.7; color: #b5bfd0; }
.capabilities { padding-block: .75rem clamp(4rem, 7vw, 6rem); }
.section-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; padding-block: 2.25rem 3rem; border-top: 1px solid #d8dee7; }
.section-intro > .eyebrow { padding-top: .6rem; }
h2 { font-size: clamp(1.875rem, 3vw, 2.75rem); font-weight: 610; line-height: 1.2; letter-spacing: -.045em; }
.section-intro h2 { width: 66%; }
.feature { display: grid; grid-template-columns: 45px minmax(0, 1fr) minmax(0, 1.15fr); align-items: baseline; gap: 2rem; padding-block: 1.875rem; border-top: 1px solid var(--border); }
.feature-number { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.feature h3 { max-width: 300px; font-size: 1.1875rem; font-weight: 580; line-height: 1.4; letter-spacing: -.025em; }
.feature p { max-width: 500px; color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.workflow-section { padding-block: clamp(3.5rem, 6vw, 5rem); background: #edf1f6; border-block: 1px solid #e0e5ed; }
.workflow-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.workflow-heading h2 { margin-top: 1.25rem; }
.workflow-heading > p { max-width: 300px; color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; padding: 0; margin: 3.5rem 0 0; }
.workflow li { border-top: 1px solid #bfcada; padding-top: 1.5rem; }
.workflow-index { display: inline-grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--surface); font-size: .75rem; font-weight: 600; }
.workflow h3 { margin-top: 1.25rem; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.5; }
.workflow p { margin-top: .65rem; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.ownership { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: clamp(4rem, 8vw, 7rem); }
.ownership h2 { margin-top: 1.25rem; }
.ownership-copy > p { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.ownership-list { margin: 1.75rem 0; padding: 0; list-style: none; }
.ownership-list li { display: flex; align-items: baseline; gap: .85rem; font-size: .875rem; line-height: 1.6; margin-block: .8rem; }
.ownership-list li::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ownership-copy .text-link { color: var(--accent); }
.measurement-note { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; border-top: 1px solid #d8dee7; padding-block: 2rem 3.25rem; }
.measurement-note h2 { font-size: .8125rem; font-weight: 650; line-height: 1.7; letter-spacing: -.01em; }
.measurement-note p { max-width: 760px; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.site-footer { background: var(--sidebar); color: #e3e8f1; }
.footer-inner { min-height: 109px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; }
.footer-brand { font-size: 21px; }
.footer-inner p { margin-right: auto; font-size: .75rem; color: #b5bfd0; }
.footer-inner > a:last-child { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-size: .8125rem; }
.site-footer a:hover { color: var(--lime); }
.site-footer :focus-visible { outline-color: var(--lime); }
.error-main { min-height: calc(100svh - 204px); display: flex; align-items: center; padding-block: 5rem; }
.error-copy { max-width: 720px; }
.error-copy h1 { margin-top: 1.5rem; font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 650; line-height: 1.1; letter-spacing: -.05em; }
.error-copy > p:not(.eyebrow) { margin-top: 1.5rem; max-width: 520px; color: var(--muted); font-size: 1.0625rem; line-height: 1.8; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .9fr); gap: 2rem; }
  .hero h1 { font-size: clamp(3rem, 5.7vw, 4.5rem); }
  .hero-description { font-size: 1rem; }
  .journey-preview { padding: 1.75rem; }
  .feature { gap: 1.5rem; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1.25fr); }
  .workflow { gap: 1.5rem; }
  .ownership { gap: 3rem; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 3rem, 1200px); }
  .header-inner { min-height: 82px; gap: 1.5rem; }
  nav { gap: 1rem; }
  nav a { font-size: .8125rem; }
  .nav-dashboard { padding-inline: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 3.5rem; }
  .hero h1 { max-width: 640px; font-size: clamp(3rem, 8.6vw, 4.5rem); }
  .hero-description { max-width: 580px; font-size: 1.0625rem; }
  .journey-preview { padding: 2rem; }
  .journey-preview h2 { font-size: 1.5rem; }
  .journey-preview h2 br { display: none; }
  .preview-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-block: 1.75rem; }
  .preview-steps li { display: block; padding-bottom: 0; }
  .preview-steps li:not(:last-child)::before { display: none; }
  .step-marker { display: block; margin-bottom: .75rem; }
  .preview-steps strong { font-size: .8125rem; }
  .section-intro { display: block; padding-bottom: 2rem; }
  .section-intro h2 { width: auto; margin-top: 1rem; }
  .section-intro > .eyebrow { padding-top: 0; }
  .feature { grid-template-columns: 24px minmax(0, 1fr); gap: .75rem 1.25rem; }
  .feature p { grid-column: 2; max-width: none; }
  .feature h3 { max-width: none; }
  .workflow-heading { display: block; }
  .workflow-heading > p { max-width: 500px; margin-top: 1.5rem; }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; gap: 2rem; }
  .ownership { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .measurement-note { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .footer-inner { flex-wrap: wrap; gap: .75rem 1.5rem; }
  .footer-inner p { order: 3; flex-basis: 100%; }
  .footer-inner > a:last-child { margin-left: auto; }
}

@media (max-width: 500px) {
  .container { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap: wrap; gap: .75rem; padding-block: 1.25rem .5rem; }
  .brand { font-size: 24px; }
  nav { width: 100%; justify-content: space-between; gap: .5rem; }
  nav a { font-size: .75rem; }
  .nav-dashboard { border: 0; padding-inline: 0; gap: .5rem; }
  .hero { padding-block: 2.75rem 3rem; }
  .hero h1 { font-size: clamp(2.75rem, 11.1vw, 3.5rem); }
  .hero-description { font-size: 1rem; line-height: 1.75; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .5rem; margin-top: 1.75rem; }
  .hero-note { margin-top: 1rem; }
  .journey-preview { padding: 1.5rem; }
  .preview-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .preview-steps li { display: flex; padding-bottom: 1.5rem; }
  .preview-steps li:not(:last-child)::before { display: block; }
  .step-marker { margin-bottom: 0; }
  .preview-steps strong { font-size: .875rem; }
  h2 { font-size: 1.875rem; }
  .feature { gap: .65rem .85rem; padding-block: 1.5rem; }
  .feature h3 { font-size: 1.125rem; }
  .feature p { font-size: .875rem; }
  .workflow { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .workflow h3 { margin-top: .8rem; }
  .workflow p { max-width: 350px; }
  .workflow-section { padding-block: 3rem; }
  .ownership { padding-block: 3.5rem; }
  .measurement-note { padding-bottom: 2.25rem; }
  .footer-inner { padding-block: 1.5rem; }
  .footer-inner > a:last-child { font-size: .75rem; gap: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (forced-colors: active) {
  .step-marker, .workflow-index { border: 1px solid CanvasText; }
  .brand-dot, .ownership-list li::before { background: CanvasText; }
}
