:root {
  --color-primary: #0b1930;
  --color-secondary: #425471;
  --color-blue: #1062fe;
  --color-gold: #ffb000;
  --color-navy: #071426;
  --color-background: #f8fafc;
  --color-surface: #fbfcfe;
  --color-border: #e7ecf2;
  --color-soft: #ebf3ff;
  --color-on-dark: #fff;
  --color-muted-dark: #c5d1e3;
  --radius: 8px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --content-width: 1248px;
  --font-en: 'Manrope', sans-serif;
  --font-ar: 'Alexandria', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--color-background); color: var(--color-primary); font-family: var(--font-en); }
html[lang='ar'] { font-family: var(--font-ar); }
body { margin: 0; }
html[lang='en'] .ar, html[lang='ar'] .en { display: none; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
button { border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; }
:focus-visible { outline: 2px solid var(--color-blue); outline-offset: 4px; border-radius: 3px; }
.site-header :focus-visible { outline-color: #9ec0ff; }
.container { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.site-header { height: 80px; background: var(--color-navy); color: var(--color-on-dark); position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: var(--space-24); height: 100%; }
.brand { flex: 0 0 170px; }
.brand img { width: 170px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: var(--space-24); width: 652px; flex: 0 0 652px; }
.primary-nav a { width: 130px; flex-shrink: 0; min-height: 44px; padding: var(--space-8); color: var(--color-muted-dark); font-size: 14px; font-weight: 500; line-height: 24px; white-space: nowrap; }
.primary-nav .nav-active { width: 190px; min-height: 48px; color: white; }
.nav-active span:not([hidden]) { position: relative; }
.nav-active span::after { content: ''; display: block; position: absolute; inset-inline-start: 0; top: 28px; width: 100%; height: 2px; background: var(--color-blue); }
.primary-nav a:hover, .footer-links a:hover { color: var(--color-blue); }
.header-controls { display: flex; gap: var(--space-4); align-items: center; direction: ltr; }
.language-switch { padding: var(--space-8); width: 59px; min-height: 44px; font-size: 14px; font-weight: 500; line-height: 24px; }
html[lang='ar'] .language-switch { width: 69px; }
.language-switch .en { font-family: var(--font-ar); }
.language-switch .ar { font-family: var(--font-en); }
.menu-toggle { display: none; padding: var(--space-12); width: 44px; height: 44px; }
.language-switch { visibility: hidden; }
.js .language-switch { visibility: visible; }
.main-content { display: flex; flex-direction: column; gap: var(--space-40); padding-block: var(--space-24) var(--space-40); }
.hero { display: grid; grid-template-columns: minmax(0, 580fr) minmax(0, 628fr); gap: var(--space-40); align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); min-width: 0; }
.status-badge { display: flex; align-items: center; gap: var(--space-8); padding: var(--space-8); min-height: 40px; border-radius: 999px; background: var(--color-soft); font-size: 14px; line-height: 24px; font-weight: 500; white-space: nowrap; }
.status-badge img { flex-shrink: 0; }
h1 { font-size: 60px; font-weight: 700; line-height: 72px; width: 100%; }
.heading-line { display: block; }
.accent { color: var(--color-blue); }
.hero-description { color: var(--color-secondary); font-size: 18px; line-height: 32px; }
.hero-actions { display: flex; gap: var(--space-16); width: 100%; }
.hero-actions a { display: flex; align-items: center; gap: var(--space-8); padding: var(--space-8); min-height: 44px; width: 156px; flex-shrink: 0; color: var(--color-blue); font-size: 14px; font-weight: 500; line-height: 24px; }
.hero-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-actions a > span { flex-shrink: 0; white-space: nowrap; }
.outbound { flex-shrink: 0; }
.hero-illustration { position: relative; aspect-ratio: 1000 / 820; min-width: 0; direction: ltr; overflow: clip; overflow-clip-margin: 32px; }
.hero-illustration img { position: absolute; width: 118%; height: auto; max-width: none; top: -9%; left: calc(-9% - 20px); }
.information { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-24); }
.info-card { min-width: 0; display: flex; flex-direction: column; gap: var(--space-16); padding: var(--space-24); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); color: var(--color-secondary); font-size: 16px; line-height: 28px; }
.nameserver-card { background: white; }
.card-heading { display: flex; align-items: center; gap: var(--space-12); color: var(--color-primary); }
.card-heading img { flex-shrink: 0; }
h2 { font-size: 18px; line-height: 28px; font-weight: 700; min-width: 0; }
.small { font-size: 14px; line-height: 24px; }
.nameserver-list { display: flex; flex-direction: column; gap: var(--space-8); text-align: left; }
.nameserver-row { display: flex; align-items: center; gap: var(--space-8); padding-inline: var(--space-8); border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background); }
.hostname { display: flex; align-items: center; gap: var(--space-8); min-width: 0; }
.ns-label { font-family: var(--font-en); font-size: 12px; font-weight: 500; line-height: 20px; flex-shrink: 0; }
code { font-family: 'IBM Plex Mono', monospace; color: var(--color-primary); font-size: 14px; font-weight: 400; line-height: 24px; width: 221px; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.copy-button { width: 44px; height: 44px; padding: var(--space-12); flex: 0 0 44px; position: relative; border-radius: var(--radius); }
.copy-button:hover { background: var(--color-soft); }
.copy-feedback { position: absolute; inset-inline-end: 0; bottom: calc(100% + 4px); padding: 3px 8px; border: 1px solid var(--color-border); border-radius: 4px; background: white; color: var(--color-primary); font: 12px/20px var(--font-en); white-space: nowrap; opacity: 0; pointer-events: none; }
html[lang='ar'] .copy-feedback { font-family: var(--font-ar); }
.copy-button.has-feedback .copy-feedback { opacity: 1; }
.info-notice { display: flex; flex-direction: column; gap: var(--space-12); align-items: flex-start; padding: var(--space-16); background: var(--color-soft); border-radius: var(--radius); font-size: 14px; line-height: 24px; }
.facts { display: flex; flex-direction: column; gap: var(--space-16); font-size: 14px; line-height: 24px; }
.facts li { display: flex; gap: var(--space-12); align-items: center; }
.facts img { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--color-border); }
.footer-content { display: flex; justify-content: space-between; gap: var(--space-24); padding-block: 20px; }
.legal { display: flex; flex-direction: column; gap: var(--space-4); }
.company { font: 700 14px/24px var(--font-en); text-align: left; }
.copyright { color: var(--color-secondary); font-size: 12px; line-height: 22px; }
.footer-links { display: flex; align-items: flex-start; gap: var(--space-24); color: var(--color-secondary); font-size: 14px; line-height: 24px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; }
html[lang='ar'] h1 { line-height: 74px; }
html[lang='ar'] .hero-description { max-width: 560px; line-height: 34px; }
html[lang='ar'] .hero-actions { justify-content: flex-end; }
html[lang='ar'] .hero-actions a { width: 172px; flex-direction: row; justify-content: flex-end; }
html[lang='ar'] .outbound { transform: scaleX(-1); }
html[lang='ar'] .hero-illustration img { left: calc(-9% + 20px); }
html[lang='ar'] .company { text-align: right; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; padding: 12px; color: var(--color-primary); background: white; z-index: 1001; }
a, button { transition: color 120ms ease, background-color 120ms ease; }
/* The supplied tablet frame switches to a single column and a compact header. */
@media (max-width: 1199px) {
  .brand { flex-basis: 132px; }
  .brand img { width: 132px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; inset-inline: 0; top: 80px; width: auto; padding: 16px 32px 24px; background: var(--color-navy); flex-direction: column; gap: 8px; border-top: 1px solid #20334f; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a, .primary-nav .nav-active { width: fit-content; }
  .hero { display: flex; flex-direction: column; gap: var(--space-40); }
  .hero-text, .hero-illustration { width: 100%; }
  h1, html[lang='ar'] h1 { font-size: 32px; line-height: 48px; }
  html[lang='ar'] h1 { line-height: 46px; }
  html[lang='ar'] .hero-description { max-width: 640px; line-height: 33px; }
  .hero-illustration { overflow: clip; overflow-clip-margin: 32px; }
  .hero-illustration img, html[lang='ar'] .hero-illustration img { left: -9%; }
  .main-content { gap: 40px; }
  .information { grid-template-columns: minmax(0, 1fr); }
  .info-card { min-height: 0; }
  .footer-content { width: calc(100% - 32px); flex-direction: column; gap: 0; }
  .footer-links { flex-direction: column; gap: 4px; }
  .footer-links a { width: 100%; }
}
/* On phones the illustration sits between the badge and heading, as in Figma. */
@media (max-width: 599px) {
  .container { width: calc(100% - 32px); }
  .header-content { width: calc(100% - 32px); gap: 8px; }
  .main-content { gap: 32px; }
  .hero { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hero-text { display: contents; }
  .status-badge { grid-row: 1; justify-self: start; }
  .hero-illustration { grid-row: 2; overflow-clip-margin: 16px; }
  h1 { grid-row: 3; }
  .hero-description { grid-row: 4; }
  .hero-actions { grid-row: 5; flex-direction: column; gap: 4px; }
  .hero-actions a { width: 135px; }
  html[lang='ar'] .hero-actions { align-items: flex-start; }
  html[lang='ar'] .hero-actions a { width: 138px; }
  .info-card { padding: 16px; }
  .nameserver-row { padding: 8px; }
  .hostname { flex: 1; flex-direction: column; align-items: stretch; gap: 0; }
  code { width: auto; }
}
@media (prefers-reduced-motion: reduce) { a, button { transition: none; } }
