/* Cable Claw site styles */
:root {
  --bg: #fbfcfc;
  --surface: #ffffff;
  --soft: #f2f6f6;
  --ink: #0f1a24;
  --ink-2: #4a5866;
  --line: #e3e9ec;
  --teal: #2cf2d1;
  --teal-ink: #0b8f7b;
  --teal-wash: #e6fdf8;
  --pink: #cf78ad;
  --pink-ink: #a4467f;
  --blue: #1f4fd1;
  --yellow: #ffc832;
  --radius: 14px;
  --maxw: 1160px;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Lexend", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
}
html[dir="rtl"] body { font-family: var(--font-ar); font-weight: 400; line-height: 1.85; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.4; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 252, 252, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg, .brand img { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
html[dir="rtl"] .nav-links { margin: 0 auto 0 0; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: .93rem; font-weight: 400; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }
.lang { font-size: .85rem; text-decoration: none; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.lang:hover { border-color: var(--ink-2); color: var(--ink); }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { gap: 12px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav .btn-sm { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 400; font-size: .98rem; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(15, 26, 36, .45), 0 0 0 4px var(--teal-wash); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.arrow { display: inline-block; transition: transform .15s; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero .eyebrow, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-ink); font-weight: 500; margin-bottom: 20px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--teal); border-radius: 2px; }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 40ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 40px; } }
.fiber-art { width: 100%; height: auto; }
.fiber-art .glow { filter: drop-shadow(0 0 6px rgba(44, 242, 209, .8)); }
.fiber-art .pulse { stroke-dasharray: 18 400; animation: run 3.2s linear infinite; }
@keyframes run { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .fiber-art .pulse { animation: none; } html { scroll-behavior: auto; } }

.page-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-hero .lede { color: var(--ink-2); font-size: 1.15rem; max-width: 60ch; margin: 0; }

/* Fiber divider motif */
.fiber-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--teal) 30%, var(--teal) 46%, transparent 46.5%, transparent 53.5%, var(--pink) 54%, var(--pink) 70%, transparent); opacity: .7; }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 600px) { section { padding: 56px 0; } }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Problem */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.problem .big { font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.45; font-weight: 300; color: var(--ink); }
.problem .big strong { font-weight: 500; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; gap: 24px; } }
.textlink { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--teal); padding-bottom: 2px; font-weight: 400; }
.textlink:hover { border-bottom-width: 2px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #c9d4d9; transform: translateY(-2px); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-wash); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; stroke: var(--teal-ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3n+2) .icon { background: #fbeff6; }
.card:nth-child(3n+2) .icon svg { stroke: var(--pink-ink); }
.alt .card { background: var(--bg); }

/* Detailed benefits */
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.benefit-list > div { padding: 28px 0; border-top: 1px solid var(--line); }
.benefit-list .num { font-size: .8rem; color: var(--teal-ink); font-weight: 500; letter-spacing: .1em; }
.benefit-list p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .benefit-list { grid-template-columns: 1fr; } }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.audience li { list-style: none; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
html[dir="rtl"] .audience li { padding: 22px 0 22px 20px; }
.audience li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); transform: translateY(-2px); }
.audience { padding: 0; margin: 0; }

/* Credibility strip */
.cred { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center; padding: 28px 0; color: var(--ink-2); font-size: .95rem; }
.cred span { display: inline-flex; align-items: center; gap: 10px; }
.cred svg { width: 18px; height: 18px; stroke: var(--teal-ink); fill: none; stroke-width: 1.8; }

/* CTA */
.cta {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff; border-radius: 24px; padding: 64px 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { color: #b8c4cf; margin: 0; }
.cta .btn { background: var(--teal); color: var(--ink); justify-self: end; }
html[dir="rtl"] .cta .btn { justify-self: start; }
.cta .btn .dot { background: var(--ink); box-shadow: none; }
.cta::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal) 40%, transparent 49%, transparent 51%, var(--pink) 60%, transparent);
  opacity: .6;
}
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 44px 24px 56px; } .cta .btn { justify-self: start; } }

/* Prose */
.prose { max-width: 700px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose p, .prose li { color: #2b3845; }
.prose ul { padding-inline-start: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal-ink); }
.note {
  border-inline-start: 3px solid var(--teal); background: var(--teal-wash);
  padding: 18px 22px; border-radius: 0 10px 10px 0; color: var(--ink); margin: 28px 0;
}
html[dir="rtl"] .note { border-radius: 10px 0 0 10px; }
.two-col { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .9rem; }
.toc a { display: block; color: var(--ink-2); text-decoration: none; padding: 6px 0; border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
.toc a:hover { color: var(--ink); border-color: var(--teal); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .toc { display: none; } }

/* Layer diagram */
.layers { display: grid; gap: 10px; max-width: 760px; }
.layer {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
}
.layer .n { font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.layer strong { font-weight: 500; }
.layer small { display: block; color: var(--ink-2); font-size: .88rem; }
.layer .tag { font-size: .78rem; color: var(--ink-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.layer.ours { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-wash); }
.layer.ours .tag { background: var(--teal); color: var(--ink); border-color: var(--teal); }
@media (max-width: 560px) { .layer { grid-template-columns: 1fr; gap: 6px; } .layer .n { display: none; } .layer .tag { justify-self: start; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 400; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-ink); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; max-width: 70ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); font-weight: 400; }
input, textarea {
  font: inherit; font-weight: 300; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 4px var(--teal-wash); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list small { display: block; color: var(--ink-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
html[dir="rtl"] .contact-list small { letter-spacing: 0; }
.contact-list a { text-decoration: none; font-weight: 400; }
.ltr { direction: ltr; unicode-bidi: embed; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; font-size: .9rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 10px; margin: 0; }
.form-status.ok { background: var(--teal-wash); color: var(--ink); }
.form-status.err { background: #fbeff6; color: var(--pink-ink); }
button[disabled] { opacity: .6; cursor: wait; }
