/* dinesia.app. Palette taken from the D3 icon: amethyst sky #654F7C, ridges #82709A / #504064,
   sea #AA99C9, sail cream #FAF6EB, hull terracotta #C47959, tiller #614D47. */
:root {
  --bg: #FAF6EB; --on: #2B2236; --onv: #5F536B; --pri: #654F7C; --onPri: #FAF6EB;
  --low: #FFFDF8; --lowest: #FFFFFF; --high: #F2ECE2; --outV: #E2D8CB; --act: #E7DDF0; --onAct: #2A1F37;
  --rail: #EFE8DD; --sheet: #FFFDF8;
  --sky: #654F7C; --ridge: #82709A; --ridge2: #504064; --sea: #AA99C9; --sail: #FAF6EB; --hull: #C47959;
  --night: #241C2E; --onNight: #EDE5F3; --onNightV: #B9AAC8;
  --caudal: #26A69A; --caudal-ink: #00695C; --clepsidra: #A9471F; --clepsidra-ink: #AE5332;
}
/* Dark: the system's, unless the header button chose one (html[data-theme], set before the first paint).
   The same values twice: once for the system, once for the button. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17121D; --on: #EEE7F3; --onv: #B8ABC5; --pri: #C9B8E2; --onPri: #241B30;
    --low: #211A29; --lowest: #1B1522; --high: #2B2335; --outV: #3A3046; --act: #3B2F4D; --onAct: #EDE3F8;
    --rail: #120E17; --sheet: #241C2D; --night: #0F0B13;
    --caudal-ink: #6EB7B0; --clepsidra-ink: #D39072;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17121D; --on: #EEE7F3; --onv: #B8ABC5; --pri: #C9B8E2; --onPri: #241B30;
  --low: #211A29; --lowest: #1B1522; --high: #2B2335; --outV: #3A3046; --act: #3B2F4D; --onAct: #EDE3F8;
  --rail: #120E17; --sheet: #241C2D; --night: #0F0B13;
  --caudal-ink: #6EB7B0; --clepsidra-ink: #D39072;
  color-scheme: dark;
}

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
@media (max-width: 599px) { .wrap { width: calc(100% - 32px); } }

/* ---------- header */
.top { position: relative; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 8px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand small { font-weight: 600; font-size: 13px; color: var(--onv); margin-left: -4px; }
.nav { display: flex; gap: 2px; margin-right: 6px; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 20px; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav a[aria-current="page"] { background: color-mix(in srgb, currentColor 12%, transparent); }
.top .ib { color: inherit; }
.chip-acc { display: inline-flex; }
.chip-acc .btn { min-height: 40px; }
.top.on-sky { position: absolute; inset: 0 0 auto; color: var(--sail); }
.top.on-sky .brand small { color: #D9CCE6; }
.top.on-sky .btn.o { color: var(--sail); box-shadow: inset 0 0 0 1px rgba(250, 246, 235, .45); }
@media (max-width: 719px) {
  .nav { display: none; }
  .top .wrap { height: 64px; }
}
/* «Cuenta · pronto» is wider than «Entrar»: on the narrowest phones the brand drops «Studio» to fit. */
@media (max-width: 379px) { .top .brand small { display: none; } }

/* ---------- home hero: the icon's landscape, widened */
.hero { position: relative; background: var(--sky); color: var(--sail); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding: 136px 0 0; text-align: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #E2D6EE; }
.hero h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin: 18px auto 18px; max-width: 24ch; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hero .btn.p { background: var(--sail); color: #3A2D4A; }
.hero .btn.o { color: var(--sail); box-shadow: inset 0 0 0 1px rgba(250, 246, 235, .5); }
.scene { display: block; width: 100%; height: clamp(220px, 30vw, 380px); margin-top: 24px; }
@media (max-width: 599px) { .hero .wrap { padding-top: 104px; } }
/* The two taglines, in each app's light tone; the line of the app not at work fades (never to grey). */
.hero h1.lemas { max-width: none; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.lemas span { display: block; transition: opacity .6s ease; }
.lemas .l-cau { color: #B9E2DF; }
.lemas .l-cle { color: #F0CDB9; }
.lemas .dim { opacity: .5; }
.chip-app { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 20px 6px 6px; border-radius: 999px; background: var(--sail); color: #3A2D4A; font-weight: 700; text-decoration: none; }
.chip-app img { width: 36px; height: 36px; border-radius: 11px; }
.chip-app:hover { background: #FFFFFF; }

/* ---------- home header, canvas E on E2's sky (owner, 2026-11-20): the taglines and tabs on the left, the
   app at work on the right (its web, and its phone in front playing the scene), in turns (scene.js). */
.hero.e .wrap.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding-top: 112px; text-align: left; }
.hero.e h1.lemas { margin: 18px 0 0; font-size: clamp(40px, 4.4vw, 60px); }
.hero.e .lemas .dim { opacity: .38; }
.turn-tabs { display: flex; align-items: center; gap: 8px; margin-top: 28px; }
.turn-tabs [role="tablist"] { display: flex; gap: 8px; }
.turn-tabs [role="tab"] { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 7px 16px 7px 7px;
  border: 1.5px solid rgba(250, 246, 235, .5); border-radius: 999px; background: transparent; color: var(--sail); font: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.turn-tabs [role="tab"]:hover { background: rgba(250, 246, 235, .1); }
.turn-tabs [role="tab"] img { width: 30px; height: 30px; border-radius: 8px; }
.turn-tabs [aria-selected="true"], .turn-tabs [aria-selected="true"]:hover { background: var(--sail); border-color: var(--sail); color: #3A2D4A; }
.turn-tabs i { position: absolute; left: 44px; right: 16px; bottom: 5px; height: 2px; border-radius: 1px; overflow: hidden; opacity: 0; }
.turn-tabs i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: currentColor; opacity: .5; }
.turn-tabs .run i { opacity: 1; }
.turn-tabs .run i::after { animation: turn-fill var(--d) linear forwards; }
@keyframes turn-fill { to { width: 100%; } }
.turn-tabs .pause { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 4px; padding: 0; border: 1.5px solid rgba(250, 246, 235, .5); border-radius: 50%;
  background: transparent; color: var(--sail); cursor: pointer; }
.turn-tabs .pause:hover { background: rgba(250, 246, 235, .1); }
.turn-tabs .pause .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.turn-tabs .pause .pl, .turn-tabs .pause.off .ps { display: none; }
.turn-tabs .pause.off .pl { display: inline; }
.hero.e .lead { margin-top: 22px; max-width: 30em; font-size: 18px; line-height: 1.55; color: #E2D6EE; }
.hero.e .cta { justify-content: flex-start; margin-top: 26px; }
.hero.e .cta .btn.p.cau { background: #B9E2DF; color: #06312C; }
.hero.e .cta .btn.p.cle { background: #F0CDB9; color: #3A160A; }
.hero.e .cta .btn[hidden] { display: none; }
/* The app at work: a soft panel in its colour, its web, and its phone in front (scaled to 72 %). */
.show { position: relative; height: 600px; --pon: var(--sail); --ponv: #E2D6EE; }
.show .panel { position: absolute; inset: 28px 0 70px 56px; border-radius: 36px; background: rgba(185, 226, 223, .2); transition: background-color .6s ease; }
.show[data-show="ahora"] .panel { background: rgba(240, 205, 185, .2); }
.show .turn { position: absolute; inset: 0; transition: opacity .6s ease, visibility 0s; }
.show:not([data-show="cafe"]) .turn[data-app="cafe"], .show:not([data-show="ahora"]) .turn[data-app="ahora"] { opacity: 0; visibility: hidden; transition-delay: 0s, .6s; }
.show .browser { position: absolute; top: 64px; right: 20px; width: min(600px, 86%); border-radius: 14px; overflow: hidden; background: var(--lowest); box-shadow: 0 28px 70px rgba(20, 10, 30, .35); }
.show .browser img { display: block; width: 100%; height: auto; }
.show .stage { position: absolute; left: 0; top: 150px; width: 216px; height: 463px; }
.show .phone { transform: scale(.72); transform-origin: 0 0; }
.show .stage .res { left: 150px; bottom: 28px; width: 264px; }
@media (max-width: 899px) {
  .hero.e .wrap.hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 104px; text-align: center; }
  .turn-tabs, .hero.e .cta { justify-content: center; }
  .hero.e .lead { margin-inline: auto; }
  .show { height: 660px; }
  .show .panel, .show .browser { display: none; }
  .show .stage { left: 50%; top: 0; width: 280px; height: auto; margin-left: -140px; }
  .show .phone { transform: none; }
  .show .stage .res { left: auto; bottom: auto; width: 272px; }
}
@media (max-width: 420px) { .turn-tabs [role="tab"] { padding-right: 12px; } }

/* ---------- sections */
.sec { padding: 96px 0; }
.sec.tight { padding: 64px 0; }
.sec.alt { background: var(--high); }
.kicker { display: block; font-weight: 800; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--hull); margin-bottom: 12px; }
.sec h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.025em; max-width: 22ch; }
.sec .intro { font-size: 18px; color: var(--onv); max-width: 60ch; margin-top: 14px; }
.center { text-align: center; }
.center h2, .center .intro { margin-inline: auto; }
@media (max-width: 599px) { .sec { padding: 64px 0; } }

/* ---------- app cards */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 44px; }
.app { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 28px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); overflow: hidden; }
.app::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--tone); }
.app.caudal { --tone: var(--caudal); --ink: var(--caudal-ink); }
.app.clepsidra { --tone: var(--clepsidra); --ink: var(--clepsidra-ink); }
.app header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app header img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.app h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.app .tl { font-weight: 700; color: var(--ink); font-size: 15px; margin-top: 2px; }
.app p { color: var(--onv); flex: 1; }
.app .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.app .acts .btn.p { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app .acts .btn.p { color: #10161A; } }
:root[data-theme="dark"] .app .acts .btn.p { color: #10161A; }
.app .meta { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--onv); font-weight: 600; }

/* ---------- games: their own site, apart from the account and premium */
.games { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--outV); }
.games h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.games > p { color: var(--onv); margin-top: 8px; max-width: 60ch; }
.games-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.game { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 20px; border-radius: 24px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); }
.game img { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.game h4 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.game p { color: var(--onv); font-size: 15px; }
.game small { display: block; color: var(--onv); font-size: 13px; font-weight: 600; margin-top: 2px; }
.game .btn { grid-column: 2; justify-self: start; }
@media (max-width: 599px) { .games-list { grid-template-columns: 1fr; } .game .btn { grid-column: 1 / -1; } }

/* ---------- the family: one drop, two coins, three sails */
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.family figure { margin: 0; text-align: center; }
.family img { width: 112px; height: 112px; border-radius: 30px; margin: 0 auto 18px; box-shadow: 0 10px 30px rgba(43, 34, 54, .18); }
.family .n { font-size: 40px; font-weight: 800; color: var(--hull); line-height: 1; letter-spacing: -.03em; }
.family b { display: block; font-size: 19px; margin-top: 8px; }
.family figcaption span { display: block; color: var(--onv); margin-top: 4px; font-size: 15px; max-width: 26ch; margin-inline: auto; }
@media (max-width: 719px) { .family { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- account band */
.acct { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.acct ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.acct li { display: flex; gap: 14px; }
.acct li .dot { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--act); color: var(--onAct); }
.acct li b { display: block; }
.acct li span { color: var(--onv); font-size: 15px; }
.acct .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mini-acc { background: var(--low); border-radius: 28px; padding: 24px; box-shadow: 0 0 0 1px var(--outV), 0 24px 60px rgba(43, 34, 54, .12); }
.mini-acc .who { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--outV); }
.mini-acc .who b { display: block; font-size: 17px; }
.mini-acc .who small { color: var(--onv); }
.mini-acc .row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--outV); }
.mini-acc .row:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-acc .row img { width: 40px; height: 40px; border-radius: 12px; }
.mini-acc .row span { flex: 1; }
.mini-acc .row small { display: block; color: var(--onv); font-size: 13px; }
.mini-acc .prem { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--act); color: var(--onAct); }
.mini-acc .prem .stack { display: flex; }
.mini-acc .prem .stack .av { width: 30px; height: 30px; font-size: 12px; margin-left: -8px; box-shadow: 0 0 0 2px var(--act); }
.mini-acc .prem .stack .av:first-child { margin-left: 0; }
.mini-acc .prem .stack .av.b { background: var(--hull); }
.mini-acc .prem .stack .av.c { background: #2E7D78; }
@media (max-width: 899px) { .acct { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- principles */
.princ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.princ div { padding: 24px; border-radius: 24px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); }
.princ .ic { width: 28px; height: 28px; color: var(--pri); margin-bottom: 14px; }
.princ b { display: block; font-size: 17px; margin-bottom: 6px; }
.princ span { color: var(--onv); font-size: 15px; }
@media (max-width: 899px) { .princ { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 519px) { .princ { grid-template-columns: 1fr; } }

/* ---------- footer */
.foot { background: var(--night); color: var(--onNight); padding: 64px 0 40px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot .brand { color: var(--onNight); }
.foot p { color: var(--onNightV); font-size: 14px; margin-top: 12px; max-width: 30ch; }
.foot h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--onNightV); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--onNight); text-decoration: none; font-size: 15px; }
.foot a:hover { text-decoration: underline; }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(237, 229, 243, .14); color: var(--onNightV); font-size: 13px; }
@media (max-width: 799px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- product pages (dinesia.app/<app>/) */
.prod { --tone: var(--pri); --ink: var(--pri); }
.prod-hero { background: var(--pbg); color: var(--pon); overflow: hidden; }
.prod-hero > .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 72px; }
.prod-hero .id { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.prod-hero .id img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.prod-hero .id b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.prod-hero .id small { display: block; font-size: 14px; color: var(--ponv); font-weight: 600; }
.prod-hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; max-width: 14ch; }
.prod-hero p.sub { font-size: 19px; color: var(--ponv); margin-top: 18px; max-width: 42ch; }
.prod-hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.prod-hero .btn.p { background: var(--pink); color: var(--ponPri); }
.prod-hero .btn.o { color: var(--pon); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pon) 30%, transparent); }
.prod-hero .soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ponv); }
.prod-hero .top { color: var(--pon); }
.prod-hero .top .brand small { color: var(--ponv); }
@media (max-width: 899px) { .prod-hero > .wrap { grid-template-columns: 1fr; padding-bottom: 56px; } }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.feat { padding: 26px; border-radius: 24px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); }
.feat img { width: 48px; height: 48px; margin-bottom: 16px; }
.feat b { display: block; font-size: 18px; margin-bottom: 6px; letter-spacing: -.01em; }
.feat span { color: var(--onv); font-size: 15px; }
.feat .tag { margin-top: 12px; }
@media (max-width: 899px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .feats { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.quote { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.quote small { display: block; font-size: 16px; font-weight: 500; color: var(--onv); margin-top: 14px; letter-spacing: 0; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sw { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 22px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); font-weight: 600; font-size: 14px; }
.sw i { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }

.band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 28px; background: var(--act); color: var(--onAct); }
.band img { width: 56px; height: 56px; border-radius: 16px; }
.band b { display: block; font-size: 20px; letter-spacing: -.01em; }
.band span { color: color-mix(in srgb, var(--onAct) 78%, transparent); }
@media (max-width: 719px) { .band { grid-template-columns: 1fr; } }

.faq { max-width: 760px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--outV); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .15s; color: var(--onv); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--onv); margin-top: 10px; }

/* ---------- phone mock-ups drawn with the apps' own styles (not screenshots) */
.phone {
  width: 300px; height: 643px; margin-inline: auto; border-radius: 42px; padding: 10px; background: #14101A;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28), inset 0 0 0 2px #2C2535;
}
.phone .scr { height: 100%; border-radius: 33px; overflow: hidden; background: var(--m-bg); color: var(--m-on); padding: 34px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
/* 643 / 599 keep the app's 448 × 997 screen (Pixel) once the 10px frame is taken off: 280 × 623, 260 × 579. */
@media (max-width: 899px) { .phone { width: 280px; height: 599px; } }

/* ---------- plain pages (legal, premium, account) */
.page { padding: 24px 0 96px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; max-width: 18ch; }
.page .lead { font-size: 19px; color: var(--onv); margin-top: 14px; max-width: 58ch; }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--onv); }
.prose p + p { margin-top: 10px; }
.pend { background: color-mix(in srgb, var(--hull) 18%, transparent); color: var(--on); padding: 1px 6px; border-radius: 6px; font-weight: 700; font-size: .92em; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--high); color: var(--onv); font-size: 15px; margin-top: 24px; }
.notice .ic { color: var(--pri); margin-top: 2px; }

/* Home header scene: the ridges rise behind the bottom of the app at work. */
.hero.e .scene { position: relative; z-index: 0; margin-top: -200px; }
.hero.e .boats.c { display: none; }
@media (max-width: 899px) {
  .hero.e .scene { margin-top: -150px; }
  .hero.e .boats.c { display: inline; }
  .hero.e .boats.l { display: none; }
}

/* Blocks that rise in on scroll (site.js adds .rv only when it will also add .in). */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- home: «Dos apps, cada una a lo suyo» (canvas E/E2). One band per app in its colour; in dark, the
   night with the app in its tag, link and phone. */
.duo-apps { display: grid; gap: 28px; margin-top: 40px; }
.duo-app { --a-bg: #B9E2DF; --a-on: #0B2E2A; --a-tag: #00695C; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; padding: 0 52px; border-radius: 32px; background: var(--a-bg); color: var(--a-on); overflow: hidden; }
.duo-app.clepsidra { --a-bg: #F0CDB9; --a-on: #3A1F14; --a-tag: #8A3B1F; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.duo-app.clepsidra .txt { order: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .duo-app { --a-bg: var(--low); --a-on: var(--on); --a-tag: #86B5AF; box-shadow: 0 0 0 1px var(--outV); }
  :root:not([data-theme="light"]) .duo-app.clepsidra { --a-tag: #CFA08A; }
}
:root[data-theme="dark"] .duo-app { --a-bg: var(--low); --a-on: var(--on); --a-tag: #86B5AF; box-shadow: 0 0 0 1px var(--outV); }
:root[data-theme="dark"] .duo-app.clepsidra { --a-tag: #CFA08A; }
.duo-app .txt { align-self: center; padding: 52px 0; }
.duo-app header { display: flex; align-items: center; gap: 14px; }
.duo-app header img { width: 52px; height: 52px; border-radius: 14px; }
.duo-app h3 { font-size: 24px; font-weight: 800; }
.duo-app header span { font-size: 15px; font-weight: 700; color: var(--a-tag); }
.duo-app .say { margin-top: 26px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.duo-app .say img { width: 1.05em; height: 1.05em; margin-right: .12em; vertical-align: -.17em; }
.duo-app .say .w { transition: opacity .45s ease; }
.duo-app .say.wait .w { opacity: .22; }
.duo-app .go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.duo-app .go a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 2px solid var(--a-tag); color: inherit; font-size: 17px; font-weight: 800; text-decoration: none; }
.duo-app .go a:hover { color: var(--a-tag); }
.duo-app .go small { font-size: 14px; font-weight: 600; opacity: .8; }
/* The phone, cut by the band's bottom edge, with two notes floating over it. */
.duo-app .art { position: relative; height: 470px; align-self: end; }
.duo-app .ph { position: absolute; left: 50%; bottom: 0; width: 270px; height: 430px; margin-left: -135px; border: 8px solid #17131D; border-bottom: 0; border-radius: 40px 40px 0 0; background: #17131D; overflow: hidden; }
.duo-app .ph .scr { height: 643px; border-radius: 32px 32px 0 0; }
.duo-app .ph .scr.m-caudal { --k: .567; }
.duo-app .cv.sum { opacity: 1; visibility: visible; translate: none; }
.duo-app .note { position: absolute; z-index: 1; min-width: 196px; padding: 14px 18px; border-radius: 18px; background: var(--lowest); color: var(--on); box-shadow: 0 24px 60px rgba(42, 34, 51, .22); animation: bob 6s ease-in-out infinite alternate; }
.duo-app .note.n1 { left: 0; top: 96px; }
.duo-app .note.n2 { right: 0; top: 272px; animation-delay: -3s; }
.duo-app .note small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--onv); }
.duo-app .note b { display: block; margin-top: 6px; font-size: 17px; font-weight: 800; }
.duo-app .note span { display: block; margin-top: 2px; font-size: 14px; color: var(--onv); }
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .duo-app .note { animation: none; } }
@media (max-width: 899px) {
  .duo-app, .duo-app.clepsidra { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 24px; }
  .duo-app.clepsidra .txt { order: 0; }
  .duo-app .txt { padding: 36px 0 28px; }
  .duo-app .art { height: 440px; }
  .duo-app .note.n1 { left: -8px; top: 60px; }
  .duo-app .note.n2 { right: -8px; top: 230px; }
}
.duo-app .say img { display: inline-block; }
.duo-app .ph .scr { position: relative; overflow: hidden; background: var(--m-bg); color: var(--m-on); font-size: 13px; font-variant-numeric: tabular-nums; }
.duo-app .ph .scr.m-clep { display: flex; flex-direction: column; gap: 10px; padding: 34px 14px 14px; }
/* Clepsidra's three pieces under its sentence, and a third note shaped like the phone's notification. */
.duo-app .three { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.duo-app .three li { padding-left: 14px; border-left: 3px solid var(--a-tag); }
.duo-app .three b { display: block; font-weight: 800; }
.duo-app .note.n3 { left: 50%; top: 14px; width: 250px; margin-left: -125px; animation-delay: -1.5s; box-shadow: inset 3px 0 0 #8A2346, 0 24px 60px rgba(42, 34, 51, .22); }
.duo-app .note.n3 small { display: flex; align-items: center; gap: 6px; }
.duo-app .note.n3 small img { width: 14px; height: 14px; border-radius: 4px; }
.duo-app.clepsidra .note.n1 { top: 150px; }
.duo-app.clepsidra .note.n2 { top: 300px; }
@media (max-width: 899px) { .duo-app .note.n3 { top: 4px; } .duo-app.clepsidra .note.n1 { top: 120px; } .duo-app.clepsidra .note.n2 { top: 270px; } }

/* «Una familia», quieter: a strip after the apps, small icons with their count beside them. */
.fam h2 { font-size: clamp(22px, 2.6vw, 28px); }
.fam .intro { font-size: 16px; margin-top: 8px; }
.fam .family { gap: 16px; margin-top: 32px; }
.fam .family figure { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); text-align: left; }
.fam .family img { width: 56px; height: 56px; flex: none; margin: 0; border-radius: 16px; box-shadow: 0 4px 12px rgba(43, 34, 54, .14); }
.fam .family figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.fam .family .n { font-size: 22px; }
.fam .family b { margin: 0; font-size: 16px; }
.fam .family figcaption span:not(.n) { grid-column: 1 / -1; max-width: none; margin: 2px 0 0; font-size: 13px; }
@media (max-width: 719px) { .fam .family { grid-template-columns: 1fr; gap: 10px; } }

/* ----- Polish of the two app bands (owner, 2026-11-20) ----- */
/* «Conocer …»: a pill in the app's colour whose arrow sits in its own circle and slides on hover. */
.duo-app .go a.more { gap: 12px; padding: 6px 6px 6px 22px; border: 0; border-radius: 30px; background: var(--a-on); color: var(--a-bg); font-size: 16px; transition: gap .3s cubic-bezier(.22, 1, .36, 1), background-color .2s; }
.duo-app .go a.more i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--a-bg); color: var(--a-on); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.duo-app .go a.more:hover { gap: 16px; color: var(--a-bg); }
.duo-app .go a.more:hover i { transform: translateX(3px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .duo-app .go a.more { background: var(--a-tag); color: var(--bg); } :root:not([data-theme="light"]) .duo-app .go a.more i { background: var(--bg); color: var(--a-tag); } }
:root[data-theme="dark"] .duo-app .go a.more { background: var(--a-tag); color: var(--bg); }
:root[data-theme="dark"] .duo-app .go a.more i { background: var(--bg); color: var(--a-tag); }
/* «Próximamente» over Google's own badge, untouched (owner, 2026-11-21: the home-made pill looked bad). It is not a
   link until the app is published; then it links to the store listing, as Poliglota's does. */
.gp-soon { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.gp-soon small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: inherit; opacity: .75; }
.gp-soon img { display: block; width: auto; height: 40px; border-radius: 0; box-shadow: none; }

/* Caudal's Reparto: the ring and the same month as bars take turns, as the app's switch does. */
.duo-app .rep .rp { min-height: 336px; }
.duo-app .rep .bars-v { display: none; padding-top: 6px; }
.duo-app .rep.bars .ring-v { display: none; }
.duo-app .rep.bars .bars-v { display: block; animation: rp-in .5s ease; }
.duo-app .rep.b0 .trk i { width: 0; transition: none; }
.duo-app .rep .bar { padding: 8px 0; }
.duo-app .rep.sweep .ring circle:not(.trk0) { animation: ring-in .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.duo-app .rep .ring-v { animation: rp-in .5s ease; }
.duo-app .rep .rail.k span { transition: background-color .3s, color .3s; }
@keyframes rp-in { from { opacity: 0; } }
.duo-app .cv .sv { transition: none; will-change: transform; }
.duo-app [data-noted] { border-radius: 12px; transition: background-color .4s; }
.duo-app [data-noted].lit { background: color-mix(in srgb, var(--m-pri) 14%, transparent); }
/* The notes: an expense with its note, and who has access to a shared space (the app's own words). */
.duo-app .note .memo { display: flex; align-items: center; gap: 6px; }
.duo-app .note .memo img { width: 16px; height: 16px; }
.duo-app .note.share { width: 246px; }
.duo-app .note.share small { display: flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.duo-app .note.share small img { width: 16px; height: 16px; }
.duo-app .note.share ul { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.duo-app .note.share li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; line-height: 1.2; }
.duo-app .note.share li small { display: block; font-size: 12px; font-weight: 500; color: var(--onv); }
.duo-app .note.share .av { display: grid; place-items: center; width: 30px; height: 30px; margin: 0; font-size: 11.5px; color: #fff; flex: none; }
.duo-app .note.share .av.b { background: var(--hull); }
.duo-app .note.share .av.c { background: #2E7D78; }
/* Caudal: who has access up on the right, by the month's total; the expense with its note low on the left. */
.duo-app.caudal .note.n2 { top: 96px; right: -44px; }
.duo-app.caudal .note.n1 { top: 318px; }
@media (max-width: 899px) { .duo-app.caudal .note.n2 { top: 40px; right: -8px; } .duo-app.caudal .note.n1 { top: 300px; } }

/* Clepsidra's three pieces: each with its icon; one is lit at a time, with the note that shows it. */
.duo-app .three { gap: 6px; margin-top: 24px; }
.duo-app .three li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px 10px 10px; border: 0; border-radius: 16px; cursor: default; transition: background-color .4s, box-shadow .4s; }
.duo-app .three li img { width: 30px; height: 30px; flex: none; padding: 5px; border-radius: 10px; background: color-mix(in srgb, var(--a-tag) 14%, transparent); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.duo-app .three li span { opacity: .78; transition: opacity .4s; }
.duo-app .three li.on { background: color-mix(in srgb, var(--a-tag) 9%, transparent); box-shadow: inset 3px 0 0 var(--a-tag); }
.duo-app .three li.on span { opacity: 1; }
.duo-app .three li.on img { transform: scale(1.08); }
.duo-app .three:not(.live) li span { opacity: 1; }
/* The note of the lit piece comes forward; the others dim without turning see-through over the phone. */
.duo-app.clepsidra .note { transition: filter .5s, box-shadow .5s, scale .5s cubic-bezier(.22, 1, .36, 1); }
.duo-app.clepsidra .art.picking .note:not(.on) { filter: brightness(.86) saturate(.55); }
.duo-app.clepsidra .art.picking .note.on { z-index: 2; scale: 1.04; }

/* Games, lightly refined: the links in a row, Poliglota's modes in turn, the official badge where it is published. */
.game { align-items: start; align-content: start; }
.game .links { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.game .links .btn { min-height: 40px; }
.game .gp img { display: block; width: auto; height: 42px; border-radius: 0; box-shadow: none; }
.game .modes { position: relative; height: 1.45em; margin-top: 4px; overflow: hidden; font-size: 13.5px; color: var(--onv); }
.game .modes span { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: opacity .45s, transform .6s cubic-bezier(.22, 1, .36, 1); }
.game .modes span.on { opacity: 1; transform: none; }
.game .modes span.off { transform: translateY(-100%); }
.game .modes b { color: var(--on); font-weight: 700; }
@media (max-width: 599px) { .game .links { grid-column: 1 / -1; } .game .modes span { white-space: normal; } .game .modes { height: 2.9em; } }
@media (prefers-reduced-motion: reduce) { .game .modes span { transition: none; } }

/* «Abrir caudal.dinesia.app» as an address bar: the same frame as the screenshots, with the app's own colour. */
.open-web { display: flex; align-items: center; gap: 12px; max-width: 420px; margin-top: 26px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--lowest); color: var(--on); text-decoration: none; box-shadow: 0 0 0 1px var(--outV), 0 14px 34px rgba(20, 30, 30, .12); transition: box-shadow .3s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.open-web:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--outV), 0 20px 40px rgba(20, 30, 30, .18); }
.open-web .dots { display: flex; gap: 5px; } .open-web .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--outV); }
.open-web .u { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px; font-weight: 600; }
.open-web .u img { width: 22px; height: 22px; border-radius: 6px; }
.open-web .u .ic { width: 14px; height: 14px; color: var(--onv); }
.open-web .go2 { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--pink, var(--pri)); color: var(--ponPri, var(--onPri)); font-weight: 700; font-size: 15px; }
.open-web .go2 .ic { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.open-web:hover .go2 .ic { transform: translateX(3px); }
/* With the longer three pieces the band is taller: the phone grows with it and shows «El día» too. */
@media (min-width: 900px) {
  .duo-app.clepsidra .art { height: 610px; }
  .duo-app.clepsidra .ph { height: 570px; }
  .duo-app.clepsidra .note.n1 { top: 250px; }
  .duo-app.clepsidra .note.n2 { top: 430px; }
}
/* Narrow: the shared space shrinks to its line and the three faces, so the phone stays in sight. */
@media (max-width: 899px) {
  .duo-app .note.share { width: auto; min-width: 0; padding: 12px 14px; }
  .duo-app .note.share > b, .duo-app .note.share li > span:not(.av) { display: none; }
  .duo-app .note.share ul { display: flex; gap: 0; margin-top: 8px; }
  .duo-app .note.share li .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--lowest); }
  .duo-app .note.share li:first-child .av { margin-left: 0; }
}
