/* iobeacons.com pages. The header and footer come from site-header.js. */
:root {
  --paper: #f7f8fb; --white: #ffffff; --ink: #071a33; --ink-2: #1d3150; --muted: #5b6a80; --line: #e3e8ef;
  --orange: #ff713d; --orange-deep: #e85a26; --orange-soft: #fff0e9; --blue: #2876ee; --blue-soft: #eaf2ff;
  --green: #1bb782; --green-soft: #e6f8f1; --violet: #7c5cff; --violet-soft: #f0edff;
  --radius: 20px; --shadow: 0 18px 50px rgba(7, 26, 51, .08);
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.035em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 850; letter-spacing: -.055em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 820; }
h3 { font-size: 1.22rem; font-weight: 760; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow.orange { color: var(--orange-deep); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.hl { color: var(--orange); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 750; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(255, 113, 61, .28); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d2de; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-link { color: var(--ink); font-weight: 750; text-decoration: none; }
.btn-link::after { content: " →"; color: var(--orange); }

/* sections */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: #c9d4e3; }
.dark h2, .dark h3 { color: #fff; }
.dark .muted, .dark .lede { color: #aab6c8; }

/* hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-art { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; font-size: .9rem; font-weight: 650; color: var(--ink-2); }
.chips span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }
.page-hero { padding: 64px 0 40px; }
.crumbs { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* cards and grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 rgba(7, 26, 51, .02); }
.card p:last-child { margin-bottom: 0; }
.card .btn-link { display: inline-block; margin-top: 6px; }
a.card { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5dde8; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.i-orange { background: var(--orange-soft); color: var(--orange-deep); }
.i-blue { background: var(--blue-soft); color: var(--blue); }
.i-green { background: var(--green-soft); color: #0e8a60; }
.i-violet { background: var(--violet-soft); color: var(--violet); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230e8a60' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.shot { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.shot img { width: 100%; height: auto; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); }
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.tag.green { background: var(--green-soft); color: #0e8a60; }

/* journey steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 14px; }
.step.now::before { background: var(--orange); box-shadow: 0 0 0 6px var(--orange-soft); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0 0 10px; }
.step a { font-size: .9rem; font-weight: 750; text-decoration: none; color: var(--orange-deep); }

/* proof */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof .card h3 { margin-bottom: 4px; }
.proof .where { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }

/* CTA band */
.cta { background: linear-gradient(135deg, #0b2547, var(--ink)); color: #c9d4e3; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta .btns { margin-top: 0; justify-content: flex-end; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 113, 61, .35); box-shadow: 0 0 0 40px rgba(255, 113, 61, .05), 0 0 0 90px rgba(255, 113, 61, .03); }

/* prose for policies */
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px clamp(22px, 5vw, 56px); }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.note { background: var(--orange-soft); border: 1px solid #ffd8c8; color: #8a3410; border-radius: 14px; padding: 14px 18px; font-size: .95rem; margin-bottom: 26px; }

/* code */
pre { background: #0b1b30; color: #dbe7f6; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: .86rem; line-height: 1.55; margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: .9em; }
p code, li code, td code { background: #eef2f7; padding: 2px 6px; border-radius: 6px; }
table.api { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table.api th, table.api td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.api th { background: #f3f6fa; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
table.api tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* form */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(40, 118, 238, .2); border-color: var(--blue); }
.form .hp { position: absolute; left: -9999px; }
.form-msg { border-radius: 12px; padding: 14px 16px; font-weight: 650; }
.form-msg.ok { background: var(--green-soft); color: #0b6e4c; }
.form-msg.err { background: #fdecec; color: #a32020; }

/* 404 */
.lost { text-align: center; padding: 120px 0; }
.lost h1 { font-size: clamp(3rem, 9vw, 6rem); }

/* globe illustration */
.globe-art { width: 100%; aspect-ratio: 1; max-width: 520px; margin-left: auto; }
.globe-art .orbit-sat { transform-box: fill-box; }
@media (prefers-reduced-motion: reduce) { .globe-art animateMotion, .globe-art animate { display: none; } }

@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero-grid, .feature, .cta { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .g3, .proof { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 28px; }
  .cta .btns { justify-content: flex-start; }
  .globe-art { max-width: 380px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 40px; }
  .g2, .g3, .g4, .proof, .steps, .form .two { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .btn { width: 100%; justify-content: center; }
  .btns .btn-link { width: 100%; text-align: center; }
}
.cta .lede { color: #b7c3d4; }
