/* ============================================================
   Natalino Systems — redesign preview (simplified)
   Static, self-contained. No external fonts, scripts, or trackers.
   Calmer, less container-heavy: whitespace over decoration.
   ============================================================ */

:root {
  /* Brand */
  --navy: #16233F;
  --navy-deep: #101A2C;
  --teal: #3E7E88;
  --teal-dark: #245057;
  --teal-light: #8FC4CC;    /* light teal — accents/text on navy */
  --teal-border: #BFD9DC;   /* soft teal border on light surfaces */

  /* Surfaces / neutrals */
  --paper: #FBF9F3;
  --sand: #F4EFE4;
  --border: #E2DCCB;        /* container / panel outlines */
  --line: #D8D0BC;          /* internal dividers & rules */
  --field-border: #9A8F76;  /* form input border (>=3:1 on white) */

  /* Text on light */
  --ink: #23201B;
  --ink-soft: #55503F;
  --ink-faint: #6B6552;     /* small meta text — AA on paper/sand */
  --placeholder: #8C8371;   /* input placeholder */

  /* Text on dark (navy) */
  --on-dark: rgba(255,255,255,0.90);
  --on-dark-muted: rgba(255,255,255,0.75);
  --on-dark-faint: rgba(255,255,255,0.60);

  --measure: 62ch;
  --container: 1060px;
  --radius: 8px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }

/* Accessibility */
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 6px; z-index: 200; transition: top .15s ease; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 720px; }
section { padding: 84px 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #fff; }

/* Typography */
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.12; margin: 0 0 20px; max-width: 18ch; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); line-height: 1.2; margin: 0 0 18px; }
h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 6px; }
p  { margin: 0 0 18px; max-width: var(--measure); }
.lead { font-size: 1.16rem; color: var(--ink-soft); line-height: 1.6; max-width: 56ch; }
.eyebrow { font-family: var(--sans); color: var(--teal-dark); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; margin: 0 0 14px; }
.muted { color: var(--ink-faint); font-size: 0.9rem; }
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }
.section-navy h1, .section-navy h2 { color: #fff; }
.section-navy p, .section-navy .lead { color: var(--on-dark); }
.section-navy .eyebrow { color: var(--teal-light); }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-size: 0.98rem; font-weight: 600;
  line-height: 1; padding: 15px 26px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-light:hover { background: var(--sand); }
.btn-text { display: inline-block; font-weight: 600; color: var(--teal-dark); text-decoration: none;
  border-bottom: 1.5px solid var(--teal); padding-bottom: 2px; }
.btn-text:hover { color: var(--navy); border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,249,243,0.92);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand:hover { opacity: 0.8; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links a { color: var(--navy); text-decoration: none; font-size: 0.96rem; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: var(--teal); }
.nav-links a[aria-current="page"] { border-color: var(--navy); }

/* Hero */
.hero { padding: 96px 0 84px; }
.hero.section-sand { background: var(--sand); }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 52px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-figure { margin: 0; justify-self: end; }
.hero-figure img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; display: block;
  box-shadow: 0 12px 32px -18px rgba(22,35,63,0.5); }
.hero-figure figcaption { margin: 16px auto 0; max-width: 210px; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.45; text-align: center; }

/* Workflow transformation — current vs improved, one compact section */
.transform { padding: 60px 0; }
.transform-title { max-width: 30ch; text-wrap: balance; }
.transform-intro { max-width: 64ch; color: var(--ink-soft); margin: 0; }
.transform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-top: 30px; }
.lane { border-radius: var(--radius); padding: 22px 24px; }
.lane-today { border: 1px solid var(--border); background: var(--sand); }
.lane-after { border: 1px solid var(--teal-border); background: #fff; }
.lane-label { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin: 0 0 16px; }
.lane-today .lane-label { color: var(--ink-soft); }
.lane-after .lane-label { color: var(--teal-dark); }

.track { list-style: none; margin: 0; padding: 0; position: relative; }
.track li { position: relative; padding: 8px 0 8px 30px; font-size: 0.95rem; line-height: 1.4; }
.track::before { content: ""; position: absolute; left: 5.5px; top: 15px; bottom: 15px; }
.track li::before { content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 13px;
  border-radius: 50%; box-sizing: border-box; z-index: 1; }
.lane-today .track::before { border-left: 2px solid var(--line); }
.lane-today .track li { color: var(--ink); }
.lane-today .track li::before { background: var(--sand); border: 2px solid var(--ink-faint); }
.lane-after .track::before { border-left: 2px solid var(--teal); }
.lane-after .track li { color: var(--ink); }
.lane-after .track li::before { background: var(--navy); border: 2px solid var(--navy); }
.how { max-width: 72ch; margin: 26px 0 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.footnote { margin: 12px 0 0; color: var(--ink-faint); font-size: 0.82rem; }

/* Numbered process — plain, no borders/cards */
.steps { display: grid; gap: 26px; margin-top: 40px; max-width: 760px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 4px 22px; align-items: start; }
.step .num { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--teal); font-weight: 600; }
.step p { margin: 0; color: var(--ink-soft); }

/* Founder */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: center; }
.founder-photo { width: 190px; height: 190px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 12px 32px -18px rgba(22,35,63,0.5); background: var(--sand); }
.photo-placeholder { width: 190px; height: 190px; border-radius: 50%; background: var(--sand);
  border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--ink-faint); font-size: 0.82rem; padding: 20px; }

/* Prose (About) */
.prose p { color: var(--ink); }
.prose h2 { margin-top: 40px; }
.prose h2:first-of-type { margin-top: 0; }

/* Contact form */
.form { display: grid; gap: 20px; max-width: 620px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.field .opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field textarea { font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--field-border); border-radius: var(--radius);
  padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(62,126,136,0.18); }
.req { color: var(--teal-dark); }
.reassure { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer — compact */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; }
.footer-logo { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.footer-logo .a { color: #fff; } .footer-logo .b { color: var(--teal-light); }
.footer-brand p { color: var(--on-dark-faint); font-size: 0.88rem; margin: 8px 0 0; max-width: 34ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-top: 26px; color: var(--on-dark-faint); font-size: 0.82rem; }

/* How It Works page */
.glance { width: 300px; max-width: 100%; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; }
.glance-title { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-dark); margin: 0 0 6px; }
.glance-list { list-style: none; margin: 0; padding: 0; }
.glance-list li { padding: 13px 0; border-top: 1px solid var(--line);
  color: var(--navy); font-weight: 500; font-size: 0.98rem; display: flex; align-items: center; gap: 12px; }
.glance-list li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px;
  border-radius: 50%; background: var(--teal); }

.mini-label { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-dark); margin: 0 0 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink); font-size: 0.98rem; line-height: 1.45; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }

.fit-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; margin-top: 30px; align-items: start; }
.guardrail { border-left: 2px solid var(--line); padding-left: 30px; }
.guardrail p { color: var(--ink-soft); margin: 0; }

.timeline { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tl-step { position: relative; padding-top: 46px; }
.tl-step::before { content: ""; position: absolute; top: 14px; left: 34px; right: -28px; height: 2px; background: var(--line); }
.tl-step:last-child::before { display: none; }
.tl-marker { position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%; background: #fff;
  border: 2px solid var(--teal); color: var(--teal-dark); font-family: var(--serif); font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; z-index: 1; }
.tl-step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.tl-step p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

.receive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 30px; }
.receive-col { border-top: 1px solid var(--line); padding-top: 20px; }
.receive-note { max-width: 68ch; margin: 30px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

.cta-slim { padding: 54px 0; }
.cta-h { margin-bottom: 22px; }

/* Responsive */
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 22px; justify-items: start; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .hero { padding: 68px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }   /* photo stacks below copy */
  .hero-figure figcaption { max-width: 340px; }
  .container { padding: 0 22px; }
  .form-row { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
  .nav .btn { display: none; }   /* page CTAs cover this on small screens */
  .transform { padding: 44px 0; }
  .transform-grid { grid-template-columns: 1fr; gap: 16px; }   /* Current first, Improved second */

  /* How It Works — stack */
  .glance { width: 100%; }
  .fit-grid { grid-template-columns: 1fr; gap: 26px; }
  .guardrail { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .receive-grid { grid-template-columns: 1fr; gap: 26px; }
  .timeline { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .tl-step { padding: 0 0 26px 46px; }
  .tl-step::before { top: 34px; left: 14px; right: auto; width: 2px; height: calc(100% - 34px); }
  .tl-step:last-child { padding-bottom: 0; }
}
