@font-face { font-family: "Rozha One"; src: url(fonts/RozhaOne-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Mukta"; src: url(fonts/Mukta-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url(fonts/Mukta-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* Ink, and a block of colour for each product. */
:root {
  --ink: #0b0b0e; --ink-2: #131318; --ink-3: #1c1c23; --white: #fff; --mute: rgba(255, 255, 255, .64); --line: rgba(255, 255, 255, .14);
  --alekh-a: #ffb02e; --alekh-b: #f43f5e; --naksha: #1d4ed8; --naksha-deep: #1e3a8a; --chhaya: #0f766e; --chhaya-deep: #134e4a;
  --ganit-a: #facc15; --ganit: #a16207; --ganit-deep: #713f12; --shabd-a: #fb7185; --shabd: #be123c; --shabd-deep: #881337; --phalak-a: #a78bfa; --phalak: #6d28d9; --phalak-deep: #4c1d95;
  /* The office suite is printed on paper: daylight, ink, ruled lines. */
  --paper: #f6f3ec; --paper-2: #fffdf8; --paper-ink: #17171c; --paper-mute: rgba(23, 23, 28, .66); --paper-line: rgba(23, 23, 28, .14);
  --display: "Rozha One", "Mukta", Georgia, serif; --body: "Mukta", system-ui, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(16px, 4vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 18px/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.deva { font-family: "Mukta", sans-serif; font-style: normal; }
section[id] { scroll-margin-top: 60px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(11, 11, 14, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 24px/1 var(--display); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { display: flex; align-items: center; gap: 7px; text-decoration: none; font-size: 16px; color: var(--mute); transition: color .2s; }
.nav a:hover { color: var(--white); }
.nav a img { border-radius: 4px; }
/* "Creative" and "Office" label the two groups of apps in the header */
html[data-suite="creative"] .nav[data-for="office"], html[data-suite="office"] .nav[data-for="creative"] { display: none; }
@media (max-width: 1080px) { .nav .plain { display: none; } }
@media (max-width: 860px) { .nav { display: none !important; } .top .mini-switch { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: var(--white);
  text-decoration: none; font: 700 16px/1 var(--body); border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.btn.small { padding: 11px 18px; font-size: 15px; }
.btn.light { background: var(--white); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.dl-link { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1.2 var(--body); color: var(--paper-ink); text-decoration: underline; text-decoration-color: var(--paper-line); text-underline-offset: 4px; }
.dl-link:hover { text-decoration-color: currentColor; }
.dl-note { margin: 12px 0 0; font-size: 15px; color: var(--paper-mute); }
.dl-note a, .dl-row a { color: var(--paper-ink); }
.dl-row { margin: 18px 0 0; font-size: 16px; color: var(--paper-mute); text-align: center; }
.btn .tag, .app .tag { margin-left: 4px; padding: 1px 8px; border: 1px solid currentColor; border-radius: 99px; font-size: 12px; opacity: .8; }

/* ---- Sheets: crop marks at the corners and the printer's slug line along the top */
.sheet { position: relative; padding: clamp(72px, 10vw, 140px) var(--pad); }
.sheet > .cm { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2; }
.sheet > .cm::before, .sheet > .cm::after { content: ""; position: absolute; background: currentColor; opacity: .45; }
.sheet > .cm::before { width: 22px; height: 1px; } .sheet > .cm::after { width: 1px; height: 22px; }
.cm.tl { top: 18px; left: calc(var(--pad) / 2); } .cm.tl::before, .cm.tl::after { top: 0; left: 0; }
.cm.tr { top: 18px; right: calc(var(--pad) / 2); } .cm.tr::before, .cm.tr::after { top: 0; right: 0; }
.cm.bl { bottom: 18px; left: calc(var(--pad) / 2); } .cm.bl::before, .cm.bl::after { bottom: 0; left: 0; }
.cm.br { bottom: 18px; right: calc(var(--pad) / 2); } .cm.br::before, .cm.br::after { bottom: 0; right: 0; }
.slug { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(28px, 4vw, 56px); font: 500 11px/1 var(--mono); letter-spacing: .14em; opacity: .7; white-space: nowrap; overflow: hidden; }
.reg-mark { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.reg-mark::before, .reg-mark::after { content: ""; position: absolute; background: currentColor; }
.reg-mark::before { left: -4px; right: -4px; top: 50%; height: 1px; } .reg-mark::after { top: -4px; bottom: -4px; left: 50%; width: 1px; }
.bars { display: inline-flex; margin-left: auto; }
.bars i { width: 14px; height: 10px; } .bars .c { background: #00aeef; } .bars .m { background: #ec008c; } .bars .y { background: #ffe600; } .bars .k { background: #000; outline: 1px solid var(--line); }

/* ---- The press: the headline in plates of light that come into register */
.press { position: relative; margin: 0; font: 400 clamp(60px, 9.4vw, 150px)/.9 var(--display); letter-spacing: -.02em; }
.press .plate { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; will-change: transform; }
.press.inked { color: transparent; }
.press.inked .p1 { color: #ff2a55; } .press.inked .p2 { color: #22e06b; } .press.inked .p3 { color: #3b6dff; }
.press.small { font-size: clamp(56px, 9vw, 140px); }

/* ---- Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px; overflow: hidden; }
.hero-art { position: absolute; inset: 0; margin: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 4%, rgba(11, 11, 14, .78) 32%, rgba(11, 11, 14, 0) 64%), linear-gradient(0deg, var(--ink) 0%, rgba(11, 11, 14, 0) 34%); }
.hero-in { position: relative; z-index: 1; max-width: 900px; }
.lede { margin: clamp(24px, 3vw, 36px) 0 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 34ch; color: rgba(255, 255, 255, .86); }
.lede.deva { margin-top: 10px; color: var(--mute); }
.art-credit { margin: 26px 0 0; padding-left: 14px; border-left: 2px solid #f43f5e; max-width: 46ch; font: 500 12px/1.6 var(--mono); color: var(--mute); }
@media (max-width: 900px) { .hero-art::after { background: linear-gradient(0deg, var(--ink) 18%, rgba(11, 11, 14, .55) 60%, rgba(11, 11, 14, .25)); } }
.trio { position: relative; z-index: 1; list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { height: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s, background .25s; }
.card img { border-radius: 12px; flex: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1.3); }
.card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }
.card:hover img { transform: rotate(-6deg) scale(1.06); }
.card span { font-size: 15px; color: var(--mute); line-height: 1.35; }
.card b { display: block; font: 400 22px/1.2 var(--display); color: var(--white); }
.card i { color: var(--mute); margin-right: 6px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---- Product blocks */
.block { overflow: hidden; }
.block.alekh { background: linear-gradient(140deg, var(--alekh-a) 0%, #fb7a3c 38%, var(--alekh-b) 100%); color: var(--ink); }
.block.naksha { background-color: var(--naksha); color: var(--white);
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px; }
.block.chhaya { background: radial-gradient(120% 90% at 85% 0%, #14b8a6 0%, var(--chhaya) 45%, var(--chhaya-deep) 100%); color: var(--white); }
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }
.kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; font: 700 18px/1 var(--body); letter-spacing: .02em; }
/* The product icon on an ink plate, so it stands out from a background of its own colour. */
.kicker img, .app img { box-sizing: content-box; padding: 8px; background: var(--ink); border-radius: 22px; box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .12); }
.kicker .deva { font-weight: 400; opacity: .7; }
.block h2 { margin: 0; font: 400 clamp(46px, 6.4vw, 104px)/.98 var(--display); letter-spacing: -.015em; }
.intro p { margin: 0 0 22px; font-size: 19px; max-width: 44ch; opacity: .9; }
.points { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.points li { padding: 10px 0 10px 26px; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); position: relative; font-size: 17px; }
.points li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
kbd { font: 500 14px/1 var(--mono); padding: 3px 7px; border: 1px solid currentColor; border-bottom-width: 2px; border-radius: 5px; opacity: .9; }
.block.naksha .btn, .block.chhaya .btn { background: var(--white); color: var(--ink); }

/* Screenshots in a window frame */
.window { margin: 0; border-radius: 14px; overflow: hidden; background: #1d1f24; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .25); }
.window .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #2a2d33; font: 500 12px/1 var(--body); color: rgba(255, 255, 255, .6); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .window .bar i:nth-child(2) { background: #febc2e; } .window .bar i:nth-child(3) { background: #28c840; }
.window .bar span { margin: 0 auto; padding-right: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window img { width: 100%; }

.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: start; }
.pair .lift { margin: clamp(48px, 9vw, 140px) 0 0 -14%; position: relative; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } .pair .lift { margin: 16px 0 0; } }
.note { margin: 22px 0 0; font-size: 15px; opacity: .75; }

/* Chhaya: before and after (drag the divider), and one photo in several looks */
.compare { --at: 50%; position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55); background: #0a1a19; }
.compare > img, .compare .before img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--at)) 0 0); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--at); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare .tag-b, .compare .tag-a { position: absolute; top: 14px; padding: 5px 11px; border-radius: 99px; background: rgba(11, 11, 14, .7); font-size: 13px; pointer-events: none; backdrop-filter: blur(6px); }
.compare .tag-b { left: 14px; } .compare .tag-a { right: 14px; }
/* Before/after side by side: each keeps its photo's shape, both the same height, never taller than the screen */
.jrow { display: flex; gap: 16px; max-width: calc(var(--sum) * (100svh - 140px)); margin-inline: auto; }
.jrow > * { flex: var(--ar) 1 0; aspect-ratio: var(--ar); min-width: 0; }
/* One photo in five looks, as a strip */
.looks { margin: clamp(28px, 4vw, 48px) 0 0; }
.looks figcaption { margin-bottom: 14px; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--display); }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: calc(5 * (100svh - 200px) * 877 / 1400 + 48px); margin-inline: auto; }
.strip li { margin: 0; }
.strip img { width: 100%; height: auto; aspect-ratio: 877 / 1400; border-radius: 12px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); }
.strip span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.3; opacity: .9; }
@media (max-width: 760px) {
  .jrow { flex-direction: column; } .jrow > * { flex: none; }
  .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .strip li { scroll-snap-align: start; }
}

/* ---- Paper: the office suite's sheets. Punched holes in the margin instead of crop marks. */
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.paper > .hole { position: absolute; left: calc(var(--pad) / 2 - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .8); z-index: 2; pointer-events: none; }
.paper > .hole.h1 { top: calc(50% - 60px); } .paper > .hole.h2 { top: calc(50% + 44px); }
@media (max-width: 760px) { .paper > .hole { display: none; } }
.paper .kicker img, .paper .app img { background: var(--paper-ink); }
.pilcrow { font: 400 16px/1 var(--display); color: var(--shabd); }
.paper code { font: 500 .88em/1 var(--mono); padding: 2px 6px; border-radius: 5px; background: rgba(23, 23, 28, .07); }
.paper .window { box-shadow: 0 40px 80px -30px rgba(40, 30, 10, .4), 0 0 0 1px rgba(0, 0, 0, .12); }

/* The office headline is typed out, letter by letter, with a caret */
.typed { margin: 0; font: 400 clamp(60px, 9.4vw, 150px)/.9 var(--display); letter-spacing: -.02em; color: var(--paper-ink); }
.typed.small { font-size: clamp(56px, 9vw, 140px); }
.typed .ch { opacity: 0; }
.typed .ch.on { opacity: 1; }
.typed .caret { display: inline-block; width: .06em; height: .78em; margin-left: .03em; vertical-align: -.02em; background: var(--shabd); animation: blink 1.05s steps(1) infinite; }
.typed .ch.dot.on { color: var(--ganit); }
.typed .w2 .ch.dot.on { color: var(--shabd); }
.typed .w3 .ch.dot.on { color: var(--phalak); }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typed .caret { animation: none; } }

/* Amount in words, on a bill slip */
.desk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 7vw, 96px); }
@media (max-width: 960px) { .desk { grid-template-columns: minmax(0, 1fr); } }
.slip { margin: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: 6px; background: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, rgba(161, 98, 7, .045) 0 2px, transparent 2px 9px);
  border: 1px solid rgba(161, 98, 7, .35); box-shadow: 0 30px 60px -30px rgba(40, 30, 10, .35), inset 0 0 0 6px var(--paper-2), inset 0 0 0 7px rgba(161, 98, 7, .25); transform: rotate(-.6deg); }
.slip-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.slip-top label { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute); }
.slip-langs { display: flex; margin-left: auto; border: 1px solid var(--paper-line); border-radius: 999px; padding: 3px; background: #fff; }
.slip-langs button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font: 500 14px/1 var(--body); color: var(--paper-mute); cursor: pointer; }
.slip-langs button[aria-pressed="true"] { background: var(--ganit); color: #fff; }
.slip-langs button:focus-visible, .slip-amount input:focus-visible { outline: 2px solid var(--shabd); outline-offset: 2px; }
.slip-amount { display: flex; align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--paper-ink); }
.slip-amount span { font: 400 clamp(30px, 3vw, 42px)/1 var(--display); color: var(--ganit); }
.slip-amount input { flex: 1; width: 100%; min-width: 0; border: 0; background: none; padding: 4px 0; font: 400 clamp(34px, 3.6vw, 52px)/1.1 var(--display); color: var(--paper-ink); }
.slip-fig { margin: 14px 0 4px; font: 500 15px/1.4 var(--mono); color: var(--paper-mute); }
.slip-words { margin: 0; min-height: 3.2em; padding: 6px 0 8px; font: 400 clamp(20px, 1.8vw, 26px)/1.45 var(--display);
  background-image: repeating-linear-gradient(transparent 0 calc(1.45em - 1px), var(--paper-line) calc(1.45em - 1px) 1.45em); background-position: 0 6px; }
.slip figcaption { margin-top: 14px; font-size: 14px; color: var(--paper-mute); }
.office-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-line); }
.office-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.office-facts li { padding: 18px 0 20px; border-bottom: 1px solid var(--paper-line); }
.office-facts b { font: 400 24px/1.15 var(--display); }
.office-facts p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--paper-mute); }
@media (max-width: 560px) { .office-facts { grid-template-columns: 1fr; } }

/* Ganit on ledger paper (a fine gold grid); Shabd on ruled writing paper; Phalak on a dotted board */
.block.ganit { background-color: #f6f0dc;
  background-image: linear-gradient(rgba(161, 98, 7, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(161, 98, 7, .11) 1px, transparent 1px);
  background-size: 96px 28px; background-position: -1px -1px; }
.block.shabd { background-color: #fbf5f1;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(190, 18, 60, .08) 31px 32px); }
.block.phalak { background-color: #f6f3fb;
  background-image: radial-gradient(rgba(109, 40, 217, .16) 1.3px, transparent 1.6px); background-size: 28px 28px; }
.block.ganit h2 em, .block.shabd h2 em, .block.phalak h2 em { font-style: normal; }
.block.ganit .btn { background: var(--ganit); color: #fff; }
.block.shabd .btn { background: var(--shabd); color: #fff; }
.block.phalak .btn { background: var(--phalak); color: #fff; }
.block.ganit .points li::before { background: var(--ganit); }
.block.shabd .points li::before { background: var(--shabd); }
.block.phalak .points li::before { background: var(--phalak); }
.paper .note { opacity: .8; }

/* ---- Made in Kraftoz */
.work { background: var(--ink); }
.big { margin: 0; font: 400 clamp(56px, 9vw, 150px)/.9 var(--display); letter-spacing: -.02em; }
.sub { margin: 18px 0 clamp(36px, 5vw, 64px); max-width: 46ch; color: var(--mute); font-size: 19px; }
.mosaic { display: grid; gap: 14px; }
.mosaic .row { display: flex; gap: 14px; max-width: calc(var(--sum, 99) * (100svh - 140px) + 14px); margin-inline: auto; width: 100%; }
.mosaic figure { flex: var(--ar) 1 0; aspect-ratio: var(--ar); min-width: 0; }
.mosaic figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--ink-3); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(11, 11, 14, .72); color: #fff; font-size: 13px; backdrop-filter: blur(6px); }
.mosaic figure:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .mosaic .row { flex-direction: column; } .mosaic figure { flex: none; } }

/* ---- Engine */
.engine { background: var(--ink-2); }
.statement { margin: 0 0 clamp(40px, 6vw, 80px); font: 400 clamp(40px, 5.6vw, 88px)/1.02 var(--display); max-width: 22ch; }
.statement em { font-style: normal; color: var(--mute); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 24px 24px 0 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { font: 400 24px/1.15 var(--display); }
.facts p { margin: 10px 0 0; font-size: 16px; color: var(--mute); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; padding-left: 0; } .facts div { padding-bottom: 24px; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* ---- Start */
.start-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.start-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 22px; text-decoration: none; color: var(--white); overflow: hidden; transition: transform .25s; }
.app.alekh { background: linear-gradient(140deg, var(--alekh-a), var(--alekh-b)); color: var(--ink); }
.app.naksha { background: var(--naksha); } .app.chhaya { background: var(--chhaya); }
.app.ganit { background: linear-gradient(140deg, #ca8a04, var(--ganit-deep)); } .app.shabd { background: linear-gradient(140deg, #e11d48, var(--shabd-deep)); } .app.phalak { background: linear-gradient(140deg, #7c3aed, var(--phalak-deep)); }
.app img { width: 52px; height: 52px; padding: 7px; border-radius: 18px; }
.app b { display: block; font: 400 28px/1.05 var(--display); }
.app span { font-size: 15px; opacity: .85; }
.app > i { margin-left: auto; font-style: normal; font-size: 24px; transition: transform .25s; }
.app:hover { transform: translateY(-4px); } .app:hover > i { transform: translateX(5px); }
@media (max-width: 760px) { .start-row, .start-row.two { grid-template-columns: minmax(0, 1fr); } }

/* ---- "Also from Kraftoz": the other suite */
.cross { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--mute); font-size: 15px; transition: background .2s, transform .2s; }
.cross img { border-radius: 8px; margin-right: -4px; }
.cross span { margin-left: 8px; } .cross b { color: var(--white); font-weight: 700; }
.cross i { font-style: normal; transition: transform .2s; }
.cross:hover { background: rgba(255, 255, 255, .07); } .cross:hover i { transform: translateX(4px); }
@media (max-width: 560px) { .cross { display: flex; align-items: center; border-radius: 16px; padding: 12px 14px; font-size: 14px; } .cross img { width: 22px; height: 22px; } .cross span { margin-left: 6px; } }
.paper .cross { border-color: var(--paper-line); color: var(--paper-mute); background: var(--paper-2); }
.paper .cross b { color: var(--paper-ink); } .paper .cross:hover { background: #fff; }

/* ---- The two suites: one page each. The switch shows one and hides the other. */
html[data-suite="office"] #page-creative { display: none; }
html[data-suite="office"] #page-office { display: block; }
html[data-suite="office"] body { background: var(--paper); color: var(--paper-ink); }

/* The switch in each hero: a segmented control with a sliding thumb */
.suite-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 0 0 clamp(26px, 3.4vw, 44px); padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.suite-switch::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
html[data-suite="office"] .suite-switch::before { transform: translateX(100%); background: var(--paper-ink); }
.suite-switch button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 24px 10px 20px; border: 0; background: none; border-radius: 999px;
  color: var(--mute); font: 700 16px/1 var(--body); cursor: pointer; text-align: left; transition: color .3s; }
.suite-switch button small { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.suite-switch button[aria-selected="true"] { color: var(--ink); }
.suite-switch button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.paper .suite-switch { background: var(--paper-2); border-color: var(--paper-line); box-shadow: 0 10px 30px -18px rgba(40, 30, 10, .4); }
.paper .suite-switch button { color: var(--paper-mute); }
.paper .suite-switch button[aria-selected="true"] { color: var(--paper); }
@media (max-width: 420px) { .suite-switch button { padding: 9px 14px; font-size: 15px; } .suite-switch button small { display: none; } }

/* The small switch in the header, once the hero has scrolled away (and always on phones) */
.mini-switch { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: opacity .3s; }
.top.solid .mini-switch { opacity: 1; pointer-events: auto; }
.mini-switch button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font: 600 13px/1 var(--body); color: var(--mute); cursor: pointer; }
html[data-suite="creative"] .mini-switch [data-suite="creative"], html[data-suite="office"] .mini-switch [data-suite="office"] { background: var(--white); color: var(--ink); }
@media (max-width: 560px) { .top .btn { display: none; } }

/* The header over paper */
html[data-suite="office"] .top { color: var(--paper-ink); }
html[data-suite="office"] .top.solid { background: rgba(246, 243, 236, .86); border-color: var(--paper-line); }
html[data-suite="office"] .nav a { color: var(--paper-mute); } html[data-suite="office"] .nav a:hover { color: var(--paper-ink); }
html[data-suite="office"] .top .btn.light { background: var(--paper-ink); color: var(--paper); }
html[data-suite="office"] .mini-switch { border-color: var(--paper-line); }
html[data-suite="office"] .mini-switch button { color: var(--paper-mute); }
html[data-suite="office"] .mini-switch [data-suite="office"] { background: var(--paper-ink); color: var(--paper); }

/* ---- The office hero: a register page (ruled lines, a red margin rule), the apps' pages laid on it */
.office-hero { justify-content: center; padding-top: 120px; background-color: var(--paper);
  background-image: linear-gradient(90deg, transparent calc(var(--pad) - 14px), rgba(190, 18, 60, .32) calc(var(--pad) - 14px), rgba(190, 18, 60, .32) calc(var(--pad) - 13px), transparent calc(var(--pad) - 13px)),
    repeating-linear-gradient(transparent 0 35px, rgba(29, 78, 216, .085) 35px 36px); }
.office-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.office-hero .lede { color: var(--paper-ink); opacity: .82; max-width: 38ch; }
.office-art { position: relative; aspect-ratio: 1.25; }
.office-art .window { position: absolute; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
/* Three sheets fanned on the desk: Ganit at the back, Shabd, then Phalak in front */
.office-art .paper-a { top: 0; right: 0; width: 86%; transform: rotate(1.6deg); }
.office-art .paper-c { right: 0; bottom: 4%; width: 52%; transform: rotate(2.6deg); }
.office-art .paper-b { left: 0; bottom: 0; width: 58%; transform: rotate(-2.4deg); }
.office-art:hover .paper-a { transform: rotate(.6deg) translate(8px, -10px); } .office-art:hover .paper-c { transform: rotate(1.4deg) translate(10px, 8px); } .office-art:hover .paper-b { transform: rotate(-1.2deg) translate(-8px, 6px); }
.office-art .bar { pointer-events: none; }
.trio.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: calc((100% - 24px) * 2 / 3 + 12px); }
.paper .card { background: var(--paper-2); border-color: var(--paper-line); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 14px 30px -24px rgba(40, 30, 10, .5); }
.paper .card:hover { background: #fff; }
.paper .card b { color: var(--paper-ink); } .paper .card span, .paper .card i { color: var(--paper-mute); }
@media (max-width: 960px) { .office-hero-in { grid-template-columns: minmax(0, 1fr); } .office-art { max-width: 640px; } .trio.duo { max-width: none; } }
@media (max-width: 860px) { .trio.duo { grid-template-columns: 1fr; } }

/* Made for the Indian office: ruled register paper */
.register { background-color: var(--paper); background-image: repeating-linear-gradient(transparent 0 35px, rgba(29, 78, 216, .085) 35px 36px); }
.paper .sub { color: var(--paper-mute); }
.register .desk { margin-top: clamp(24px, 4vw, 48px); }

/* Templates: index cards, a column for each app */
.templates { background: var(--paper-2); }
.tpl-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 1100px) { .tpl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tpl-cols { grid-template-columns: minmax(0, 1fr); } }
.tpl-app { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 400 26px/1 var(--display); }
.tpl-app img { padding: 5px; border-radius: 14px; background: var(--paper-ink); }
.tpl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .tpl-list { grid-template-columns: minmax(0, 1fr); } }
.tpl-list li { padding: 16px 16px 18px; border-radius: 6px; background: var(--paper); border: 1px solid var(--paper-line); border-top: 4px solid var(--ganit);
  box-shadow: 0 12px 24px -20px rgba(40, 30, 10, .5); transition: transform .25s; }
.tpl-col.shabd .tpl-list li { border-top-color: var(--shabd); }
.tpl-col.phalak .tpl-list li { border-top-color: var(--phalak); }
.tpl-list li:hover { transform: translateY(-3px) rotate(-.4deg); }
.tpl-list b { display: block; font: 400 20px/1.2 var(--display); }
.tpl-list b[lang="hi"] { font: 700 19px/1.3 var(--body); }
.tpl-list span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--paper-mute); }

.office-start { background: var(--paper); }

/* ---- The page turn: a sheet of the next suite's colour wipes across */
.wipe { position: fixed; inset: 0; z-index: 50; pointer-events: none; transform: translateY(101%); background: var(--paper); }
.wipe.to-creative { background: var(--ink); }
.wipe.cover { transform: none; transition: transform .38s cubic-bezier(.7, 0, .3, 1); }
.wipe.uncover { transform: translateY(-101%); transition: transform .42s cubic-bezier(.7, 0, .3, 1); }

/* ---- Footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 40px var(--pad) 48px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 400 22px/1 var(--display); }
.foot-brand .deva { font: 400 16px/1 var(--body); color: var(--mute); }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-left: auto; }
.foot-group { display: flex; align-items: center; gap: 16px; }
.foot-group b { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.foot nav a { text-decoration: none; color: var(--mute); font-size: 15px; }
.foot nav a:hover { color: var(--white); }
.fine { width: 100%; margin: 0; font-size: 13px; color: var(--mute); }
.fine a { color: inherit; }

/* Rising into place */
.rise { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }
html[data-suite="office"] .foot { border-color: var(--paper-line); }
html[data-suite="office"] .foot nav a, html[data-suite="office"] .fine { color: var(--paper-mute); }
html[data-suite="office"] .foot nav a:hover { color: var(--paper-ink); }
html[data-suite="office"] .foot-group b { color: rgba(23, 23, 28, .4); }
