/* Ayyed — company site. No JS, no third-party requests. */
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --line: #e2e8f0;
  --brand: #0f6e68;
  --brand-strong: #0b5450;
  --brand-soft: #e6f2f1;
  --accent: #d9533c;
  --ink: #0f172a;
  --on-ink: #f8fafc;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .14);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --bg-soft: #0f172a;
    --bg-tint: #131c31;
    --text: #f1f5f9;
    --muted: #cbd5e1;
    --subtle: #94a3b8;
    --line: #1e293b;
    --brand: #3cc2b6;
    --brand-strong: #6fd8cd;
    --brand-soft: #0f2a2c;
    --accent: #ff8a73;
    --ink: #f1f5f9;
    --on-ink: #0b1120;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-tint); }
.nav .btn { margin-left: 6px; }
@media (max-width: 640px) { .nav a:not(.btn) { padding: 8px 8px; font-size: 14px; } .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { opacity: .9; }
.btn-secondary { background: var(--bg); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg-tint); }
.btn-brand { background: var(--brand); color: #fff; }
.nav .btn-primary { color: var(--on-ink); background: var(--ink); }

/* Type */
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 780; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--subtle); }
.gradient-text {
  background: linear-gradient(100deg, var(--brand) 10%, #2b9fa0 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Sections */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 50% at 15% 20%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 85% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(45% 40% at 70% 80%, color-mix(in srgb, #2b9fa0 16%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted);
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Phone mockups */
.phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.phone {
  width: min(250px, 42vw); border-radius: 40px; padding: 9px; background: #0b1120;
  box-shadow: var(--shadow-lg); flex: none;
}
.phone img { border-radius: 32px; width: 100%; }
.phones .phone:nth-child(2) { transform: translateY(44px); }
.phone.solo { width: min(290px, 70vw); margin: 0 auto; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand);
}
.icon-tile svg { width: 22px; height: 22px; }

/* Product showcase */
.product {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line); border-radius: 28px; padding: 48px; box-shadow: var(--shadow); overflow: hidden;
}
.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product-head img { width: 64px; height: 64px; border-radius: 15px; box-shadow: var(--shadow); }
.product-head .meta { font-size: 14px; color: var(--subtle); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.chip { font-size: 13px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: var(--bg-tint); color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-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='%230f6e68' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.links-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; padding: 28px; } }

/* Stats / facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--bg); padding: 26px; }
.fact strong { display: block; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.fact span { color: var(--subtle); font-size: 14px; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-size: 14px; font-weight: 800; color: var(--brand);
  background: var(--brand-soft); border-radius: 999px; padding: 6px 12px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Screens gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.gallery figure { margin: 0; }
.gallery .phone { width: 100%; }
.gallery figcaption { text-align: center; font-size: 14px; color: var(--subtle); margin-top: 12px; font-weight: 600; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Definition table */
.dl { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.dl dt, .dl dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dl dt { color: var(--subtle); font-weight: 600; font-size: 15px; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; } .dl dt { border-bottom: 0; padding-bottom: 0; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta {
  background: var(--ink); color: var(--on-ink); border-radius: 28px; padding: 56px; display: flex;
  align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background-image: radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%);
}
.cta h2 { margin: 0 0 8px; color: var(--on-ink); }
.cta p { margin: 0; color: color-mix(in srgb, var(--on-ink) 75%, transparent); }
.cta .btn { background: var(--on-ink); color: var(--ink); }
@media (max-width: 640px) { .cta { padding: 32px; } }

/* Contact cards */
.contact-card h3 { margin-bottom: 6px; }
.contact-card a.mail { font-weight: 650; text-decoration: none; }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { font-size: 18px; margin-top: 24px; }
.prose li { margin: 6px 0; color: var(--muted); }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); }
.callout { border: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius-sm); padding: 20px 22px; margin: 24px 0; }
.callout p:last-child { margin: 0; }
.page-head { padding: 72px 0 24px; }
.page-head .lede { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 24px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--subtle); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Utilities (inline styles are blocked by the site's CSP) */
.m0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.pt-0 { padding-top: 0; }
.pt-24 { padding-top: 24px; }
.pt-32 { padding-top: 32px; }
.maxw-30 { max-width: 30em; }
.fs-19 { font-size: 19px; }
.fs-28 { font-size: 28px; }
.items-start { align-items: start; }
.items-center { align-items: center; }
