/* digiwaku.com: left-aligned, editorial, calm. Accent: Sumi orange, used sparingly. */
.hero{padding:96px 0 88px}               /* no button below the subline: tighter, Products card lands above the fold at 1440x900 */
.hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:80px;align-items:center}
.hero h1{font-size:clamp(38px,5.4vw,64px);letter-spacing:-.04em;line-height:1.04;margin-top:0;max-width:17ch}   /* no eyebrow above it */
.hero .sub{font-size:clamp(16.5px,1.6vw,19px);line-height:1.6;color:var(--mute);max-width:50ch;margin-top:26px;text-wrap:pretty}
/* hero art (direction B): up to 400px wide and 400px tall; --void keeps openings dark in both themes */
.emblem{max-width:400px;width:100%;justify-self:end;--void:var(--ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .emblem{--void:#0b0d0f}}
:root[data-theme=dark] .emblem{--void:#0b0d0f}
.emblem svg{display:block;width:100%;height:auto;max-height:400px;overflow:visible}
/* <=900px: single column, the art sits under the subline at up to 300px (Ayush, 22 Oct: show it on phones) */
@media (max-width:900px){.hero-grid{grid-template-columns:1fr;gap:40px}.emblem{max-width:300px;justify-self:start}}
@media (max-width:640px){.hero{padding:56px 0 48px}}

/* product card (shared parts) */
.product-name{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:600;letter-spacing:-.02em}
.product-name svg.ym{width:38px;height:38px;margin:-2px}
.ym-face,.dm-face{fill:#ffffff}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .ym-face,:root:not([data-theme=light]) .dm-face{fill:#14171a}}
:root[data-theme=dark] .ym-face,:root[data-theme=dark] .dm-face{fill:#14171a}
/* header + brand mark, matched to yakusha.ai (Ayush, 21 Oct): 72px bar, 40px mark, 22px wordmark on desktop;
   64px / 34px / 19px at <=640px. The N1 hex fills the same share of its 200 box as Yakusha's, so the sizes carry over 1:1. */
.site-digiwaku .top .wrap{height:72px}
.brand svg.dm{width:40px;height:40px}
.site-digiwaku .brand span{line-height:1}
.site-digiwaku .brand{font-size:22px;gap:12px}
@media (max-width:640px){.site-digiwaku .top .wrap{height:64px}.brand svg.dm{width:34px;height:34px}.site-digiwaku .brand{font-size:19px;gap:10px}}
@media (min-width:641px){:root{scroll-padding-top:88px}}
.product p{color:var(--mute);font-size:16.5px;line-height:1.65;margin-top:16px;max-width:58ch;text-wrap:pretty}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
@media (max-width:480px){.actions .btn{flex:1 1 100%}}

/* products, about + contact: editorial ledger rows */
.row{padding:56px 0}   /* was 72px; with the row dividers gone, 112px between rows is enough */
.row-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:0;align-items:baseline}
.row h2{padding-left:33.5px;font-size:clamp(24px,2.4vw,28px);letter-spacing:-.025em;display:flex;align-items:center;gap:12px}
.row-body{padding-left:41.5px;max-width:60ch}
.row h2::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--accA);flex:none;transform:translateY(1px)}
.row-body p{font-size:clamp(17px,1.5vw,19px);line-height:1.65;color:var(--ink);text-wrap:pretty}
.row-body p+p{margin-top:16px;color:var(--mute)}
#contact{padding-bottom:112px}
@media (max-width:820px){.row-grid{grid-template-columns:1fr;gap:16px}.row h2,.row-body{padding-left:0}}
@media (max-width:640px){.row{padding:44px 0}#contact{padding-bottom:80px}}
.nw{white-space:nowrap}

/* products: one-entry ledger row, aligned with About / Contact (after .row so the padding override wins) */
.sec-products{padding-top:32px}              /* hero already ends with 120px; Sumi only draws the divider for .sec + .sec */
.sec-products .row-grid{align-items:start}
.sec-products h2.sec-title{padding-top:20px} /* puts the h2 on the card's name row */
.product-list{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.product{display:block;overflow:hidden}
.product-id{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 40px;border-bottom:1px solid var(--line);background:var(--bg)}
.product-id .badge{align-self:center}
.product-body{padding:28px 40px 36px}
.product h3{font-size:clamp(24px,2.4vw,30px);font-weight:600;letter-spacing:-.03em;line-height:1.15;max-width:22ch;margin:0}
@media (max-width:820px){.sec-products h2.sec-title{padding-top:0}.product-id{padding:18px 24px}.product-body{padding:24px 24px 28px}}
@media (max-width:640px){.sec-products{padding-top:16px}}

/* header: logo + wordmark on the left, theme toggle on the right (no section links). Size + edge inset: theme-toggle.css */
.site-digiwaku .top .theme-toggle{margin-left:auto}
/* products card: below 360px the name row cannot hold "Yakusha" and the badge side by side, so the badge wraps under it */
@media (max-width:359px){.product-id{flex-wrap:wrap;row-gap:10px}}

/* no eyebrows on digiwaku.com (Ayush, 22 Oct): the privacy h1 is first in its block, so drop sumi.css's 16px gap above it */
.read h1:first-child{margin-top:0}

/* no dividers between the ledger rows (as yakusha dropped the Features divider): Products had none, About and Contact did.
   Row padding and the orange h2 markers already separate them. */
.sec.row{border-top:0}

/* ---------- theme toggle (header) ----------
   Hidden until the head script marks html.tt (JS available), so no-JS visitors never see a dead button.
   Three states, icon = current setting: monitor (system, no stored key), sun (light), moon (dark).
   Target 40px on desktop, 44px on touch screens and <=820px. The negative right margin puts the 18px glyph
   on the content edge, so the target grows into the gutter instead of taking header width. */
.theme-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;margin-right:-11px;flex:none;padding:0;border:1.5px solid transparent;border-radius:8px;background:none;color:var(--mute);cursor:pointer}
@media (pointer:coarse),(max-width:820px){.theme-toggle{width:44px;height:44px;margin-right:-13px}}
.tt .theme-toggle{display:inline-flex}
@media (hover:hover){.theme-toggle:hover{color:var(--ink);border-color:var(--line)}}   /* no sticky hover box after a tap on phones */
.theme-toggle svg{width:18px;height:18px;display:none}
:root:not([data-theme]) .theme-toggle .sys,:root[data-theme=light] .theme-toggle .sun,:root[data-theme=dark] .theme-toggle .moon{display:block}
/* <=640px (20px gutter): the edge inset puts the button 7px from the screen edge, so sumi.css's -6px focus brackets
   would end 1px from it. Draw the toggle's brackets on its own 44px box instead (Ayush, 22 Oct). */
@media (max-width:640px){.theme-toggle:focus-visible::after{inset:0}}
