/* d9010.com — company site. Light theme only; D9010 slate with the APPINZA teal as the accent. */
:root {
  --slate: #32506e;
  --slate-deep: #22384d;
  --teal: #11998a;
  --teal-soft: #e3f4f2;
  --ink: #1f2933;
  --ink-2: #4b5563;
  --muted: #6b7280;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --line: #e3e8ee;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warn: #b45309;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, video { max-width: 100%; display: block; }
a { color: var(--slate); }
a:hover { color: var(--slate-deep); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; }
.brand .word { height: 18px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--slate-deep); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover, .nav-links a.btn-primary[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--slate); color: #fff; box-shadow: 0 6px 16px rgba(50, 80, 110, .25); }
.btn-primary:hover { background: var(--slate-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--slate-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate); color: var(--slate-deep); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0e8276; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* Sections */
section { padding: 84px 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 760px; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 72px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, #e3f4f2 0, rgba(227,244,242,0) 60%), radial-gradient(900px 400px at 0% 0%, #e8efff 0, rgba(232,239,255,0) 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--slate); }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--muted); font-size: .92rem; }
.hero-proof span::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 6px; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--slate-deep); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); border-radius: 12px; padding: 10px 14px; font-size: .88rem; box-shadow: var(--shadow); }
.hero-media .badge b { display: block; color: var(--slate-deep); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(15,23,42,.04); display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin-bottom: 2px; }
.card p { color: var(--ink-2); margin: 0; }
.card ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); }
.card li { margin: 4px 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--slate); }
.card .icon svg { width: 22px; height: 22px; }
.card.feature { position: relative; overflow: hidden; }
.card.feature::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--slate), var(--teal)); }
.card-media { margin: -26px -26px 8px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #dfe7ee; }
.card-media video { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--slate); background: var(--blue-soft); border-radius: 999px; padding: 3px 10px; }
.more { font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 6px; }

/* APPINZA band */
.appinza { background: linear-gradient(135deg, #f2fbf9 0%, #eef3fb 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.appinza-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.appinza-logo { width: min(440px, 100%); height: auto; margin-bottom: 18px; }
.appinza-points { display: grid; gap: 10px; margin: 18px 0 26px; padding: 0; list-style: none; }
.appinza-points li { display: flex; gap: 10px; color: var(--ink-2); }
.appinza-points li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.appinza-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.tile .dot { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.tile b { display: block; font-size: .95rem; }
.tile span { color: var(--muted); font-size: .85rem; }

/* Lists of frameworks / resources */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.res { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.res h4 { margin: 0 0 4px; font-size: 1rem; }
.res p { margin: 0 0 6px; color: var(--ink-2); font-size: .92rem; }
.res a { font-size: .88rem; font-weight: 600; text-decoration: none; }
.res .where { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.note { background: var(--blue-soft); border-radius: 12px; padding: 14px 18px; color: #1e3a8a; font-size: .95rem; }

/* Steps / process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--slate); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--slate-deep); color: #fff; border-radius: 22px; padding: 44px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #cfdae5; margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--slate-deep); box-shadow: none; }

/* Contact: the form is the page. A short heading, then straight into it; one small side card. */
.contact-page { padding: 28px 0 48px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.contact-head { margin-bottom: 16px; }
.contact-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 4px; }
.contact-head p { margin: 0; color: var(--ink-2); max-width: 680px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-foot span { color: var(--muted); font-size: .85rem; }
.contact-aside { position: sticky; top: 84px; padding-top: 4px; }
.contact-aside .aside-card { padding: 18px 20px; }
.contact-aside h3 { font-size: .95rem; margin-bottom: 6px; }
.contact-aside ol, .contact-aside ul { padding-left: 18px; margin: 0 0 14px; color: var(--ink-2); font-size: .92rem; }
.aside-mail { margin: 0; font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }

/* Multi-select pills: real checkboxes (Tab moves, Space toggles, works with touch and screen readers). */
.pills { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.pills legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.pills legend .opt { font-weight: 400; color: var(--muted); margin-left: 4px; }
.pills-sub { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; }
.pills-sub legend { float: left; width: 100%; margin-bottom: 8px; }
.pills-sub .pill-row { clear: both; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid #cfd7e0; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: .92rem; line-height: 1.2; user-select: none; transition: background .12s, border-color .12s, color .12s; }
.pill span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid #9aa8b6; border-radius: 4px; flex: 0 0 auto; box-sizing: border-box; }
.pill:hover span { border-color: var(--slate); }
.pill input:checked + span { background: var(--slate); border-color: var(--slate); color: #fff; }
.pill input:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2332506e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfd7e0; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.field textarea { min-height: 150px; resize: vertical; }
.field .help { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; background: #fee2e2; color: #991b1b; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: .95rem; }
.form-done { display: none; }
.timeline { list-style: none; padding: 0; margin: 18px 0 0; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::after { background: var(--ok); }
.timeline .m { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: #cbd5e1; font-size: .85rem; }
.timeline li.done .m { background: var(--ok); }
.timeline li.now .m { background: var(--blue); animation: pulse 1.6s infinite; }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: .92rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.45); } 70% { box-shadow: 0 0 0 10px rgba(37,99,235,0); } 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.aside-card h3 { font-size: 1.05rem; }
.aside-card ul { padding-left: 18px; color: var(--ink-2); margin: 0; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--slate-deep); text-decoration: underline; }
.foot-note { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* About: founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.founder-photo { position: relative; width: 300px; aspect-ratio: 4 / 5; }
.founder-photo::before { content: ""; position: absolute; inset: 0; transform: translate(16px, 16px); border-radius: 30px; background: linear-gradient(135deg, var(--slate), var(--teal)); }
.founder-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 30px; border: 5px solid #fff; box-shadow: var(--shadow); }
.in-badge { position: absolute; right: -8px; bottom: -8px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(15, 23, 42, .22); transition: transform .15s; }
.in-badge:hover { transform: scale(1.06); }
.in-badge svg { width: 26px; height: 26px; }
.founder-role { color: var(--teal); font-weight: 700; margin: -4px 0 14px; }
.founder-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; margin: 0 0 24px; }
.founder-meta svg { width: 12px; height: 16px; flex: 0 0 auto; }
.btn-icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* About: home */
.home-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.home-card { font-style: normal; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 14px 18px; margin: 20px 0; max-width: 360px; }
.home-card b { color: var(--slate-deep); }
.home-card span { color: var(--ink-2); }
.map-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.map-frame { position: relative; border-radius: 14px; overflow: hidden; background: #f1f6fa; }
.map-frame img { width: 100%; height: auto; }
.map-pin { position: absolute; left: 21.1%; top: 67%; width: 26px; height: 34px; transform: translate(-50%, -100%); filter: drop-shadow(0 2px 3px rgba(15, 23, 42, .35)); }
.map-ping { position: absolute; left: 21.1%; top: 67%; width: 14px; height: 14px; border-radius: 50%; background: rgba(213, 43, 30, .4); transform: translate(-50%, -50%); animation: ping 2.4s ease-out infinite; }
.map-label { position: absolute; left: calc(21.1% + 18px); top: calc(67% - 28px); white-space: nowrap; background: #fff; color: var(--slate-deep); font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.map-card figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: .85rem; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(.6); opacity: .9; } 80%, 100% { transform: translate(-50%, -50%) scale(3.4); opacity: 0; } }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .appinza-grid, .contact-grid, .home-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { width: min(280px, calc(100% - 16px)); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 12px 20px 18px; gap: 12px; }
  .nav-links.open { display: flex; }
  .grid-3, .grid-2, .appinza-tiles, .steps, .row-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 30px; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-page { padding: 16px 0 32px; }
  .form { padding: 16px; }
  .pill span { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .timeline li.now .m, .in-badge { transition: none; animation: none; }
  .map-ping { display: none; }
}
