:root {
  --paper: #f7f4ef;
  --paper-deep: #ebe5dc;
  --surface: #fffefa;
  --ink: #1d1c1a;
  --muted: #706b63;
  --line: #ded8cf;
  --protein: #ef7b5d;
  --protein-soft: #f9e1da;
  --carb: #eeaa3c;
  --carb-soft: #f9ecd2;
  --fat: #6d86d8;
  --fat-soft: #e2e7f8;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(42, 36, 29, .12);
  --sans: "Readex Pro", "Noto Sans Arabic", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; inset-block-start: -80px; inset-inline-start: 16px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { inset-block-start: 12px; }
:focus-visible { outline: 3px solid var(--fat); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(222,216,207,.78); background: rgba(247,244,239,.88); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border: 1px solid rgba(29,28,26,.06); border-radius: 12px; box-shadow: 0 6px 16px rgba(31,30,28,.13); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a { color: var(--muted); font-size: 14px; font-weight: 520; text-decoration: none; }
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--ink); }
.nav > .nav-cta { padding: 8px 15px; border-radius: 999px; background: var(--ink); color: #fff; }
.nav > .nav-cta:hover { color: #fff; }
.language { position: relative; }
.language summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 650; }
.language summary::-webkit-details-marker { display: none; }
.language-menu { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; min-width: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.language-menu a { display: block; padding: 8px 10px; border-radius: 9px; text-decoration: none; font-size: 13px; }
.language-menu a:hover { background: var(--paper); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; max-width: 780px; font-size: clamp(50px, 7vw, 88px); font-weight: 650; letter-spacing: -.06em; line-height: .98; }
.hero-copy { margin: 28px 0 0; max-width: 650px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.58; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 650; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button:hover { transform: translateY(-2px); }
.availability { color: var(--muted); font-size: 13px; font-weight: 560; }

.product-hero { position: relative; overflow: hidden; min-height: 760px; padding: clamp(80px, 10vw, 130px) 0 100px; }
.product-hero::before { position: absolute; z-index: 0; width: 620px; height: 620px; inset-block-start: -250px; inset-inline-end: -220px; border: 1px solid rgba(29,28,26,.08); border-radius: 50%; box-shadow: inset 0 0 0 92px rgba(255,254,250,.31), inset 0 0 0 184px rgba(255,254,250,.23); content: ""; pointer-events: none; }
.product-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: clamp(44px, 8vw, 108px); align-items: center; }
.product-hero-copy { padding-block-end: 30px; }
.hero-device-wrap { position: relative; min-height: 590px; }
.device { margin: 0; overflow: hidden; padding: 8px; border: 1px solid rgba(29,28,26,.16); border-radius: 42px; background: #151515; box-shadow: 0 32px 88px rgba(41,35,28,.21); }
.device img { width: 100%; border-radius: 34px; }
.hero-device { position: absolute; z-index: 2; width: 286px; inset-block-start: 0; inset-inline-start: 50%; transform: translateX(-50%) rotate(2.5deg); }
[dir="rtl"] .hero-device { transform: translateX(50%) rotate(-2.5deg); }
.macro-orbit { position: absolute; inset: 30px -25px 20px; border: 1px solid rgba(29,28,26,.11); border-radius: 50%; transform: rotate(-12deg); }
.macro-orbit::before, .macro-orbit::after { position: absolute; inset: 14%; border: 1px solid rgba(29,28,26,.08); border-radius: inherit; content: ""; }
.macro-orbit::after { inset: 30%; }
.macro-dot { position: absolute; width: 17px; height: 17px; border-radius: 50%; box-shadow: 0 0 0 8px var(--paper); }
.macro-dot.protein { inset-block-start: 9%; inset-inline-start: 22%; background: var(--protein); }
.macro-dot.carb { inset-block-start: 50%; inset-inline-end: -8px; background: var(--carb); }
.macro-dot.fat { inset-block-end: 8%; inset-inline-start: 24%; background: var(--fat); }
.macro-readout { position: absolute; z-index: 3; inset-inline-end: -3px; inset-block-end: 38px; display: grid; gap: 6px; min-width: 132px; padding: 15px 17px; border: 1px solid rgba(222,216,207,.88); border-radius: 18px; background: rgba(255,254,250,.94); box-shadow: 0 18px 48px rgba(42,36,29,.13); backdrop-filter: blur(12px); }
.macro-readout span { color: var(--muted); font-size: 11px; }
.macro-readout b { display: inline-block; min-width: 27px; color: var(--ink); font-size: 14px; }

.workflow { overflow: hidden; padding: 120px 0; background: var(--ink); color: #fff; }
.workflow-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: end; margin-bottom: 74px; }
.workflow-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -24px; color: rgba(255,255,255,.46); }
.workflow-heading h2 { margin: 0; max-width: 650px; font-size: clamp(40px, 5vw, 64px); line-height: 1.03; letter-spacing: -.045em; }
.workflow-heading > p:last-child { margin: 0; max-width: 520px; color: rgba(255,255,255,.62); font-size: 18px; }
.workflow-stage { position: relative; display: grid; grid-template-columns: minmax(300px, 1fr) 290px; gap: clamp(48px, 10vw, 135px); align-items: center; }
.workflow-stage::before { position: absolute; z-index: 0; width: 680px; height: 680px; inset: 50% auto auto 50%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: inset 0 0 0 95px rgba(255,255,255,.018), inset 0 0 0 190px rgba(255,255,255,.018); content: ""; transform: translate(-50%, -50%); }
.workflow-device, .workflow-list { position: relative; z-index: 1; }
.workflow-device { width: 100%; box-shadow: 0 30px 85px rgba(0,0,0,.38); }
.result-device { transform: rotate(4deg); }
[dir="rtl"] .result-device { transform: rotate(-4deg); }
.workflow-list { margin: 0; padding: 0; list-style: none; counter-reset: workflow; }
.workflow-list li { counter-increment: workflow; display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.workflow-list li:first-child { border-top: 1px solid rgba(255,255,255,.13); }
.workflow-list li > span::before { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: rgba(255,255,255,.58); content: counter(workflow); font-size: 11px; }
.workflow-list h3 { margin: 1px 0 4px; font-size: 18px; }
.workflow-list p { margin: 0; color: rgba(255,255,255,.57); font-size: 13px; }

.daily { padding: 120px 0; }
.daily-panel { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(350px, .96fr); gap: clamp(50px, 9vw, 120px); align-items: center; }
.daily-copy h2, .benefit-intro h2, .legal-row h2 { margin: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.daily-lead, .benefit-intro > p:last-child, .legal-row > div > p:last-child { max-width: 590px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 42px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 10px 1fr; gap: 13px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list li > span { width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--ink); }
.feature-list li:nth-child(3n+1) > span { background: var(--protein); }
.feature-list li:nth-child(3n+2) > span { background: var(--carb); }
.feature-list li:nth-child(3n) > span { background: var(--fat); }
.feature-list h3 { margin: 0 0 4px; font-size: 15px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 12px; }
.daily-visual { position: relative; min-height: 620px; }
.dashboard-device { position: absolute; z-index: 2; width: 286px; inset: 0 0 auto auto; transform: rotate(3deg); }
[dir="rtl"] .dashboard-device { inset: 0 auto auto 0; transform: rotate(-3deg); }
.progress-rings { position: absolute; z-index: 3; inset-inline-start: 0; inset-block-end: 30px; display: flex; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,254,250,.94); box-shadow: 0 20px 60px rgba(42,36,29,.14); backdrop-filter: blur(12px); }
.ring { display: grid; width: 74px; height: 74px; margin-inline-end: -8px; place-items: center; border: 8px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 12px; font-weight: 700; }
.protein-ring { border-color: var(--protein-soft); border-top-color: var(--protein); }
.carb-ring { border-color: var(--carb-soft); border-inline-end-color: var(--carb); }
.fat-ring { margin-inline-end: 0; border-color: var(--fat-soft); border-bottom-color: var(--fat); }

.benefits { padding: 112px 0; border-top: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); }
.benefit-intro { padding-inline-end: clamp(30px, 6vw, 82px); }
.benefit { min-height: 360px; padding: 0 26px; border-inline-start: 1px solid var(--line); }
.benefit > span { display: block; margin-bottom: 120px; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.benefit h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.25; }
.benefit p { margin: 0; color: var(--muted); font-size: 13px; }
.legal-section { padding: 90px 0; background: var(--paper-deep); }
.legal-row { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.legal-row h2 { font-size: clamp(35px, 4.5vw, 52px); }
.faq-section { padding: 112px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 10vw, 140px); }
.faq-grid h2 { margin: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.faq-list article { padding: 27px 0; border-top: 1px solid var(--line); }
.faq-list article:last-child { border-bottom: 1px solid var(--line); }
.faq-list h3 { margin: 0 0 8px; font-size: 19px; }
.faq-list p { margin: 0; color: var(--muted); font-size: 14px; }
.launch-section { padding: 24px 0 112px; }
.launch-card { padding: clamp(48px, 8vw, 96px); border-radius: 42px; background: var(--ink); color: #fff; text-align: center; }
.launch-card .eyebrow { color: rgba(255,255,255,.48); }
.launch-card h2 { max-width: 820px; margin: 0 auto; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.05em; }
.launch-card > p:not(.eyebrow) { max-width: 670px; margin: 24px auto 0; color: rgba(255,255,255,.62); font-size: 17px; }
.launch-button { margin-top: 32px; border-color: #fff; background: #fff; color: var(--ink); }
.launch-card > span { display: block; margin-top: 14px; color: rgba(255,255,255,.46); font-size: 12px; }

.page-hero { padding: 82px 0 48px; }
.page-hero h1 { max-width: 920px; font-size: clamp(42px, 6vw, 70px); }
.page-hero .hero-copy { max-width: 760px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.meta span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; }
.notice { margin: 0 0 34px; padding: 18px 20px; border-inline-start: 5px solid var(--carb); border-radius: 14px; background: #fff7e7; color: #625436; font-size: 14px; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 68px; align-items: start; padding-bottom: 100px; }
.doc-nav { position: sticky; top: 104px; }
.doc-nav p { margin: 0 0 11px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.doc-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.doc-nav a:hover { color: var(--ink); }
.document { min-width: 0; }
.document section { padding: 0 0 31px; margin: 0 0 31px; border-bottom: 1px solid var(--line); }
.document section:last-child { border-bottom: 0; }
.document h2 { margin: 0 0 13px; font-size: 25px; letter-spacing: -.025em; line-height: 1.3; }
.document h3 { margin: 23px 0 7px; font-size: 17px; }
.document p, .document li { color: var(--muted); }
.document p { margin: 0 0 13px; }
.document ul, .document ol { padding-inline-start: 22px; }
.document li { margin: 7px 0; }
.document strong { color: var(--ink); }
.contact-card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.contact-card p { color: rgba(255,255,255,.68); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 100px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.support-card h2 { margin: 0 0 12px; font-size: 22px; }
.support-card p { margin: 0 0 18px; color: var(--muted); }
.delete-steps { counter-reset: delete-step; display: grid; gap: 14px; padding-bottom: 100px; }
.delete-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.delete-step::before { counter-increment: delete-step; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; content: counter(delete-step); font-weight: 700; }
.delete-step h2 { margin: 2px 0 6px; font-size: 20px; }
.delete-step p { margin: 0; color: var(--muted); }

.site-footer { padding: 54px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-brand { margin: 0 0 7px; font-size: 22px; font-weight: 650; }
.footer-note { margin: 0; max-width: 620px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.footer-links a, .footer-links span { color: var(--muted); font-size: 13px; }
[dir="rtl"] .eyebrow, [dir="rtl"] .doc-nav p { letter-spacing: 0; text-transform: none; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: -.025em; }

@media (max-width: 980px) {
  .product-hero-grid, .daily-panel { grid-template-columns: 1fr 360px; gap: 30px; }
  .workflow-stage { grid-template-columns: 1fr 250px; gap: 54px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-intro { grid-column: 1 / -1; margin-bottom: 58px; }
  .benefit { min-height: 300px; }
}
@media (max-width: 780px) {
  .product-hero { padding-top: 72px; }
  .product-hero-grid, .daily-panel { grid-template-columns: 1fr; }
  .product-hero-copy { text-align: center; }
  .product-hero-copy h1, .product-hero-copy .hero-copy { margin-inline: auto; }
  .product-hero-copy .cta-row { justify-content: center; }
  .hero-device-wrap { width: min(520px, 100%); margin-inline: auto; }
  .workflow-heading { grid-template-columns: 1fr; gap: 20px; }
  .workflow-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .workflow-stage { grid-template-columns: 230px 1fr; }
  .workflow-list { order: 2; }
  .result-device { order: 1; }
  .daily-visual { width: min(520px, 100%); margin-inline: auto; }
  .doc-layout { grid-template-columns: 1fr; gap: 0; }
  .doc-nav { display: none; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; inset-block-start: 68px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav[data-open] { display: flex; }
  .nav > a { padding: 10px 4px; }
  .language summary { margin-top: 6px; }
  .language-menu { position: static; margin-top: 6px; }
  h1 { font-size: clamp(44px, 13vw, 66px); }
  .product-hero { min-height: auto; padding-bottom: 70px; }
  .hero-device-wrap { min-height: 530px; }
  .hero-device { width: 250px; }
  .macro-readout { inset-inline-end: 0; }
  .workflow, .daily, .benefits, .faq-section { padding: 84px 0; }
  .workflow-heading { margin-bottom: 50px; }
  .workflow-stage { grid-template-columns: 1fr; }
  .result-device { width: 240px; margin-inline: auto; }
  .workflow-list { margin-top: 22px; }
  .feature-list { grid-template-columns: 1fr; }
  .daily-visual { min-height: 550px; }
  .dashboard-device { width: 250px; }
  .progress-rings { inset-inline-start: 3px; }
  .ring { width: 62px; height: 62px; border-width: 7px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-intro { margin-bottom: 42px; padding-inline-end: 0; }
  .benefit { min-height: 0; padding: 30px 0; border-block-start: 1px solid var(--line); border-inline-start: 0; }
  .benefit > span { margin-bottom: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .launch-section { padding-bottom: 84px; }
  .launch-card { border-radius: 28px; }
  .legal-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .page-hero { padding-top: 56px; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .hero-device-wrap { min-height: 475px; }
  .hero-device { width: 218px; }
  .macro-orbit { inset-inline: 0; }
  .macro-readout { min-width: 112px; padding: 11px 13px; }
  .daily-visual { min-height: 500px; }
  .dashboard-device { width: 220px; }
  .progress-rings { padding: 12px; }
  .ring { width: 54px; height: 54px; }
  .delete-step { grid-template-columns: 44px 1fr; gap: 13px; padding: 19px; }
  .delete-step::before { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
@media print {
  .site-header, .doc-nav, .site-footer, .notice { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-hero, .doc-layout { padding: 18px 0; }
  .shell { width: 100%; }
  .document section { break-inside: avoid; }
}
