@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  font-family: Inter, "Cairo", "Dubai", "Segoe UI", system-ui, sans-serif;
  color: #111218;
  background: #fff;
  --blue: #477df4;
  --blue-dark: #2d64eb;
  --muted: #575b67;
  --surface: #f4f5fb;
  --line: #e1e3eb;
  --shadow: 0 2px 10px #151f3612;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 3px; }
.topbar { min-height: 70px; padding: 14px clamp(16px, 2.5vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #f0f0f4; background: #fff; }
.topbar nav { display: flex; align-items: center; gap: clamp(10px, 2.3vw, 32px); font-size: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(17px, 2vw, 23px); font-weight: 750; white-space: nowrap; }
.brand-icon { display: grid; grid-template: repeat(2, 10px) / repeat(2, 10px); gap: 2px; color: var(--blue); }
.brand-icon i { border: 1.7px solid currentColor; border-radius: 2px; }
.brand-icon i:first-child, .brand-icon i:last-child { box-shadow: inset 0 0 0 2px white; background: currentColor; }
.primary, .outline, .swatches button { display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 8px; padding: 11px 17px; border: 1px solid var(--line); background: #fff; color: #15151c; }
.primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 650; }
.primary:hover { background: var(--blue-dark); }
.outline:hover, .swatches button:not(.primary):hover { border-color: var(--blue); }
.big { min-width: 228px; padding: 16px 27px; font-size: 18px; }
.hero { min-height: 630px; padding: clamp(65px, 10vw, 150px) clamp(16px, 2.5vw, 44px) 55px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; background: linear-gradient(#fff, #f6f7fc); }
.hero h1 { font-size: clamp(38px, 4.1vw, 64px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 25px; }
.hero ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 17px; color: #30323d; font-size: clamp(16px, 1.55vw, 21px); }
.hero li::before { content: "✓"; margin-right: 10px; }
.hero-art { min-height: 430px; position: relative; isolation: isolate; }
.hero-orbit { position: absolute; width: min(75%, 420px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #e6e7ff, #f1f2fc); left: 0; top: 0; z-index: -1; }
.hero-orbit::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: #dadcfb66; }
.mock-list, .mock-types { position: absolute; background: white; border: 1px solid #f5f5fa; border-radius: 15px; box-shadow: 0 15px 50px #3c4b8820; }
.mock-list { top: 36px; left: 18%; width: 47%; max-width: 270px; padding: 19px; min-height: 365px; font-size: 14px; }
.mock-menu { font-size: 19px; }
.mock-row { display: flex; align-items: center; gap: 10px; margin: 12px 0; white-space: nowrap; font-size: 12px; }
.mock-row small { display: block; color: var(--muted); margin-top: 3px; }
.mock-row .active-dot { color: #247950; }
.sample-qr { display: inline-flex; padding: 3px; background: #fff; border: 1px solid #e1e2eb; border-radius: 7px; width: 51px; aspect-ratio: 1; flex: none; }
.sample-qr svg { width: 100%; height: auto; }
.mock-types { top: 121px; right: 2%; width: 45%; max-width: 275px; padding: 20px; font-size: 14px; }
.mock-types small { float: right; color: var(--muted); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 15px; }
.mock-grid span { background: #f4f4fb; border-radius: 7px; padding: 10px 5px; text-align: center; font-size: 11px; white-space: nowrap; }
.mock-grid span:first-child { background: #818af5; color: white; }
.mock-strip { display: flex; gap: 7px; position: absolute; top: 342px; left: 8%; }
.mock-strip .sample-qr { width: 40px; box-shadow: var(--shadow); }
.how, .faq { padding: 75px 22px; max-width: 1160px; margin: auto; }
.how { text-align: center; }
.how h2, .faq h2 { margin: 0 0 26px; font-size: clamp(25px, 3.5vw, 37px); letter-spacing: -.025em; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 35px 0; }
.how article { border: 1px solid var(--line); border-radius: 14px; padding: 24px 15px; }
.how article span { color: var(--blue-dark); font-size: 26px; }
.how article p, .faq p { color: var(--muted); }
.faq { max-width: 850px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 650; cursor: pointer; }
footer { display: flex; gap: 25px; border-top: 1px solid var(--line); padding: 27px 32px; }
.wizard { background: var(--surface); }
.wizard .topbar { justify-content: flex-start; }
.wizard .topbar nav { margin-left: auto; margin-right: min(24%, 305px); color: var(--blue-dark); }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 32px; padding: 46px clamp(16px, 2.5vw, 44px) 106px; max-width: 1520px; margin: auto; min-height: calc(100dvh - 70px); }
.editor h1 { font-size: clamp(21px, 2.1vw, 29px); margin: 10px 0 17px; letter-spacing: -.02em; }
.editor h1:focus { outline: none; }
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.type-card, .panel { border-radius: 9px; background: #fff; box-shadow: var(--shadow); border: 1px solid #eeeff4; }
.type-card { min-height: 80px; padding: 12px 15px; display: flex; align-items: center; gap: 22px; text-align: left; }
.type-card:hover, .type-card:focus-visible { border-color: var(--blue); }
.tile-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; background: #f5f6ff; color: var(--blue); border-radius: 8px; font-size: 24px; font-weight: 550; }
.type-card:hover .tile-icon { color: white; background: var(--blue); }
.type-card strong, .panel strong { font-size: 17px; }
.type-card small, .panel small { display: block; margin-top: 3px; color: var(--muted); line-height: 1.35; font-size: 14px; }
.panel { margin-bottom: 14px; }
.panel summary { list-style: none; cursor: pointer; padding: 16px 30px; display: flex; align-items: center; gap: 16px; }
.panel summary::-webkit-details-marker { display: none; }
.panel summary::after { content: "⌄"; margin-left: auto; font-size: 22px; }
.panel[open] summary::after { transform: rotate(180deg); }
.panel-body { margin: 0 30px; padding: 22px 0 28px; border-top: 1px solid #edf0f4; }
label { display: block; color: #222531; font-weight: 600; margin: 8px 0 12px; }
input:not([type="radio"]):not([type="checkbox"]), textarea, select { display: block; width: 100%; padding: 11px 13px; min-height: 46px; border: 1px solid #d9dce5; border-radius: 7px; margin-top: 8px; background: #fff; color: #21222e; }
textarea { min-height: 115px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.preview { text-align: center; min-width: 0; align-self: start; position: sticky; top: 20px; }
.preview:not(:has(.switch)) { margin-top: 57px; }
.switch { display: inline-flex; margin: 1px auto 15px; border: 1px solid #b6c6ee; padding: 3px; border-radius: 24px; }
.switch button { padding: 6px 12px; color: var(--blue-dark); border: 0; background: transparent; border-radius: 20px; font-size: 13px; }
.switch button[aria-pressed="true"] { color: white; background: var(--blue); }
.phone { margin: 0 auto; width: 100%; max-width: 275px; min-height: 490px; border: 8px solid #111116; border-radius: 40px; background: linear-gradient(#d8d9fc 38%, #fff 38%); overflow: hidden; }
.phone:has(.phone-code) { background: white; }
.phone-top { height: 32px; padding: 0 13px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.phone-top i { background: #111116; display: block; width: 67px; height: 19px; border-radius: 20px; }
.address { border-radius: 20px; font-size: 11px; background: #f5f5fbe8; margin: 0 10px; padding: 7px 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-page { padding: 17px 12px; }
.phone-card, .phone-skeleton { background: white; border-radius: 8px; box-shadow: var(--shadow); padding: 9px; margin-bottom: 12px; }
.phone-card p { overflow-wrap: anywhere; font-size: 12px; color: var(--muted); margin: 6px 0; white-space: pre-wrap; }
.phone-image { height: 130px; border-radius: 6px; background: #e7e8ef; display: grid; place-items: center; font-size: 42px; color: #818aad; margin-bottom: 12px; }
.phone-skeleton { height: 50px; background: linear-gradient(#e9e9f0 0 0) center / 78% 6px no-repeat, linear-gradient(#e9e9f0 0 0) center 67% / 60% 6px no-repeat, #fff; }
.phone-code { min-height: 375px; display: grid; place-items: center; }
.phone-code svg { width: 78%; height: auto; max-height: 280px; }
.wizard-bar { position: fixed; z-index: 2; bottom: 0; left: 0; right: 0; min-height: 78px; background: #fff; box-shadow: 0 -6px 28px #212d5512; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px clamp(16px, 2.5vw, 44px); }
.wizard-bar ol { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.wizard-bar li { display: flex; gap: 7px; align-items: center; font-size: 14px; color: var(--muted); }
.wizard-bar li + li::before { content: "›"; padding-right: 6px; }
.wizard-bar li span { border: 1px solid var(--line); border-radius: 50%; width: 27px; height: 27px; display: grid; place-items: center; }
.wizard-bar .current { color: #111; }
.wizard-bar .current span { color: white; background: var(--blue); border-color: var(--blue); }
.wizard-bar .primary { justify-self: end; width: min(100%, 222px); min-height: 46px; }
.back, .text { border: 0; padding: 6px 0; color: var(--blue-dark); background: none; }
.back { justify-self: start; color: #373944; }
.swatches, .colors { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.swatch:has(:checked) { border-color: var(--blue); background: #f5f8ff; }
.colors label { min-width: 130px; }
input[type="color"] { cursor: pointer; }
.error { color: #a7242c; }
.error a { text-decoration: underline; }
dialog { border: 1px solid var(--line); border-radius: 16px; padding: 25px; width: min(400px, calc(100% - 32px)); }
dialog::backdrop { background: #161a3680; }
dialog h2 { margin: 0 28px 10px 0; }
.close { float: right; border: 0; background: none; font-size: 23px; }
.auth { max-width: 450px; margin: 50px auto; padding: 28px; }
.dashboard { max-width: 850px; margin: 40px auto; padding: 0 16px; }
.saved a { color: var(--blue-dark); overflow-wrap: anywhere; }
.daily { white-space: pre-line; }
@media (max-width: 850px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 210px; gap: 17px; padding-top: 26px; }
  .type-card { gap: 10px; padding: 10px; }
  .mock-list { left: 8%; width: 58%; }
  .mock-types { right: 0; width: 51%; padding: 12px; }
}
@media (max-width: 640px) {
  .topbar nav { gap: 10px; font-size: 13px; }
  .topbar nav a[href="/faq"] { display: none; }
  .topbar nav .outline { padding: 8px; }
  .hero { display: block; padding-top: 58px; padding-bottom: 10px; }
  .hero-art { margin-top: 25px; min-height: 355px; }
  .hero-orbit { width: 72%; }
  .mock-list { min-height: 280px; top: 21px; }
  .mock-types { top: 90px; }
  .mock-strip { top: 275px; }
  .how, .faq { padding: 44px 16px; }
  .how-grid { grid-template-columns: 1fr; gap: 10px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .workspace:has(.type-grid) .preview { display: none; }
  .preview { position: static; }
  .phone { min-height: 340px; }
  .phone-code { min-height: 260px; }
  .phone-code svg { max-height: 220px; }
  .type-grid { gap: 8px; }
  .type-card { min-height: 87px; }
  .tile-icon { flex-basis: 32px; height: 36px; font-size: 19px; }
  .type-card strong, .panel strong { font-size: 14px; }
  .type-card small, .panel small { font-size: 12px; }
  .panel summary { padding: 13px; }
  .panel-body { margin: 0 13px; padding-top: 13px; }
  .wizard-bar { min-height: 74px; gap: 8px; grid-template-columns: auto 1fr auto; }
  .wizard-bar ol { justify-content: center; gap: 5px; }
  .wizard-bar li { font-size: 0; gap: 0; }
  .wizard-bar li + li::before { display: none; }
  .wizard-bar li span, .wizard-bar .primary, .back { font-size: 13px; }
  .wizard-bar .primary { padding: 8px; }
  .auth { margin: 30px 16px; }
}

.phone-image img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.phone-card p { overflow-wrap: anywhere; white-space: pre-wrap; }
.preview-link { padding: 12px; background: #edf2ff; border-radius: 8px; overflow-wrap: anywhere; font-size: 13px; }
.phone-page { overflow-y: auto; }
.language-toggle { flex-shrink: 0; font-size: 14px; }
html:lang(ar), [dir="rtl"], :lang(ar) {
  font-family: "Cairo", "Dubai", Tahoma, "Segoe UI", sans-serif;
  line-height: 1.8;
  letter-spacing: normal;
}
html:lang(ar) :is(h1, h2, h3, .brand), [dir="rtl"] :is(h1, h2, h3, .brand) {
  letter-spacing: normal;
  line-height: 1.6;
}
html:lang(ar) :is(.type-card small, .panel small, .hint),
[dir="rtl"] :is(.type-card small, .panel small, .hint) { line-height: 1.8; }
[dir="rtl"] .type-card { text-align: right; }
[dir="rtl"] .panel summary { text-align: right; }
[dir="rtl"] .panel summary::after { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero li::before { margin-right: 0; margin-left: 10px; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[name="url"], [dir="rtl"] input[name="website"] { direction: ltr; text-align: left; }
@media (max-width: 600px) { .topbar { flex-wrap: wrap; } .topbar nav { flex: 1; } .language-toggle { padding: 8px; } }

.social-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;margin:16px 0 24px}.social-picker button{display:flex;align-items:center;flex-direction:column;gap:6px;padding:10px 4px;background:#fff;border:1px solid #e4e7ec;border-radius:10px;cursor:pointer}.social-picker button:hover{border-color:#7357db;background:#f5f2ff}.social-picker button:disabled{opacity:.35;cursor:default}.social-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;color:#fff;border-radius:10px;font:700 23px Arial}.social-row{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:18px;border:1px solid #e4e7ec;border-radius:12px;margin:14px 0}.social-row label{grid-column:1/-1}.social-actions{display:flex;gap:6px}.social-actions button{border:1px solid #ddd;border-radius:5px;background:white;padding:4px 9px}.social-presets{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.social-presets button{width:36px;height:36px;border:3px solid white;outline:1px solid #ccc;border-radius:50%;cursor:pointer}.social-page{min-height:450px;padding:32px 16px;text-align:center}.social-page h2{color:var(--social-primary);overflow-wrap:anywhere}.social-page p{white-space:pre-wrap;overflow-wrap:anywhere}.social-page a{display:flex;align-items:center;gap:12px;text-align:start;background:white;border:1px solid #e4e7ec;border-radius:12px;padding:12px;margin:12px 0;color:#202538;text-decoration:none;box-shadow:0 3px 8px #00000008}.social-page a span:nth-child(2){flex:1;overflow-wrap:anywhere}.social-page a:hover{border-color:var(--social-primary)}

.social-input-hint{grid-column:1/-1;margin:0;font-size:13px}

/* Keep grid items and long account names within the available screen width. */
.editor, .panel, .panel-body, .type-card > span, .panel summary > span,
.social-row > *, .social-page a > span { min-width: 0; }
.type-card, .panel summary, .social-row strong, .social-page h1 { overflow-wrap: anywhere; }
input, textarea, select { max-width: 100%; min-width: 0; }
.mobile-preview-toggle { display: none; }
html { scroll-padding-bottom: 120px; }

@media (max-width: 900px) and (min-width: 641px) {
  .workspace .type-grid { grid-template-columns: minmax(0, 1fr); }
  .wizard-bar ol { gap: 8px; }
  .wizard-bar li { font-size: 12px; }
  .wizard-bar .primary { width: auto; }
}

@media (max-width: 640px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px max(12px, env(safe-area-inset-left)) 12px max(12px, env(safe-area-inset-right));
  }
  .topbar .brand { grid-column: 1; grid-row: 1; font-size: clamp(16px, 4.7vw, 21px); }
  .topbar .language-toggle { grid-column: 2; grid-row: 1; min-height: 44px; padding: 8px 12px; }
  .topbar nav, .wizard .topbar nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
  }
  .topbar nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .wizard .topbar nav { display: none; }
  .workspace {
    padding: 16px 12px calc(120px + env(safe-area-inset-bottom));
    gap: 16px;
    min-height: calc(100svh - 70px);
  }
  .editor h1 { margin-top: 0; line-height: 1.4; }
  .preview { grid-row: 1; margin: 0; }
  .mobile-preview-toggle {
    display: flex;
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    font-weight: 600;
  }
  .mobile-preview-toggle::after { content: "+"; font-size: 22px; }
  .mobile-preview-toggle[aria-expanded="true"]::after { content: "\2212"; }
  .preview[data-expanded="false"] .preview-panel { display: none; }
  .preview-panel { padding-top: 16px; }
  .phone { width: min(100%, 275px); }
  .switch button { min-height: 44px; padding-inline: 16px; font-size: 14px; }
  .type-card { gap: 10px; align-items: flex-start; padding: 12px; }
  .type-card strong, .panel strong { font-size: 15px; }
  .panel summary { gap: 10px; }
  .panel summary::after { flex-shrink: 0; }
  input:not([type="radio"]):not([type="checkbox"]), textarea, select {
    font-size: 16px;
    min-height: 48px;
    scroll-margin-block: 110px;
  }
  input[type="file"] { padding: 8px; font-size: 14px; }
  input[type="file"]::file-selector-button { min-height: 36px; max-width: 100%; }
  .check { align-items: flex-start; line-height: 1.6; }
  .check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; }
  .social-picker { grid-template-columns: repeat(auto-fit, minmax(66px, 1fr)); gap: 8px; }
  .social-picker button { min-height: 76px; min-width: 0; }
  .social-picker small { font-size: 11px; overflow-wrap: anywhere; }
  .social-row { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 12px; gap: 8px; }
  .social-actions { gap: 4px; }
  .social-actions button { min-width: 44px; min-height: 44px; padding: 4px; font-size: 20px; }
  .social-presets { gap: 10px; }
  .social-presets button { width: 44px; height: 44px; }
  .colors { gap: 12px; }
  .colors label { flex: 1 1 120px; min-width: 0; }
  .swatch { min-height: 48px; flex: 1 1 110px; }
  .swatches button, .outline, .back, .close { min-height: 44px; }
  .wizard-bar {
    grid-template-columns: minmax(44px, 1fr) auto minmax(88px, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .wizard-bar .back { padding-inline: 8px; font-size: 14px; }
  .wizard-bar .primary { min-height: 48px; padding: 10px 12px; font-size: 14px; white-space: normal; }
  .wizard-bar li span { width: 24px; height: 24px; flex-shrink: 0; }
  .wizard-bar ol { gap: 4px; }
  dialog { padding: 20px; max-height: calc(100dvh - 40px); overflow-y: auto; }
  dialog .close { min-width: 44px; }
  .social-page { padding: 24px 12px; }
  .social-page a { min-height: 56px; }
  .phone .social-page { padding: 20px 8px; }
  .auth { padding: 20px; }
  footer { padding: 24px 16px; flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .type-grid { grid-template-columns: minmax(0, 1fr); }
  .type-card { min-height: 70px; align-items: center; }
  .social-row { grid-template-columns: 30px minmax(0, 1fr); }
  .social-row > .social-icon { width: 30px; height: 30px; }
  .social-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

.save-notice{background:#edf2ff;border:1px solid #d2dfff;border-radius:8px;padding:12px;font-size:14px;line-height:1.7}.save-notice a{color:var(--blue-dark);text-decoration:underline}.daily{white-space:normal;overflow-wrap:anywhere}.daily table{width:100%;border-collapse:collapse;font-size:14px;margin:12px 0}.daily th,.daily td{text-align:start;padding:8px;border-bottom:1px solid var(--line)}.daily caption{text-align:start;font-weight:700}.saved summary small{overflow-wrap:anywhere}
@media(max-width:640px){.wizard .topbar nav{display:flex}.saved .swatches button{flex:1 1 140px}.dashboard .panel-body{margin:0 12px}}

/* Comfortable mobile reading and touch controls. */
@media(max-width:640px){
 body{font-size:17px;line-height:1.6}
 input,textarea,select,button,.wizard-bar .primary,.wizard-bar .back{font-size:16px}
 label,.hint,.save-notice,.panel small,.type-card small,.saved summary small{font-size:15px;line-height:1.65}
 .social-picker{grid-template-columns:repeat(auto-fit,minmax(84px,1fr))}
 .social-picker small{font-size:14px;line-height:1.4}
 .social-page p{font-size:17px;line-height:1.7}
 .social-page a{font-size:18px;min-height:60px}
 .social-page h1,.social-page h2{font-size:28px;line-height:1.4}
 .topbar nav{font-size:16px}
}

/* Larger mobile type, including Arabic text. */
@media(max-width:640px){
 body{font-size:19px;line-height:1.75}
 input,textarea,select,button,.wizard-bar .primary,.wizard-bar .back{font-size:18px}
 label,.hint,.save-notice,.panel small,.type-card small,.saved summary small{font-size:17px;line-height:1.75}
 .type-card strong,.panel strong{font-size:20px}
 .social-picker{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}
 .social-picker small{font-size:16px;line-height:1.5}
 .social-page p{font-size:19px;line-height:1.8}
 .social-page a{font-size:20px;min-height:64px}
 .social-page h1,.social-page h2{font-size:30px}
 .topbar nav,.daily table{font-size:17px}
 .editor h1{font-size:27px;line-height:1.5}
 .wizard-bar ol{font-size:15px}
}
/* ELQ8 template collection and refreshed landing page. */
html{scroll-behavior:smooth}
.landing{background:#faf9f6;color:#172f2a}.landing .eyebrow{display:block;font-size:13px;letter-spacing:.08em;font-weight:700;color:#476b5c;margin-bottom:20px}
.new-hero{max-width:1280px;margin:auto;min-height:660px;padding:74px 48px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.new-hero h1{font-size:clamp(40px,4.5vw,68px);line-height:1.22;letter-spacing:-.04em;margin:0 0 24px}.new-hero h1 em{font-style:normal;color:#588467}.new-hero .hero-copy>p{font-size:19px;line-height:1.9;max-width:530px;color:#56665d}.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.landing .primary{background:#1c4739;border-color:#1c4739;color:white;border-radius:12px}.landing .outline{border-radius:12px;border-color:#bfccc1;background:transparent;color:#244738}.hero-pills{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:#5e7164}
.hero-showcase{position:relative;background:radial-gradient(ellipse,#dce8d2 0,transparent 70%);padding:28px 0;text-align:center}.showcase-note{direction:ltr;display:inline-block;border:1px solid #d3ded2;background:white;border-radius:30px;padding:10px 24px;box-shadow:0 10px 30px #17382b0a;margin-bottom:28px}.showcase-grid{display:flex;gap:12px;align-items:center;direction:ltr}.showcase-grid>.template-card{flex:1;min-width:0;pointer-events:auto}.showcase-grid>.template-card:nth-child(2){transform:translateY(-18px)}.showcase-grid .template-mini{height:290px;padding:0 14px 25px;border-radius:24px;box-shadow:0 20px 40px #1f392d19;border:5px solid white}.showcase-grid .template-caption{display:none}.hero-showcase>p{font-size:13px;color:#5f7165;margin-top:25px}
.template-section,.landing-tools{max-width:1200px;margin:auto;padding:55px 32px 70px;scroll-margin-top:30px}.section-intro{text-align:center}.section-intro h2,.landing-tools h2,.final-cta h2{font-size:clamp(28px,3vw,42px);margin:12px 0;line-height:1.5;letter-spacing:-.03em}.section-intro p{color:#65756b;font-size:18px}.template-filters{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:30px 0}.template-filters button{border:1px solid #dce2d9;border-radius:30px;padding:11px 22px;background:transparent;color:#385448;cursor:pointer}.template-filters button[aria-pressed=true]{background:#244738;color:#fff;border-color:#244738}
.template-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.template-card{border:0;padding:0;background:transparent;text-align:start;cursor:pointer;display:block;min-width:0;color:inherit}.template-mini{height:320px;border-radius:18px;padding:0 24px 28px;overflow:hidden;text-align:center;color:var(--social-primary);transition:transform .2s,box-shadow .2s}.template-card:hover .template-mini{transform:translateY(-5px);box-shadow:0 18px 40px #152d201c}.template-card[aria-pressed=true] .template-mini{outline:3px solid #477df4;outline-offset:4px}.mini-cover{height:60px;background:var(--social-primary);opacity:.12;margin:0 -24px 15px}.mini-avatar{height:50px;width:50px;border-radius:50%;margin:0 auto 8px;background:var(--social-primary);color:white;display:grid;place-items:center;font-weight:700;font-size:22px}.template-mini strong{display:block;font-size:19px}.mini-line{display:block;width:55%;height:4px;background:currentColor;opacity:.2;margin:12px auto 20px}.template-mini i{display:block;height:30px;margin:10px 0;border:1px solid currentColor;border-radius:8px;opacity:.65}.template-caption{display:flex;justify-content:space-between;gap:8px;font-size:16px;font-weight:600;padding:15px 3px}.template-caption small{font-size:12px;font-weight:400;color:#526c5d}
.connection-features{max-width:1136px;margin:20px auto 40px;background:#e9eee4;border-radius:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding:40px}.connection-features article>span{font-size:13px;color:#60826b}.connection-features h3{font-size:21px;line-height:1.5}.connection-features p{color:#5a6f5f;line-height:1.8}.landing-tools .type-card{background:white;border:1px solid #e1e6de;border-radius:14px}.landing .faq{max-width:900px;margin:auto;padding:45px 32px}.final-cta{text-align:center;background:#e4eddf;padding:55px 20px}.final-cta .primary{display:inline-block;margin:15px}.landing footer{max-width:1200px;margin:auto;justify-content:space-between;color:#55705d}
.profile-template-picker{padding:16px;border:1px solid #dbe0e8;border-radius:12px;margin:12px 0 24px}.profile-template-picker>summary{font-weight:700;cursor:pointer;min-height:40px}.profile-template-picker .template-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.profile-template-picker .template-mini{height:230px;padding:0 14px 15px}.profile-template-picker .template-mini i{height:20px}.profile-template-picker .mini-cover{height:24px}.profile-template-picker .template-caption{flex-direction:column;font-size:14px}
/* Themes apply identically to the editor preview and published profiles. */
.social-page[class*=theme-]{border-radius:24px;position:relative;overflow:hidden;padding-top:54px;color:var(--social-primary)}
.social-page[class*=theme-] h1,.social-page[class*=theme-] h2{color:var(--social-primary)}
.social-page[class*=theme-] a{color:var(--social-primary);border-color:currentColor;background:transparent}.social-page[class*=theme-] p{opacity:.85}.social-page.theme-linen a{border-radius:32px;background:#ffffff90;border-color:#d7ddd4}
.theme-aurora{background-image:radial-gradient(at top right,#9760b750,transparent 65%)!important}.theme-aurora .mini-avatar,.theme-slate .mini-avatar,.theme-espresso .mini-avatar{color:#221c2f}.social-page.theme-aurora a{border-radius:30px;background:#ffffff0d;box-shadow:0 6px 24px #c48eff15;border-color:#c7a9ed55}.theme-pop i,.social-page.theme-pop a{border:2px solid #171717;border-radius:0;box-shadow:4px 4px 0 #171717;background:#fff}.social-page.theme-slate a{background:#ffffff0b;border-color:#7790a44d;border-radius:8px}.theme-ivory strong,.social-page.theme-ivory h1,.social-page.theme-ivory h2{font-family:Georgia,'Cairo',serif}.social-page.theme-ivory a{border-width:0 0 1px;border-radius:0;box-shadow:none}.theme-cobalt .mini-cover{opacity:1;height:75px}.social-page.theme-cobalt{border-top:22px solid #2445dc}.social-page.theme-cobalt a{background:white;border-color:#cdd6f6;border-radius:12px}.theme-matcha .mini-avatar{border-radius:45% 55% 60% 40%}.social-page.theme-matcha a{border-radius:20px 4px 20px 4px;background:#ffffff60;border-color:#b5c9b3}.social-page.theme-espresso a{background:#ffffff08;border:1px solid #d7bc9155;border-radius:6px}.theme-supper strong,.social-page.theme-supper h1,.social-page.theme-supper h2{font-family:Georgia,'Cairo',serif;font-weight:400}.social-page.theme-supper a{border-radius:0;border-width:1px 0;box-shadow:none}.theme-rose .mini-cover{border-radius:0 0 50% 50%;height:75px}.social-page.theme-rose a{border-radius:30px;background:#fff8;border-color:#e3b8c9}.theme-mono i,.social-page.theme-mono a{border-radius:0;background:#181818;color:white}.social-page.theme-mono .social-icon{background:white!important;color:#181818}.theme-tangerine .mini-cover{opacity:1;background:repeating-linear-gradient(45deg,#ed8750,#ed8750 12px,#ffc78e 12px,#ffc78e 24px)}.social-page.theme-tangerine a{border-radius:18px;background:#fff8;border:2px solid #e9a46b;box-shadow:0 5px 0 #e9a46b}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.template-mini{transition:none}}
@media(max-width:900px){.new-hero{padding:48px 24px;gap:24px}.template-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-grid .template-mini{height:260px;padding-inline:8px}.connection-features{margin-inline:24px}}
@media(max-width:640px){.new-hero{grid-template-columns:1fr;padding:38px 20px}.new-hero h1{font-size:43px}.new-hero .hero-copy>p{font-size:19px}.hero-ctas .big{min-width:0;font-size:18px;padding:14px 18px;flex:1;text-align:center}.hero-pills{font-size:15px;gap:10px}.showcase-grid{gap:8px}.showcase-grid .template-mini{height:250px;border-width:3px;border-radius:18px}.showcase-grid .mini-avatar{width:36px;height:36px;font-size:18px}.showcase-grid .template-mini strong{font-size:15px}.template-section,.landing-tools{padding:35px 16px}.template-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.template-mini{height:280px;padding:0 16px 20px}.template-caption{font-size:17px;flex-direction:column}.template-caption small{font-size:15px}.template-filters{gap:7px}.template-filters button{padding:9px 15px;font-size:16px}.connection-features{grid-template-columns:1fr;gap:14px;padding:26px;margin:20px 16px}.connection-features p{font-size:18px}.profile-template-picker .template-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.landing footer{font-size:16px}.landing .topbar{padding:12px}.social-page[class*=theme-]{border-radius:16px}}

.template-mini i{font-style:normal;font-size:12px;line-height:28px;white-space:nowrap}.showcase-grid .template-mini i{font-size:11px}
/* Kuwaiti visual identity: Gulf blue, coral, sand and Sadu geometry. */
body:has(.landing){background:#ffdbb7}.topbar:has(+ #view .landing){background:#fffbef}
body:has(.landing) .topbar{position:relative;z-index:2;max-width:calc(100% - 56px);margin:24px auto 0;border:0;border-radius:50px;box-shadow:0 4px 0 #173f4510;background:#fffbef;min-height:82px}
body:has(.landing) .topbar .primary{border-radius:30px;background:#173f45;color:#fff7de}.landing{background:#ffdbb7;color:#173f45}.landing .new-hero{padding-top:58px;min-height:730px;gap:65px}.landing .eyebrow{color:#285c5d;letter-spacing:.03em}.landing .new-hero h1{font-size:clamp(58px,6.3vw,92px);font-weight:800;line-height:1.2;letter-spacing:-.045em}.landing .new-hero h1 em{color:#a73d32}.landing .new-hero .hero-copy>p{font-size:21px;line-height:1.9;color:#294f50}.landing .primary{background:#173f45;border-color:#173f45;color:#fff8e7;border-radius:40px}.landing .hero-ctas .outline{border-radius:40px;border-color:#173f4570;background:transparent}.landing .hero-pills{color:#315957;font-size:14px}.kuwait-showcase{position:relative;min-width:0;aspect-ratio:680/730}.kuwait-art{display:block;width:100%;height:auto}.kuwait-profile{position:absolute;left:39%;top:29%;width:49%;padding:23px 19px 18px;border:5px solid #fff8e9;border-radius:30px;background:#fff9ed;box-shadow:12px 18px 0 #163f4526;transform:rotate(-6deg);text-align:center;transition:transform .25s;color:#173f45}.kuwait-profile:hover{transform:rotate(-2deg) translateY(-5px)}.profile-monogram{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 12px;background:#a83e31;color:#fff6df;border-radius:50%;font-size:34px;font-weight:800}.kuwait-profile strong{display:block;font-size:20px}.kuwait-profile small{display:block;font-size:12px;margin:7px 0 18px}.example-link{display:block;padding:10px 5px;border-radius:20px;background:#d7ebe0;margin:9px 0;font-size:13px;font-weight:600}.example-link:nth-of-type(3){background:#f9d8bc}.profile-caption{display:block;margin-top:14px;font-size:12px;color:#4d6863}.kuwait-sticker{position:absolute;right:-4%;top:8%;background:#fff4b0;border:2px solid #173f45;padding:12px 23px;border-radius:50%;font-size:16px;font-weight:700;transform:rotate(12deg);box-shadow:3px 4px 0 #173f45}.kuwait-spark{position:absolute;left:0;bottom:19%;font-size:95px;color:#a83e31;line-height:1;transform:rotate(15deg)}
.landing .template-section{max-width:none;background:#173f45;color:#fff0d6;padding:70px max(28px,calc((100vw - 1136px)/2)) 80px;position:relative}.landing .template-section:before{content:'';display:block;position:absolute;top:0;left:0;width:100%;height:12px;background:repeating-linear-gradient(45deg,#a83e31 0 9px,#ffdbb7 9px 18px,#173f45 18px 27px)}.landing .template-section .eyebrow,.landing .section-intro p{color:#bfd8ca}.landing .template-section h2{font-weight:800;font-size:clamp(34px,4vw,54px)}.landing .template-filters button{color:#fff0d6;border-color:#78918c;background:transparent}.landing .template-filters button[aria-pressed=true]{background:#ffdbb7;border-color:#ffdbb7;color:#173f45}.landing .template-caption small{color:#c6dcd2}.landing .template-mini{border:4px solid #fff4de;border-radius:25px}.landing .connection-features{background:#edb3bf;color:#513847;border-radius:0;max-width:none;margin:0;padding:60px max(32px,calc((100vw - 1136px)/2));gap:45px}.landing .connection-features p,.landing .connection-features article>span{color:#604653}.landing .connection-features h3{font-size:26px;line-height:1.6}.landing .landing-tools{padding-block:65px}.landing .landing-tools .type-card{background:#fff6e5;border:0;border-radius:20px}.landing .tile-icon{background:#e4eada;color:#173f45}.landing .faq{background:#fff4df;max-width:none;padding:60px max(32px,calc((100vw - 900px)/2))}.landing .final-cta{background:#e9bc54;padding:75px 24px}.landing .final-cta h2{font-size:clamp(34px,4vw,55px);font-weight:800}.landing footer{color:#173f45;padding-block:35px}.theme-linen .mini-cover{opacity:1;background:repeating-linear-gradient(45deg,#a83e31 0 8px,#edc49b 8px 16px,#294d45 16px 24px)}.social-page.theme-linen:before{content:'';position:absolute;inset:0 0 auto;height:16px;background:repeating-linear-gradient(45deg,#a83e31 0 8px,#edc49b 8px 16px,#294d45 16px 24px)}
@media(max-width:900px){.landing .new-hero{gap:24px;padding-inline:28px}.kuwait-profile{padding:18px 12px}.profile-monogram{height:48px;width:48px;font-size:27px}.kuwait-profile strong{font-size:17px}.example-link{padding:7px;font-size:11px}.kuwait-sticker{font-size:13px;padding:9px 15px}}
@media(max-width:640px){body:has(.landing) .topbar{max-width:calc(100% - 24px);border-radius:26px;margin-top:12px;padding:12px 16px;gap:10px}body:has(.landing) .topbar nav{gap:10px;font-size:15px}.landing .new-hero{padding:42px 20px 32px;gap:24px;min-height:0}.landing .new-hero h1{font-size:65px;line-height:1.28;letter-spacing:-.045em}.landing .new-hero .hero-copy>p{font-size:19px;line-height:1.85}.landing .hero-ctas .big{font-size:17px;min-height:58px;flex:1 1 130px}.landing .hero-pills{font-size:14px}.kuwait-showcase{max-width:430px;width:100%;margin:0 auto}.kuwait-sticker{right:0;font-size:14px;top:6%}.kuwait-profile{padding:15px 11px;border-width:3px;border-radius:23px}.profile-caption{font-size:11px}.kuwait-spark{font-size:72px}.landing .template-section{padding:48px 16px}.landing .template-section h2{font-size:36px}.landing .connection-features{margin:0;padding:35px 24px;gap:18px}.landing .connection-features h3{font-size:25px}.landing .faq{padding:38px 20px}.landing .template-caption small{font-size:15px}.landing .final-cta{padding:45px 20px}}
@media(prefers-reduced-motion:reduce){.kuwait-profile{transition:none}}
