/* Tromino one-page lander. Keeps Tromino's own look (white, navy and blue) under the shared Sliverin Studios bar. */
:root {
  --navy: #0b1f3a;
  --blue: #1769e0;
  --blue-dark: #1054b8;
  --sky: #eaf3ff;
  --ink: #15233a;
  --muted: #5f6f85;
  --line: #dce5ef;
  --bg: #f6f9fc;
  --teal: #38c6a4;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
section[id] { scroll-margin-top: 76px; }

.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; border-radius: 10px; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(23, 105, 224, 0.28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); }

/* ----- hero: logo, menu strip under it, centred copy, then the product window ----- */
.hero { background: linear-gradient(180deg, var(--sky) 0%, #fff 62%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; justify-items: center; text-align: center; gap: 20px; padding-block: clamp(28px, 5vw, 52px) clamp(40px, 7vw, 80px); }
.brandline { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brandline img { width: clamp(54px, 9vw, 72px); height: auto; filter: drop-shadow(0 8px 16px rgba(11, 31, 58, 0.18)); }
.brandline b { font-size: clamp(26px, 5vw, 38px); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.pagemenu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgba(11, 31, 58, 0.06); }
.pagemenu a { padding: 9px 16px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); border-radius: 8px; }
.pagemenu a:hover { color: var(--navy); background: var(--bg); }
.pagemenu a.cta { background: var(--blue); color: #fff; }
.pagemenu a.cta:hover { background: var(--blue-dark); }
.hero-copy { display: grid; justify-items: center; max-width: 780px; margin-top: clamp(10px, 3vw, 28px); }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.4rem); font-weight: 800; margin-bottom: 18px; }
.hero-lead { max-width: 52ch; font-size: 1.2rem; color: var(--muted); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-trust svg { flex: none; color: var(--blue); }

.product-window { width: 100%; max-width: 1000px; margin-top: clamp(8px, 2vw, 22px); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(11, 31, 58, 0.18), 0 6px 16px rgba(11, 31, 58, 0.08); text-align: left; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #f1f5fa; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd8e4; }
.window-bar small { margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.product-window img { width: 100%; height: auto; }

/* ----- value strip ----- */
.value-strip { background: var(--navy); color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 30px; padding-block: 28px; }
.value-grid > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.value-grid svg { flex: none; width: 28px; height: 28px; color: var(--teal); }
.value-grid strong { display: block; font-size: 15px; }
.value-grid span span { display: block; font-size: 13px; color: #a9b9d0; }
@media (max-width: 760px) { .value-grid { grid-template-columns: minmax(0, 1fr); } }

/* ----- features ----- */
.solutions { padding: clamp(56px, 9vw, 104px) 0 clamp(20px, 4vw, 40px); }
.section-heading { max-width: 640px; margin: 0 auto clamp(36px, 6vw, 64px); text-align: center; }
.section-heading h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 14px; }
.section-heading p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 6vw, 80px); align-items: center; margin-bottom: clamp(48px, 8vw, 96px); }
.feature-reverse .feature-media { order: 2; }
.feature-media { position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 22px 50px rgba(11, 31, 58, 0.13); }
.feature-media img { width: 100%; height: auto; }
.feature-slides { display: grid; }
.feature-slides img { grid-area: 1 / 1; opacity: 0; transition: opacity 0.3s; }
.feature-slides img.is-active { opacity: 1; }
.tabs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 4px; padding: 4px; background: rgba(11, 31, 58, 0.86); border-radius: 10px; }
.tabs button { padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; color: #cfdbec; background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.feature-number { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--blue); }
.feature-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.feature-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 18px; height: 18px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%231769e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-reverse .feature-media { order: 0; }
}

/* ----- portable ----- */
.portable { background: var(--navy); color: #fff; padding: clamp(56px, 9vw, 100px) 0; overflow: hidden; }
.portable-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 7vw, 90px); align-items: center; }
.portable .eyebrow { color: var(--teal); }
.portable h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 16px; }
.portable p { color: #b4c3d9; font-size: 1.1rem; max-width: 48ch; }
.portable-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.portable-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.portable-list svg { width: 26px; height: 26px; color: var(--teal); margin-top: 2px; }
.portable-list strong { display: block; color: #fff; }
.portable-list span { color: #a9b9d0; font-size: 0.95rem; }
.badge-ipad { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: #e6eef9; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; }
.devices { position: relative; min-height: clamp(380px, 52vw, 560px); }
.devices::before { content: ""; position: absolute; inset: 8% 6%; background: radial-gradient(circle, rgba(56, 198, 164, 0.32), transparent 66%); filter: blur(10px); }
.device { position: absolute; width: 52%; overflow: hidden; background: #fff; border: 6px solid #0a1220; border-radius: 26px; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5); }
.device img { width: 100%; height: auto; }
.device-back { right: 2%; top: 4%; transform: rotate(6deg); }
.device-front { left: 4%; top: 12%; transform: rotate(-4deg); z-index: 2; }
@media (max-width: 860px) { .portable-grid { grid-template-columns: minmax(0, 1fr); } .devices { max-width: 480px; width: 100%; margin-inline: auto; } }

/* ----- call to action ----- */
.cta-section { padding: clamp(48px, 8vw, 90px) 0; background: var(--bg); }
.cta-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding: clamp(28px, 5vw, 52px); background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; border-radius: 18px; box-shadow: 0 24px 50px rgba(23, 105, 224, 0.28); }
.cta-card .eyebrow { color: #cfe2ff; }
.cta-card h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 10px; max-width: 18ch; }
.cta-card p { margin: 0; color: #dbe9ff; max-width: 46ch; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
