/* Premium and account pages of dinesia.app */
.h2s { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; margin: 64px 0 20px; }

/* ----- comparison (what premium is expected to add; no prices or plans yet) */
.cmp { border-radius: 24px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); overflow: hidden; }
.cmp > div { display: grid; grid-template-columns: 1fr 96px 96px; align-items: center; min-height: 52px; padding: 0 20px; border-top: 1px solid var(--outV); }
.cmp > div:first-child { border-top: 0; }
.cmp .cmp-h { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--onv); min-height: 44px; }
.cmp .cmp-h span:not(:first-child), .cmp .y, .cmp .n { text-align: center; justify-self: center; }
.cmp .cmp-g { grid-template-columns: 1fr; background: var(--high); font-weight: 800; min-height: 44px; }
.cmp .cmp-g span { display: flex; align-items: center; gap: 10px; }
.cmp .cmp-g img { width: 24px; height: 24px; border-radius: 7px; }
.cmp .y, .cmp .n { width: 26px; height: 26px; border-radius: 50%; }
.cmp .y { background: var(--pri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAF6EB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 18px no-repeat; }
.cmp .n { background: transparent; box-shadow: inset 0 0 0 1.5px var(--outV); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cmp .y { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241B30' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
}
:root[data-theme="dark"] .cmp .y { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241B30' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
@media (max-width: 559px) { .cmp > div { grid-template-columns: 1fr 64px 72px; padding: 8px 14px; font-size: 15px; } }
.cmp-note { color: var(--onv); font-size: 14px; margin-top: 12px; }

/* ----- steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; padding: 22px; border-radius: 22px; background: var(--high); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hull); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps span { color: var(--onv); font-size: 15px; }
@media (max-width: 799px) { .steps { grid-template-columns: 1fr; } }

/* ----- account: signed out */
.gate { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.gate ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.gate li { display: flex; gap: 12px; color: var(--onv); }
.gate li .ic { color: var(--pri); margin-top: 2px; }
.gate li b { color: var(--on); }
.signin { padding: 28px; border-radius: 28px; background: var(--low); box-shadow: 0 0 0 1px var(--outV), 0 24px 60px rgba(43, 34, 54, .12); }
.signin h2 { font-size: 22px; font-weight: 800; }
.signin p { color: var(--onv); margin: 8px 0 20px; font-size: 15px; }
.signin .small { font-size: 13px; color: var(--onv); margin-top: 16px; display: flex; gap: 8px; }
.signin .small .ic { flex: none; margin-top: 2px; }
@media (max-width: 899px) { .gate { grid-template-columns: 1fr; } }

/* ----- account: signed in */
.me { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--outV); }
.me h1 { font-size: clamp(28px, 4vw, 40px); }
.me .who { flex: 1; min-width: 220px; }
.me .who span { display: block; color: var(--onv); margin-top: 4px; }
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; align-items: start; }
.box { padding: 24px; border-radius: 26px; background: var(--low); box-shadow: 0 0 0 1px var(--outV); scroll-margin-top: 24px; }
.box.wide { grid-column: 1 / -1; }
.box > h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.box > h2 .ic { color: var(--pri); }
.box > p.sub { color: var(--onv); font-size: 15px; margin-bottom: 14px; }
.lst { display: flex; flex-direction: column; }
.lst .it { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--outV); }
.lst .it:first-child { border-top: 0; }
.lst .it img { width: 44px; height: 44px; border-radius: 13px; }
.lst .it > span:not(.av) { flex: 1; min-width: 0; }
.lst .it b { display: block; }
.lst .it small { display: block; color: var(--onv); font-size: 13px; }
.lst .it .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.state { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--act); color: var(--onAct); margin-bottom: 16px; }
.state .ic { width: 28px; height: 28px; }
.state b { display: block; font-size: 17px; }
.state small { display: block; font-size: 14px; opacity: .85; }
.state.free { background: var(--high); color: var(--on); }
.row-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.demo-box { background: transparent; box-shadow: none; border: 1.5px dashed var(--outV); }
@media (max-width: 899px) { .dash { grid-template-columns: 1fr; } }
