:root { --bg:#fbfaf7; --fg:#1b1b1b; --muted:#555; --link:#0b4f8a; --line:#d8d4cb; --card:#ffffff; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --bg:#2a2825; --fg:#eeeeee; --muted:#b5b5b5; --link:#8ab4f8; --line:#4d4a46; --card:#353230; } }
:root[data-theme='dark'] { --bg:#2a2825; --fg:#eeeeee; --muted:#b5b5b5; --link:#8ab4f8; --line:#4d4a46; --card:#353230; color-scheme: dark; }
:root[data-theme='light'] { color-scheme: light; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--fg); font:18px/1.6 system-ui, sans-serif; }
a { color:var(--link); }
a:focus-visible, select:focus-visible { outline:3px solid #f90; outline-offset:2px; }
header, main, footer { max-width:46rem; margin:0 auto; padding:16px; }
header { display:flex; justify-content:flex-start; }
header a:focus-visible { outline:3px solid #f90; outline-offset:2px; }
.nav-icon { width:1.15em; height:1.15em; vertical-align:-0.2em; margin-inline-end:0.35em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
select { font:inherit; padding:4px 8px; background:var(--card); color:var(--fg); border:1px solid var(--line); border-radius:6px; }
h1 { font-size:2.2rem; margin:0.5rem 0; }
h2, h3 { font-size:1.35rem; margin:2rem 0 0.5rem; }
.lead { font-size:1.2rem; color:var(--muted); }
ul.cards { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:12px; }
ul.cards li { flex:1 1 14rem; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:12px 14px; } /* the cards of a last row that is not full stretch to fill it */
ul.cards a { font-weight:600; }
ul.cards p { margin:4px 0 0; color:var(--muted); font-size:0.95rem; }
/* Social links: a row of round icon links, like the public pages of direct.bio. Each link has its name as hidden text. */
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
ul.socials { list-style:none; margin:0.6rem 0 0; padding:0; display:flex; flex-wrap:wrap; gap:0.65rem; }
a.social { display:inline-flex; align-items:center; justify-content:center; width:2.9rem; height:2.9rem; border:2px solid var(--link); border-radius:50%; background:var(--card); color:var(--link); text-decoration:none; transition:transform 0.12s; }
a.social:hover { transform:translateY(-2px); }
a.social:focus-visible { outline:3px solid #f90; outline-offset:2px; }
footer { color:var(--muted); font-size:0.95rem; border-top:1px solid var(--line); margin-top:2rem; }
/* The footer line, like the for-sale pages: the Theme list, then the copyright. Plain inline, so it stays one line of text for a screen reader. */
.footline { margin:0; }
.theme { display:inline; }
.theme-ic { display:inline-block; vertical-align:middle; margin-inline-end:8px; width:22px; height:22px; color:var(--muted); fill:none; stroke:currentColor; stroke-width:2; }
.theme select { vertical-align:middle; min-height:44px; padding:6px 12px; font-weight:600; border-radius:10px; }
.sep { white-space:pre-wrap; }
footer a:focus-visible { outline:3px solid #f90; outline-offset:2px; }

/* The for-sale page: the sale questions and the search of the domains. */
section + section { margin-top:1.5rem; }
details.qa { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:8px 14px; margin:8px 0; }
details.qa summary { cursor:pointer; font-weight:600; }
details.qa summary:focus-visible { outline:3px solid #f90; outline-offset:2px; }
details.qa p { margin:8px 0 4px; }
.searchWrapper { display:flex; gap:8px; margin-top:0.6rem; }
.searchInput { flex:1; min-width:0; min-height:44px; font:inherit; padding:6px 12px; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); }
.searchInput:focus-visible, .clearButton:focus-visible { outline:3px solid #f90; outline-offset:2px; }
.clearButton { min-width:44px; min-height:44px; font:inherit; font-size:1.3rem; line-height:1; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); cursor:pointer; }
ul.domainlist { list-style:none; margin:12px 0; padding:0; display:grid; gap:8px; }
ul.domainlist li { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:10px 14px; overflow-wrap:anywhere; }
ul.domainlist a { font-weight:600; }
.copy { white-space:nowrap; }
@media (max-width:480px) { .footline { font-size:.8125rem; } .theme-ic { width:18px; height:18px; margin-inline-end:6px; } .theme select { padding:4px 8px; font-size:.8125rem; } }




/* ===== HOME DESIGN BEGIN (2026-11-18) ===== */
:root { --h-bg1:#e6f6f3; --h-bg2:#d3ece8; --h-bg3:#e4f0fb; --h-glow:rgba(13,148,136,.28); --h-ink:#0b2b29; --h-accent:#0f766e; --tile:#ffffff; --tile-line:#d6e3e0; --shadow:0 1px 2px rgba(0,40,40,.07),0 8px 22px rgba(0,40,40,.07); --shadow-up:0 3px 6px rgba(0,40,40,.09),0 16px 34px rgba(0,40,40,.14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --h-bg1:#24433f; --h-bg2:#2a3b3d; --h-bg3:#2b3a52; --h-glow:rgba(45,212,191,.22); --h-ink:#e8fbf8; --h-accent:#5eead4; --tile:#353230; --tile-line:#4d4a46; --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 22px rgba(0,0,0,.35); --shadow-up:0 3px 6px rgba(0,0,0,.5),0 16px 34px rgba(0,0,0,.5); } }
:root[data-theme='dark'] { --h-bg1:#24433f; --h-bg2:#2a3b3d; --h-bg3:#2b3a52; --h-glow:rgba(45,212,191,.22); --h-ink:#e8fbf8; --h-accent:#5eead4; --tile:#353230; --tile-line:#4d4a46; --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 22px rgba(0,0,0,.35); --shadow-up:0 3px 6px rgba(0,0,0,.5),0 16px 34px rgba(0,0,0,.5); }

main.home h2 { font-size: clamp(1.45rem, 4vw, 1.85rem); letter-spacing: -0.02em; margin: 2.4rem 0 0.2rem; }
main.home h3 { font-size: 1.02rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; margin: 1.5rem 0 0; }
main.home h2::before { content: ''; display: block; width: 2.2rem; height: 4px; border-radius: 4px; margin-bottom: 0.55rem; background: linear-gradient(90deg, var(--h-accent), transparent); }

.hero { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(1.4rem, 5vw, 2.8rem); margin: 0.6rem 0 0.4rem; color: var(--h-ink); border: 1px solid var(--tile-line);
background: radial-gradient(120% 140% at 0% 0%, var(--h-bg1), transparent 62%), radial-gradient(110% 130% at 100% 100%, var(--h-bg3), transparent 58%), var(--h-bg2); }
.hero::after { content: ''; position: absolute; inset-inline-end: -18%; bottom: -55%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--h-glow), transparent 66%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1; letter-spacing: -0.035em; margin: 0.3rem 0 0.5rem; }
.hero .lead { color: var(--h-ink); opacity: 0.9; font-size: clamp(1.05rem, 2.7vw, 1.3rem); max-width: 36rem; margin: 0; }
.hero .lead.second { margin-top: 0.8rem; opacity: 0.78; font-size: clamp(1rem, 2.4vw, 1.15rem); }
.hero .logo { width: clamp(4.6rem, 17vw, 6.8rem); height: auto; display: block; filter: drop-shadow(0 8px 16px rgba(120, 40, 0, 0.28)); }
.hero .logo.os-logo { width: clamp(4.2rem, 15vw, 5.6rem); height: auto; aspect-ratio: 1; border-radius: 22%; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32)); margin-bottom: 0.1rem; }
ul.tiles .ic img.logo-mini { width: 100%; height: 100%; border-radius: 16px; display: block; }
/* the OS logo: a light tile in light mode, a mid slate tile in dark mode (the old dark tile hid the navy parts of the letters) */
img.os-for-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) img.os-for-light { display: none !important; } :root:not([data-theme='light']) img.os-for-dark { display: block !important; } }
:root[data-theme='dark'] img.os-for-light { display: none !important; }
:root[data-theme='dark'] img.os-for-dark { display: block !important; }
.personal .hero .logo { filter: drop-shadow(0 8px 16px rgba(0, 60, 60, 0.28)); }
.personal .hero { padding-block: clamp(1rem, 3.5vw, 1.8rem); }
.personal .hero .lead.second { margin-top: 0.5rem; }
.portfolio-note { margin: 0 0 0.9rem; color: var(--muted); }
.hero .byline { margin: -0.2rem 0 0.6rem; font-size: clamp(1.05rem, 2.8vw, 1.25rem); font-weight: 600; color: var(--h-ink); opacity: 0.85; }

ul.tiles { list-style: none; margin: 0.7rem 0 0.4rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 14px; }
ul.tiles li { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 0.95rem; grid-template-rows: auto 1fr; align-items: start; background: var(--tile); border: 1px solid var(--tile-line); border-radius: 20px; padding: 1.05rem; box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease; }
ul.tiles li[hidden] { display: none; }
ul.tiles.feature li { padding: 1.3rem 1.2rem; }
ul.tiles li:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
ul.tiles a { font-weight: 700; font-size: 1.1rem; color: var(--fg); text-decoration: none; align-self: start; padding-top: 0.15rem; overflow-wrap: anywhere; }
ul.tiles li:hover a { text-decoration: underline; text-underline-offset: 3px; }
ul.tiles a::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
ul.tiles a:focus-visible { outline: none; }
ul.tiles li:has(a:focus-visible) { outline: 3px solid #f90; outline-offset: 3px; }
ul.tiles p { margin: 0.25rem 0 0; grid-column: 2; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
ul.tiles li:has(a[target='_blank'])::after { content: '\2197'; content: '\2197' / ''; position: absolute; top: 0.7rem; inset-inline-end: 0.95rem; color: var(--muted); font-size: 0.95rem; pointer-events: none; }
[dir='rtl'] ul.tiles li:has(a[target='_blank'])::after { content: '\2196'; content: '\2196' / ''; }

ul.tiles .ic { grid-row: 1 / span 2; width: 3.2rem; height: 3.2rem; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff;
background: linear-gradient(135deg, var(--c1, #6366f1), var(--c2, #0ea5e9)); box-shadow: 0 6px 16px color-mix(in srgb, var(--c1, #6366f1) 42%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1); }
ul.tiles .ic svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
ul.tiles .ic svg.logo-mini { width: 100%; height: 100%; border-radius: 16px; stroke: none; }
ul.tiles li:hover .ic, ul.tiles li:has(a:focus-visible) .ic { transform: rotate(-7deg) scale(1.12); }
ul.tiles li:hover .ic svg > *, ul.tiles li:has(a:focus-visible) .ic svg > * { transform-box: fill-box; transform-origin: center; animation: pop 0.5s ease both; }
ul.tiles li:hover .ic svg > *:nth-child(2), ul.tiles li:has(a:focus-visible) .ic svg > *:nth-child(2) { animation-delay: 0.06s; }
ul.tiles li:hover .ic svg > *:nth-child(3), ul.tiles li:has(a:focus-visible) .ic svg > *:nth-child(3) { animation-delay: 0.12s; }
ul.tiles li:hover .ic svg > *:nth-child(4), ul.tiles li:has(a:focus-visible) .ic svg > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
ul.tiles.feature .ic { animation: float 5s ease-in-out infinite; }
ul.tiles.feature li:nth-child(2) .ic { animation-delay: -1.2s; }
ul.tiles.feature li:nth-child(3) .ic { animation-delay: -2.4s; }
ul.tiles.feature li:nth-child(4) .ic { animation-delay: -3.6s; }
ul.tiles li { animation: rise 0.5s ease both; }
ul.tiles li:nth-child(2) { animation-delay: 0.05s; } ul.tiles li:nth-child(3) { animation-delay: 0.1s; } ul.tiles li:nth-child(4) { animation-delay: 0.15s; } ul.tiles li:nth-child(n+5) { animation-delay: 0.2s; }
.c-direct { --c1: #6366f1; --c2: #8b5cf6; }
.c-data { --c1: #10b981; --c2: #0d9488; }
.c-business { --c1: #f59e0b; --c2: #ea580c; }
.c-link { --c1: #ec4899; --c2: #e11d48; }
.c-draw { --c1: #a855f7; --c2: #6d28d9; }
.c-code { --c1: #0ea5e9; --c2: #2563eb; }
.c-selfie { --c1: #fb923c; --c2: #e11d48; }
.c-gizmo { --c1: #22c55e; --c2: #0d9488; }
.c-tools { --c1: #6366f1; --c2: #0ea5e9; }
.c-camera { --c1: #0ea5e9; --c2: #2563eb; }
.c-xo { --c1: #f43f5e; --c2: #f59e0b; }
.c-bill { --c1: #6366f1; --c2: #4338ca; }
.c-read { --c1: #14b8a6; --c2: #0891b2; }
.c-units { --c1: #f59e0b; --c2: #d97706; }
.c-breathing { --c1: #22c55e; --c2: #0d9488; }
.c-metronome { --c1: #a855f7; --c2: #7c3aed; }
.c-dice { --c1: #ef4444; --c2: #be123c; }
.c-tuner { --c1: #f59e0b; --c2: #b45309; }
.c-timer { --c1: hsl(0, 75%, 48%); --c2: hsl(25, 70%, 36%); }
.c-coin { --c1: hsl(21, 75%, 48%); --c2: hsl(46, 70%, 36%); }
.c-age { --c1: hsl(42, 75%, 48%); --c2: hsl(67, 70%, 36%); }
.c-card { --c1: hsl(64, 75%, 48%); --c2: hsl(89, 70%, 36%); }
.c-clock { --c1: hsl(85, 75%, 48%); --c2: hsl(110, 70%, 36%); }
.c-countdown { --c1: hsl(106, 75%, 48%); --c2: hsl(131, 70%, 36%); }
.c-counter { --c1: hsl(127, 75%, 48%); --c2: hsl(152, 70%, 36%); }
.c-daycount { --c1: hsl(148, 75%, 48%); --c2: hsl(173, 70%, 36%); }
.c-eightball { --c1: hsl(169, 75%, 48%); --c2: hsl(194, 70%, 36%); }
.c-letter { --c1: hsl(191, 75%, 48%); --c2: hsl(216, 70%, 36%); }
.c-password { --c1: hsl(212, 75%, 48%); --c2: hsl(237, 70%, 36%); }
.c-percent { --c1: hsl(233, 75%, 48%); --c2: hsl(258, 70%, 36%); }
.c-picker { --c1: hsl(254, 75%, 48%); --c2: hsl(279, 70%, 36%); }
.c-random { --c1: hsl(275, 75%, 48%); --c2: hsl(300, 70%, 36%); }
.c-stopwatch { --c1: hsl(296, 75%, 48%); --c2: hsl(321, 70%, 36%); }
.c-wordcount { --c1: hsl(318, 75%, 48%); --c2: hsl(343, 70%, 36%); }
.c-yesno { --c1: hsl(339, 75%, 48%); --c2: hsl(4, 70%, 36%); }
.c-forsale { --c1: #14b8a6; --c2: #2563eb; }
.c-net { --c1: #f97316; --c2: #db2777; }

/* Social buttons: brand colours, a glow, and a bounce on hover or focus */
a.social { border: 0; color: #fff; background: var(--s1, #444); box-shadow: 0 6px 14px color-mix(in srgb, var(--s1, #444) 42%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1), box-shadow 0.2s; }
a.social.s-facebook { --s1: #1877f2; }
a.social.s-instagram { --s1: #ee2a7b; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
a.social.s-threads, a.social.s-x { --s1: #111; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) a.social.s-threads, :root:not([data-theme='light']) a.social.s-x { --s1: #f1f1f1; color: #111; } }
:root[data-theme='dark'] a.social.s-threads, :root[data-theme='dark'] a.social.s-x { --s1: #f1f1f1; color: #111; }
a.social:hover, a.social:focus-visible { transform: translateY(-3px) rotate(-6deg) scale(1.1); box-shadow: 0 10px 22px color-mix(in srgb, var(--s1, #444) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
a.social:hover svg, a.social:focus-visible svg { animation: pop 0.5s ease both; }

/* footer line on phones: the items wrap as whole items, so no dot is left at the end of a line (the dots are hidden from screen readers anyway) */
@media (max-width: 480px) {
.footline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.footline .sep { display: none; }
}
.about { margin-top: 0.4rem; }
.about p { max-width: 36rem; }
.hero a, .about a { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
ul.tiles li, ul.tiles .ic, ul.tiles.feature .ic { animation: none !important; transition: none; }
ul.tiles li:hover { transform: none; }
a.social, a.social:hover, a.social:focus-visible { transition: none; transform: none; }
a.social:hover svg, a.social:focus-visible svg { animation: none; }
ul.tiles li:hover .ic, ul.tiles li:has(a:focus-visible) .ic { transform: none; }
ul.tiles li:hover .ic svg > *, ul.tiles li:has(a:focus-visible) .ic svg > * { animation: none; }
}
/* ===== HOME DESIGN END ===== */

/* The tools page: Edit, the list and the install button */
header { align-items: center; gap: 1rem; flex-wrap: wrap; }
.tools-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0 0; }
.tools-bar input[type=button], #install-app, .edit-row input[type=button] { font: inherit; font-size: 1rem; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--fg); cursor: pointer; }
.tools-bar input[type=button]:focus-visible, #install-app:focus-visible, .edit-row input:focus-visible { outline: 3px solid #f90; outline-offset: 2px; }
#install-app[hidden], #install-steps[hidden] { display: none; }
#tools-status:empty { display: none; }
#tools-status { margin: 0.6rem 0 0; }
ul.tiles.editing li { cursor: default; }
ul.tiles.editing a::after { display: none; }
ul.tiles li.off { opacity: 0.55; }
.edit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.7rem; direction: ltr; }
.edit-row label { direction: inherit; display: inline-flex; align-items: center; gap: 0.3rem; }

.all-tools a { font-weight: 700; color: var(--fg); text-decoration: none; }
.all-tools a:hover, .all-tools a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
