/* Adapted from Vocabcord docs/index.html (12 September 2026): hero, phone
   composition, alternating usecases, FAQ, store pair and closing section.
   Hikma uses its bundled Amiri serif, Raveo UI type and monochrome artwork. */
@font-face{font-family:Raveo;src:url('/fonts/raveo.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Amiri;src:url('/home/fonts/amiri-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--canvas:#f8f9fb;--paper:#fdfdfe;--ink:#18181b;--ink-soft:var(--ink);--line:#dfe2e8;--band:#232a36;--band-text:#f3f4f7;--band-muted:var(--band-text);--radius:16px;--section-space:clamp(72px,8vw,120px);--font:Raveo,system-ui,sans-serif;--serif:Amiri,Georgia,serif;--text-body:1rem;--text-title:2rem;--text-heading:clamp(2.625rem,6.25vw,5rem);--text-hero:clamp(4rem,8.75vw,7rem);--store-badge-height:clamp(2.625rem,calc(10vw + .625rem),3.5rem)}
/* Four type roles: one body/UI size, reading title, section heading, hero. */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth;scroll-padding-top:24px}
body{font-family:var(--font);color:var(--ink);background:var(--canvas);line-height:1.6;font-size:var(--text-body)}
a{color:inherit;text-decoration:none;transition:color .15s ease}
a:hover{text-decoration:underline;text-underline-offset:5px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid currentColor;outline-offset:6px;border-radius:4px}
button{font:inherit;color:inherit}
h1,h2,h3{text-wrap:balance}
p,dd{text-wrap:pretty}
.keep-together{display:inline-block;max-width:100%;text-wrap:balance}
img{max-width:100%;height:auto}
[hidden]{display:none!important}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
.skip-link{position:absolute;top:8px;left:16px;z-index:10;padding:12px 18px;background:var(--ink);color:var(--paper);transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}
.relief-bar{background:#e9ecf1;text-align:center;padding:10px 24px;font-size:var(--text-body);line-height:1.6}
.relief-bar p{max-width:1000px;margin:auto;text-wrap:pretty}
.nav{padding:24px 0;background:var(--canvas)}
.nav-inner{display:flex;align-items:center;gap:24px;max-width:1360px;position:relative}
.brand{display:flex;gap:10px;align-items:center}
.brand img{display:block;width:114px;height:auto}
.brand:hover{text-decoration:none}
.nav-links{display:flex;align-items:center;gap:28px;font-size:var(--text-body);margin:auto}
.nav-links a{color:var(--ink-soft)}
.nav-cta{background:var(--ink);color:var(--paper);border-radius:9px;padding:10px 17px;font-size:var(--text-body);line-height:1.5;display:flex;align-items:center;gap:16px;white-space:nowrap}
.nav-cta:hover{background:#35363d;text-decoration:none}
.menu-toggle{display:none;border:1px solid var(--line);background:transparent;border-radius:9px;min-height:44px;padding:8px 12px;font-size:var(--text-body);cursor:pointer}
/* Vocabcord's centered hero and three-device composition. */
.hero{position:relative;padding:56px 0 0;text-align:center;overflow:hidden;isolation:isolate}
.hero>.container{max-width:1280px}
.hero h1{font-family:var(--serif);font-size:var(--text-hero);font-weight:400;line-height:.9;letter-spacing:-.02em;margin:0 auto 28px;text-wrap:balance;overflow-wrap:normal}
.hero .subtitle{font-size:var(--text-body);line-height:1.6;color:var(--ink-soft);max-width:690px;margin:0 auto 28px;text-wrap:pretty}
.store-ctas{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap}
.store-link{display:inline-flex;align-items:center;justify-content:center;min-height:max(2.75rem,var(--store-badge-height));border-radius:11px;transition:transform .18s ease}
.store-link:hover{transform:translateY(-2px)}
.store-link img{display:block;height:var(--store-badge-height);width:auto;border-radius:10px}
.web-link{display:table;margin:20px auto 0;font-size:var(--text-body);text-decoration:underline;text-underline-offset:5px}
.hero-note{font-size:var(--text-body);color:var(--ink-soft);margin-top:18px}
.hero-note a{text-decoration:underline;text-underline-offset:3px}
.hero-shots{position:relative;margin:56px auto 0;height:480px;max-width:960px;pointer-events:none}
.hero-shots .phone{position:absolute;height:auto;border:9px solid var(--ink);border-radius:22px;background:var(--ink)}
.hero-shots .phone-l{left:calc(50% - 368px);bottom:-100px;width:250px}
.hero-shots .phone-c{border-radius:38px;left:50%;transform:translateX(-50%);bottom:-105px;width:280px;z-index:1}
.hero-shots .phone-r{left:calc(50% + 118px);bottom:-100px;width:250px}
h2{font-family:var(--serif);font-size:var(--text-heading);font-weight:400;letter-spacing:-.015em;line-height:.94;text-wrap:balance;overflow-wrap:normal}
.modes-preface{position:relative;padding:var(--section-space) 0 24px;text-align:center;background:var(--band);color:var(--band-text);z-index:2}
.modes-preface>.container{max-width:780px}
.modes-sub{font-size:var(--text-body);line-height:1.65;max-width:600px;margin:24px auto 0;color:var(--band-muted);text-wrap:balance}
/* Reuse Vocabcord's alternating image + copy rows. */
.usecases{padding:24px 0 var(--section-space);background:var(--band);color:var(--band-text)}
.usecase{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center;max-width:1040px;margin:0 auto;padding:64px 0}
.usecase:last-child{padding-bottom:0}
.usecase-reverse .uc-image{grid-column:1;grid-row:1}
.usecase-reverse .uc-copy{grid-column:2}
.uc-image{display:flex;justify-content:center}
.uc-shot{display:block;width:100%;max-width:276px;border:8px solid var(--ink);border-radius:20px;background:var(--ink);height:auto}
.uc-copy{min-width:0;width:100%;max-width:488px;margin:0 auto}
.uc-copy h3{font-family:var(--serif);font-size:var(--text-heading);font-weight:400;letter-spacing:-.01em;line-height:.94;margin-bottom:24px;text-wrap:balance;overflow-wrap:normal}
.uc-copy p{font-size:var(--text-body);color:var(--band-muted);line-height:1.7;text-wrap:pretty;margin-bottom:16px}
.text-link{display:inline-flex;gap:16px;align-items:center;font-size:var(--text-body);min-height:44px;text-decoration:underline;text-underline-offset:6px}
.uc-copy .text-link{margin-top:8px}
.daily-tools{padding:var(--section-space) 0;background:var(--paper)}
.tools-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:72px;align-items:center;max-width:1280px}
.tools-copy>p{margin:24px 0;color:var(--ink-soft);max-width:55ch}
.tool-list{margin:32px 0 16px}
.tool-list>div{padding:18px 0}
.tool-list dt{font-size:var(--text-body);font-weight:550;margin-bottom:4px}
.tool-list dd{font-size:var(--text-body);color:var(--ink-soft)}
.tools-shots{display:flex;align-items:center;justify-content:center;gap:20px;min-width:0}
.tools-shots img{width:calc(50% - 10px);border-width:6px;border-radius:18px}
.tools-shots img:last-child{margin-top:100px}
.explore{padding:var(--section-space) 0}
.section-heading{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:48px}
.section-heading>.text-link{flex-shrink:0;white-space:nowrap}
.section-heading>div{min-width:0;max-width:100%}
.reading-list{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.reading-list>a{display:flex;flex-direction:column;align-items:flex-start;padding-top:24px}
.reading-list>a:hover{text-decoration:none}
.reading-list h3{font-family:var(--serif);font-size:var(--text-title);font-weight:400;line-height:1;letter-spacing:-.01em;margin-bottom:16px;overflow-wrap:normal}
.reading-list p{font-size:var(--text-body);color:var(--ink-soft);margin-bottom:24px;max-width:32ch}
.reading-action{white-space:nowrap;display:flex;align-items:center;gap:16px;min-height:44px;font-size:var(--text-body);margin-top:auto}
.reading-list>a:hover .reading-action{text-decoration:underline;text-underline-offset:5px}
@media(min-width:781px){
  .reading-list{grid-template-rows:auto auto auto;row-gap:16px}
  .reading-list>a{display:grid;grid-template-rows:subgrid;grid-row:span 3;align-items:start}
  .reading-list h3,.reading-list p{margin-bottom:0}
  .reading-action{align-self:end}
}
.reader-languages{margin-top:48px;padding-top:24px;display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;font-size:var(--text-body)}
.reader-languages>span{color:var(--ink-soft);margin-right:auto}
.reader-languages a{display:inline-flex;align-items:center;min-height:44px}
/* Vocabcord FAQ; native details also works with JavaScript disabled. */
.faq{padding:var(--section-space) 0;background:var(--paper)}
.faq>.container{max-width:830px}
.faq h2{margin-bottom:40px}
.faq-item summary{list-style:none;cursor:pointer;padding:18px 0;font-size:var(--text-body);font-weight:500;letter-spacing:-.01em;display:flex;align-items:center;gap:24px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-size:var(--text-title);font-weight:350;flex-shrink:0;margin-left:auto}
.faq-item[open] summary::after{content:'−'}
.faq-answer{padding:0 32px 24px 0;font-size:var(--text-body);line-height:1.75;color:var(--ink-soft);text-wrap:pretty}
.faq-answer a{text-decoration:underline;text-underline-offset:4px}
.final-cta{padding:var(--section-space) 0 48px;text-align:center;background:var(--canvas);color:var(--ink)}
.final-cta>.container{max-width:780px}
.closing-icon{display:block;margin:0 auto 24px}
.final-cta> .container>p{color:var(--ink-soft);font-size:var(--text-body);max-width:560px;margin:24px auto 32px;line-height:1.6}
.footer{padding:24px 0 40px;text-align:center;color:var(--ink-soft);font-size:var(--text-body);background:var(--canvas)}
.footer-links{display:flex;justify-content:center;gap:4px 24px;margin-bottom:16px;flex-wrap:wrap;font-size:var(--text-body)}
.footer-links a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:960px){
  .nav-links{gap:16px}.nav-inner{gap:16px}
  .hero-shots{height:440px}
  .hero-shots .phone-l{left:calc(50% - 300px);width:212px;bottom:-86px}
  .hero-shots .phone-c{width:250px;bottom:-86px}
  .hero-shots .phone-r{left:calc(50% + 88px);width:212px;bottom:-86px}
  .tools-layout{gap:40px}.tools-shots{gap:12px}.tools-shots img{width:calc(50% - 6px)}
  .usecase{gap:40px}.reading-list{gap:24px}
}
@media(max-width:780px){
  .nav{padding:16px 0}.nav-inner{flex-wrap:wrap;gap:12px}.brand{margin-right:auto}
  .nav-cta{padding:11px 12px;gap:10px}
  .nav-links{order:4;width:100%;justify-content:center;flex-wrap:wrap;padding:16px 0 0;gap:12px 24px}
  .has-js .menu-toggle{display:block}.has-js .nav-links:not(.is-open){display:none}
  .hero{padding-top:40px}.hero .subtitle{max-width:570px}
  .usecase{grid-template-columns:minmax(0,1fr);gap:32px;padding:48px 0}
  .uc-copy{max-width:500px}.usecase-reverse .uc-image,.usecase-reverse .uc-copy{grid-column:auto;grid-row:auto}
  .uc-image{order:2}.uc-shot{max-width:260px}
  .tools-layout{grid-template-columns:1fr;gap:40px}.tools-copy{max-width:500px;margin:auto}.tools-shots{max-width:560px;margin:auto}
  .section-heading{align-items:flex-start;flex-direction:column;gap:20px}
  .reading-list{grid-template-columns:1fr;gap:32px}
}
@media(max-width:560px){
  .container{padding-inline:20px}.relief-bar{padding:10px 20px}
  .hero h1{letter-spacing:-.015em}
  .hero .subtitle{margin-bottom:24px}
  .store-ctas{gap:10px}.store-link img{border-radius:8px}.store-link{min-height:44px}
  .hero-note,.web-link{line-height:1.8}
  .hero-shots{height:360px;margin-top:40px}
  .hero-shots .phone-c{width:216px;bottom:-111px;border-width:7px;border-radius:29px}
  .hero-shots .phone-l{left:calc(50% - 235px);width:174px;bottom:-95px;border-width:6px;border-radius:16px}
  .hero-shots .phone-r{left:calc(50% + 61px);width:174px;bottom:-95px;border-width:6px;border-radius:16px}
  .uc-shot{max-width:240px}
  .tools-shots img{border-width:4px;border-radius:14px}.tools-shots img:last-child{margin-top:64px}
  .reading-list{grid-template-columns:1fr;gap:32px}.reading-list>a{padding-top:20px}
  .reading-list p{max-width:48ch;margin-bottom:10px}
  .reader-languages{gap:4px 22px}.reader-languages>span{flex-basis:100%;margin-bottom:8px}
  .faq-item summary{gap:16px}.faq-answer{padding-right:12px}
  .footer-links{gap:2px 18px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Adapted from Vocabcord's desktop download handoff. */
.download-qr,.download-share,.qr-tile{display:none}
@media(min-width:1025px) and (hover:hover) and (pointer:fine){
  .download-qr{display:grid;justify-items:center;gap:16px;margin:32px auto 0}
  .download-qr>img{display:block;width:280px;height:280px;padding:8px;background:#fff;border-radius:12px}
  .download-qr figcaption{font-size:var(--text-body);color:var(--ink-soft)}
  .download-share{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;max-width:100%;min-height:44px;margin:12px auto 0;font-size:var(--text-body);text-decoration:underline;text-underline-offset:4px}
  .download-share img{display:block;width:16px;height:16px;flex:none}
  .final-cta .store-ctas{margin-top:24px}
  .qr-tile{position:fixed;right:20px;bottom:20px;z-index:6;display:flex;flex-direction:column;gap:8px;width:196px;color:var(--ink);font-size:var(--text-body);line-height:1.4;text-align:center}
  .qr-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 16px 12px;border-radius:12px;background:#fff;box-shadow:0 2px 12px #18181b0a}
  .qr-card>img{display:block;width:160px;height:160px;max-width:100%}
  .qr-close{position:absolute;right:2px;top:2px;display:grid;place-items:center;width:32px;height:32px;border:0;padding:8px;background:transparent;color:var(--ink-soft);cursor:pointer}
  .qr-close svg{display:block;width:16px;height:16px}
  .qr-tile .download-share{width:100%;margin:0;padding:0 8px;border-radius:8px;background:#fff;text-decoration:none}
  .qr-tile .download-share:hover{text-decoration:underline}
}

/* Membership and copy layout. */
:root{--text-hero:clamp(3.25rem,8.75vw,7rem)}
.hero h1{max-width:1000px}
.hero .subtitle{max-width:640px}
.usecases{padding-top:40px}
.uc-copy h2{margin-bottom:24px}
.uc-copy .feature-context{font-size:var(--text-body)}
.tool-list dd{font-size:var(--text-body)}
.membership{padding:var(--section-space) 0;background:#edf0f5}
.membership-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 72px}
.membership-intro>p{margin-top:24px;color:var(--ink-soft);max-width:52ch}
.membership-cta{display:inline-flex;white-space:normal;margin-top:28px;min-height:48px}
.membership-intro .membership-terms{font-size:var(--text-body);line-height:1.7}
.membership-benefits{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-top:4px}
.membership-benefits>div{position:relative;padding-left:64px}
.benefit-icon{position:absolute;left:0;top:-8px;width:48px;height:48px;padding:12px;border-radius:50%;background:#fff;stroke:var(--ink);stroke-width:1.5}
.benefit-icon *{vector-effect:non-scaling-stroke}
.membership-benefits dt{font-size:var(--text-body);font-weight:550;margin-bottom:6px}
.membership-benefits dd{font-size:var(--text-body);color:var(--ink-soft);max-width:48ch}
.trial-invitation{grid-column:1/-1;display:grid;gap:16px;align-items:start;padding-top:24px}
.trial-invitation h3{font-family:var(--serif);font-size:var(--text-title);font-weight:400;line-height:1;max-width:20ch}
.trial-invitation p{color:var(--ink-soft);max-width:65ch}
.footer-relief{max-width:54ch;margin:0 auto 20px}
@media(max-width:960px){.membership-layout{gap:40px}}
@media(max-width:780px){
  .membership-layout{grid-template-columns:minmax(0,1fr);max-width:548px;gap:40px}
  .trial-invitation{grid-template-columns:1fr;gap:16px;padding-top:0}
  .usecases{padding-top:24px}
}

.reader-platform-note{margin-top:40px;max-width:60ch;color:var(--ink-soft)}
.reader-platform-note+.reader-languages{margin-top:12px;padding-top:0}

.membership-layout>*{min-width:0}

/* Let exceptionally narrow or magnified layouts wrap long words and links. */
h1,h2,h3,.uc-copy h3,.reading-list h3,.hero h1{overflow-wrap:anywhere}
@media(max-width:560px){.section-heading>.text-link,.reading-action{max-width:100%;white-space:normal}}

.membership-benefits>div{min-width:0;overflow-wrap:anywhere}

/* Each closing sentence gets its own line when there is room for it. */
@media(min-width:781px){.download-intro>span{display:block}}

/* Resolve the mobile menu before first paint where scripting media is supported. */
@media(max-width:780px) and (scripting:enabled){.nav-links:not(.is-open){display:none}}
