/* RoteCode – static recreation. Palette taken from the original site. */
:root {
  --blue: #3296ff;
  --navy: #003174;
  --white: #ffffff;
  --text: #f7fafc;
  --muted: #e2e8f0;
  --bg: #252c39;       /* body */
  --bg-deep: #1a202c;  /* section / wave fill */
  --deep-top: #1a202c;
  --deep-bottom: #1f2738;
  --card: #2d3748;
  --head: "Josefin Sans", sans-serif;
  --body: "Jost", "Lato", sans-serif;
  --wrap: 1290px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Lato", sans-serif; font-size: 20px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; margin: 0 auto; text-align: center; }
h1, h2, h3 { font-family: var(--head); color: var(--white); margin: 0; line-height: 1.15; }
h1 { font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-weight: 800; font-size: 28px; }
h3 { font-family: var(--body); font-weight: 600; font-size: 18px; }
p { margin: 0 0 1em; }
.lead { font-family: var(--body); font-size: 20px; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; height: 80px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: none; padding: 0 32px; }
.logo img { width: 48px; height: 48px; }
.nav { display: flex; gap: 32px; align-items: center; font-family: var(--body); font-weight: 500; }
.nav a { color: var(--text); font-size: 18px; }
.nav a:hover, .nav a[aria-current] { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--blue); color: #fff; font-family: var(--body);
  font-weight: 500; font-size: 18px; padding: 18px 40px; border-radius: 100px; border: 0;
  cursor: pointer; transition: transform .2s, background .2s;
}
.btn:hover { background: #1f86f5; color: #fff; transform: translateY(-2px); }

/* Hero */
.hero {
  position: relative; text-align: center; padding: 150px 0 0;
  background: var(--bg) url("bg-0.png") center / cover no-repeat;
}
.hero.page { padding: 150px 0 90px; }
.hero h1 { margin-bottom: 26px; }
.hero p { font-family: var(--body); max-width: 46em; margin: 0 auto 40px; font-size: 20px; color: #fff; }
.hero.page p { max-width: 640px; margin-bottom: 0; }
.hero-img { max-width: 1100px; margin: 0 auto -1px; padding: 70px 24px 0; }
.hero-img img { border-radius: 24px; transform: perspective(1200px) rotateX(2deg); box-shadow: 0 30px 60px rgba(0,0,0,.4); }

/* Wave dividers */
.wave { display: block; width: 100%; height: 120px; margin-bottom: -1px; }
.divider { line-height: 0; }

/* Sections */
.section { background: linear-gradient(180deg, var(--deep-top), var(--deep-bottom)); padding: 70px 0; }
.section.alt { background: var(--bg); }
.section.photo { background: var(--bg) url("bg-0.png") center / cover no-repeat; }
.section .narrow h2 { margin-bottom: 20px; }
.section .narrow p { font-family: var(--body); max-width: 42em; margin-left: auto; margin-right: auto; }

/* Feature cards (home) */
.cards { max-width: 1000px; margin: 50px auto 0; display: grid; gap: 22px; }
.card {
  display: flex; gap: 22px; align-items: flex-start; padding: 24px 28px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.015);
}
.card img { width: 48px; height: 48px; flex: none; filter: invert(1) brightness(1.6); opacity: .9; }
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p { margin: 0; font-family: var(--body); font-size: 18px; }

/* Video / image with dots */
.media { position: relative; max-width: 800px; margin: 0 auto; }
.media .dots { position: absolute; left: -60px; top: 30px; width: 100px; opacity: .7; }
.media .main { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); position: relative; }
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: var(--bg-deep);
  display: grid; place-items: center; color: var(--blue); font-size: 22px; border: 0;
}

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.center { text-align: center; }
.checks { list-style: none; padding: 0; margin: 28px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: 720px; text-align: left; font-family: var(--body); font-weight: 500; }
.checks li::before {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 12px; vertical-align: -3px;
  border-radius: 50%; background: #48bb78;
  -webkit-mask: none; mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%2348bb78' d='M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM227 387l184-184c6-6 6-16 0-22l-23-23c-6-6-16-6-22 0L216 308l-70-70c-6-6-16-6-23 0l-23 23c-6 6-6 16 0 23l104 104c6 6 16 6 23 0z'/%3E%3C/svg%3E");
  background-size: cover; background-color: transparent;
}
.mock { position: relative; max-width: 520px; margin: 0 auto; }
.mock .dots { position: absolute; right: -50px; top: 40%; width: 110px; opacity: .7; }
.center-btn { text-align: center; margin-top: 40px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 800px; margin: 50px auto 0; text-align: center; }
.stats strong { display: block; font-family: var(--head); font-weight: 800; font-size: 40px; color: #fff; }
.stats span { font-family: var(--body); font-size: 18px; }

/* Testimonial */
.testimonial {
  max-width: 1000px; margin: 60px auto 0; display: grid; grid-template-columns: 1fr 1.4fr; align-items: stretch;
  background: linear-gradient(135deg, #1e3a8a, #3296ff); border-radius: 24px; overflow: hidden; text-align: center;
}
.testimonial img { width: 100%; height: 100%; object-fit: cover; }
.testimonial blockquote { margin: 0; padding: 40px; align-self: center; font-family: var(--body); }
.stars { color: #f6c34a; letter-spacing: 4px; margin-bottom: 14px; }
.testimonial cite { display: block; font-style: normal; font-weight: 700; margin-top: 16px; }

/* Dashboard gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.gallery img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.service { background: var(--card); border-radius: 10px; padding: 32px 28px; }
.service h3 { font-family: var(--head); font-weight: 800; font-size: 22px; margin-bottom: 12px; }
.service ul { list-style: none; padding: 0; margin: 0 0 18px; font-family: var(--body); font-size: 18px; }
.service li::before { content: "✓"; color: #48bb78; margin-right: 10px; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 50px; }
.quote { background: var(--card); border-radius: 10px; padding: 32px; font-family: var(--body); font-size: 18px; }
.quote .mark { font-family: var(--head); font-size: 54px; color: var(--blue); line-height: .6; }
.quote b { display: block; margin-top: 14px; color: #fff; }
.quote small { color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 54px; margin-top: 40px; opacity: .85; }
.logos img { width: 120px; filter: grayscale(1) brightness(1.8); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-grid h2 { margin-bottom: 18px; }
form { display: grid; gap: 18px; font-family: var(--body); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 15px; margin-bottom: 6px; color: var(--muted); }
input, textarea {
  width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid #4a5568; border-radius: 6px;
  color: #fff; font: inherit; font-size: 16px;
}
input:focus, textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
textarea { min-height: 150px; resize: vertical; }
form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--navy); text-align: center; padding: 50px 24px; font-size: 16px; }

/* Responsive */
@media (max-width: 768px) {
  .split, .contact-grid, .testimonial { grid-template-columns: 1fr; }
  .gallery, .service-grid, .quotes { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .media .dots, .mock .dots { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 80px; right: 0; left: 0; flex-direction: column; gap: 0; background: var(--bg-deep); padding: 12px 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 32px; width: 100%; }
}
@media (max-width: 560px) {
  .wave { height: 60px; }
  .stats, .row2 { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .btn { padding: 16px 32px; }
}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}

/* Wide-screen layout */
.who { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.who .media { max-width: none; margin: 0; }
.who .narrow { text-align: left; margin: 0; max-width: none; }
.who .narrow p { margin-left: 0; }
.cta-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.cta-text { text-align: left; }
.cta-text .narrow { text-align: left; margin: 0; max-width: none; }
.cta-text .narrow p { margin-left: 0; }
.cta-text .checks { margin: 28px 0 0; max-width: none; }
.cta-text .center-btn { text-align: left; }
.stats.stack { grid-template-columns: 1fr; margin: 0; text-align: left; gap: 28px; max-width: none; }
@media (min-width: 769px) {
  .cards { grid-template-columns: repeat(3, 1fr); max-width: 1200px; }
  .card { flex-direction: column; gap: 16px; padding: 28px; }
}
@media (max-width: 768px) {
  .who, .cta-split { grid-template-columns: 1fr; gap: 40px; }
  .who .narrow, .cta-text, .cta-text .narrow { text-align: center; }
  .who .narrow p, .cta-text .narrow p { margin-left: auto; }
  .cta-text .checks { margin: 28px auto 0; }
  .cta-text .center-btn { text-align: center; }
  .stats.stack { text-align: center; }
}

/* Hero: text left, image right on desktop */
.hero-grid { max-width: 1290px; margin: 0 auto; padding: 0 24px 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-grid .wrap { padding: 0; margin: 0; text-align: left; max-width: none; }
.hero-grid h1 { margin-bottom: 24px; }
.hero-grid p { margin: 0 0 32px; max-width: 32em; }
.hero-grid .hero-img { padding: 0; margin: 0; max-width: none; }
.hero-grid .hero-img img { transform: perspective(1200px) rotateY(-4deg); }
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
  .hero-grid .wrap { text-align: center; }
  .hero-grid p { margin: 0 auto 32px; }
  .hero-grid .hero-img { padding-top: 48px; }
  .hero-grid .hero-img img { transform: none; }
}

/* ---- content pivot ---- */
.cards.two { grid-template-columns: 1fr; }
.card .more { display: inline-block; margin-top: 14px; font-family: var(--body); font-weight: 500; font-size: 17px; }
@media (min-width: 769px) {
  .cards.two { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
  .card { flex-direction: column; }
}
.service p { margin: 0; font-family: var(--body); font-size: 18px; }
.service-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin-left: auto; margin-right: auto; }
ul.plain { list-style: none; padding: 0; margin: 0 0 18px; font-family: var(--body); font-size: 18px; }
ul.plain li { padding: 6px 0 6px 28px; position: relative; }
ul.plain li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); opacity: .85; }
.callout { max-width: 720px; margin: 48px auto 0; text-align: center; padding: 36px 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.02); }
.callout h3 { font-family: var(--head); font-weight: 800; font-size: 22px; margin-bottom: 12px; }
.callout p { font-family: var(--body); }
.steps { list-style: none; padding: 0; margin: 50px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1200px; counter-reset: s; }
.steps li { padding-top: 18px; border-top: 2px solid var(--blue); }
.steps .n { font-family: var(--head); font-weight: 800; color: var(--blue); font-size: 15px; letter-spacing: .06em; }
.steps h3 { font-family: var(--head); font-weight: 800; font-size: 22px; margin: 6px 0 10px; }
.steps p { font-family: var(--body); font-size: 18px; margin: 0; }
.terminal { background: #0f141c; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); max-width: 520px; width: 100%; margin: 0 auto; }
.terminal .bar { display: flex; gap: 7px; padding: 12px 14px; background: #171d28; }
.terminal .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4456; display: block; }
.terminal pre { margin: 0; padding: 22px 22px 26px; font: 500 15px/1.8 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #e2e8f0; overflow-x: auto; }
.terminal .dim { color: #7f8ba0; }
.terminal .ok { color: #48bb78; }
h3.next { font-family: var(--head); font-weight: 800; font-size: 20px; margin: 36px 0 12px; }
.plain-steps { font-family: var(--body); padding-left: 1.2em; margin: 0; }
.plain-steps li { padding: 4px 0 4px 6px; }
select { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid #4a5568; border-radius: 6px; color: #fff; font: inherit; font-size: 16px; }
select:focus { outline: 2px solid var(--blue); border-color: transparent; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .service-grid.two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.hero.page { padding-bottom: 0; }
.hero.page .wrap { padding-bottom: 40px; }

/* 404 */
.notfound h1 { font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin-bottom: 20px; }
.notfound .terminal { margin: 32px auto; text-align: left; }
.notfound .terminal .err { color: #fc8181; }
.notfound .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.btn.ghost { background: transparent; border: 2px solid var(--blue); padding: 16px 38px; }
.btn.ghost:hover { background: var(--blue); }
.notfound .wrap { padding-bottom: 90px; }

/* Form status */
.form-status { margin: 0; min-height: 1.5em; font-family: var(--body); font-size: 17px; }
.form-status.ok { color: #68d391; }
.form-status.err { color: #fc8181; }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

/* Privacy page */
.prose { max-width: 46em; font-family: var(--body); }
.prose h2 { margin: 48px 0 14px; font-size: 26px; }
.prose h3 { font-family: var(--head); font-weight: 800; font-size: 19px; margin: 26px 0 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul.plain { margin-bottom: 1em; }
.prose .updated { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.callout.tldr { text-align: left; margin: 0 0 8px; max-width: none; }
.callout.tldr h2 { margin-top: 0; font-size: 22px; }
.site-footer a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; }
.site-footer .sep { margin: 0 10px; opacity: .6; }
.form-note { margin: 0; font-family: var(--body); font-size: 15px; color: var(--muted); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
