/* ORDINO — minimal serious site
   Palette: off-white #FAFAF7, ink #0F1419, accent #1A4D3E, muted #6B7280
*/

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #0F1419;
  background: #FAFAF7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", "Iowan Old Style", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0F1419;
  margin: 0 0 0.6em 0;
  line-height: 1.25;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.75rem; margin-top: 2.4rem; }
h3 { font-size: 1.2rem; margin-top: 1.8rem; }

p { margin: 0 0 1.1em 0; }

a {
  color: #1A4D3E;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 77, 62, 0.3);
  transition: border-color 120ms ease;
}
a:hover { border-bottom-color: #1A4D3E; }

.muted { color: #6B7280; }
.small { font-size: 0.92rem; }
.center { text-align: center; }

/* Layout */
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

main {
  padding: 60px 0 90px;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(15, 20, 25, 0.08);
  background: #FAFAF7;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #0F1419;
  border-bottom: none;
}
.brand:hover { border-bottom: none; }
.brand .dot { color: #1A4D3E; }

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: #0F1419;
  border-bottom: none;
  font-size: 0.95rem;
}
.nav a:hover { color: #1A4D3E; }
.nav a.active { color: #1A4D3E; }

.lang {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #6B7280;
  border-bottom: none;
  padding-left: 14px;
  border-left: 1px solid rgba(15, 20, 25, 0.12);
}
.lang:hover { color: #1A4D3E; border-bottom: none; }

/* Hero */
.hero {
  padding: 30px 0 20px;
}
.hero .kicker {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A4D3E;
  margin-bottom: 14px;
  font-family: -apple-system, sans-serif;
}
.hero h1 {
  font-size: 2.9rem;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero .lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: #2A3038;
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  background: #1A4D3E;
  color: #FAFAF7;
  border: 1px solid #1A4D3E;
  border-radius: 2px;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background 140ms ease;
}
.btn:hover { background: #133A2F; border-color: #133A2F; }

.btn.ghost {
  background: transparent;
  color: #0F1419;
  border: 1px solid rgba(15, 20, 25, 0.25);
}
.btn.ghost:hover { background: rgba(15, 20, 25, 0.04); color: #0F1419; border-color: rgba(15, 20, 25, 0.5); }

.btn-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Section divider */
.rule {
  height: 1px;
  background: rgba(15, 20, 25, 0.1);
  margin: 60px 0;
  border: 0;
}

/* Pillar / feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 30px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 30px;
}
.pillar h3 {
  margin-top: 0;
  font-size: 1.1rem;
}
.pillar .num {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: #1A4D3E;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.pillar p { color: #2A3038; font-size: 0.97rem; }

@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: 2.1rem; }
  h1 { font-size: 1.9rem; }
  .hero .lede { font-size: 1.08rem; }
  main { padding: 40px 0 70px; }
}

/* Stat blocks */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 30px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(15, 20, 25, 0.1);
  border-bottom: 1px solid rgba(15, 20, 25, 0.1);
}
.stat .num {
  font-family: Georgia, serif;
  font-size: 2.1rem;
  color: #1A4D3E;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .label {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
}

/* Process list */
ol.process {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
ol.process li {
  counter-increment: step;
  padding: 22px 0 22px 56px;
  position: relative;
  border-bottom: 1px solid rgba(15, 20, 25, 0.08);
}
ol.process li:last-child { border-bottom: 0; }
ol.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: Georgia, serif;
  color: #1A4D3E;
  font-size: 1rem;
  letter-spacing: 0.06em;
}
ol.process strong { display: block; margin-bottom: 4px; font-weight: 600; }
ol.process span { color: #2A3038; font-size: 0.97rem; }

/* Form */
.form {
  margin-top: 30px;
  max-width: 620px;
}
.form label {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: #2A3038;
  margin: 18px 0 6px;
  font-weight: 500;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #0F1419;
  background: #fff;
  border: 1px solid rgba(15, 20, 25, 0.2);
  border-radius: 2px;
  outline: none;
  transition: border-color 120ms ease;
}
.form input:focus, .form textarea:focus { border-color: #1A4D3E; }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form button { margin-top: 26px; }
.form .note { color: #6B7280; font-size: 0.85rem; margin-top: 12px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; gap: 0; } }

.form-feedback {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 0.95rem;
  display: none;
}
.form-feedback.success { display: block; background: rgba(26, 77, 62, 0.08); color: #1A4D3E; border-left: 3px solid #1A4D3E; }
.form-feedback.error { display: block; background: rgba(180, 30, 30, 0.06); color: #8a1d1d; border-left: 3px solid #8a1d1d; }

/* Contact details panel */
.contact-block {
  margin-top: 20px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid rgba(15, 20, 25, 0.1);
  border-radius: 2px;
}
.contact-block dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B7280;
  margin-top: 16px;
}
.contact-block dt:first-child { margin-top: 0; }
.contact-block dd {
  margin: 4px 0 0 0;
  font-size: 1.02rem;
  color: #0F1419;
}
.contact-block dd a { color: #1A4D3E; }

/* Footer */
footer {
  border-top: 1px solid rgba(15, 20, 25, 0.1);
  padding: 36px 0 50px;
  font-size: 0.88rem;
  color: #6B7280;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer a { color: #6B7280; border-bottom: none; }
footer a:hover { color: #1A4D3E; }

/* Hero accent line svg */
.accent-line {
  display: block;
  margin: 24px 0 0;
  width: 64px;
  height: 2px;
  background: #1A4D3E;
}

/* Page heading on inner pages */
.page-head .kicker {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A4D3E;
  margin-bottom: 14px;
}
.page-head h1 { font-size: 2.4rem; }
.page-head .lede {
  font-size: 1.12rem;
  max-width: 640px;
  color: #2A3038;
}
