/* YourTemp.Email: the TekLan VPN / Hosting look (pill buttons, 18px cards, Inter) in the logo's blues. Inter is self-hosted (OFL). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Colours from the YourTemp.Email logo: deep blue #0155b5 and light blue #409af4. */
  --tk-accent: #0155b5;
  --tk-accent-hover: #0a66d1;
  --tk-accent-light: #409af4;
  --tk-accent-soft: #e8f1fe;
  --tk-on-accent: #ffffff;
  --tk-danger: #c62828;
  --tk-danger-soft: #fdecec;
  --tk-heading: #0f2f57;
  --tk-text: #1f2937;
  --tk-muted: #5f6b7a;
  --tk-bg: #f5f8fc;
  --tk-surface: #ffffff;
  --tk-surface-2: #eef3f9;
  --tk-border: #dfe6ef;
  --tk-footer: #0b2545;
  --tk-radius: 18px;
  --tk-shadow: 0 1px 3px rgba(1, 45, 100, 0.08), 0 8px 24px rgba(1, 45, 100, 0.05);
  /* One typeface throughout: Inter (self-hosted). */
  --tk-font: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --tk-head: var(--tk-font);
  --tk-nav: var(--tk-font);
  --tk-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html, body { margin: 0; background: var(--tk-bg); }
.tk { min-height: 100vh; display: flex; flex-direction: column; background: var(--tk-bg); color: var(--tk-text); font-family: var(--tk-font); font-size: 16px; line-height: 1.55; }
.tk h1, .tk h2, .tk h3, .tk h4 { font-family: var(--tk-head) !important; color: var(--tk-heading); font-weight: 700; letter-spacing: -0.015em; }
.tk a { color: var(--tk-accent); }
.tk a:hover { color: var(--tk-accent-hover); }
.tk-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.tk-main { flex: 1; padding-top: 28px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }

/* Header */
.tk-header { position: sticky; top: 0; z-index: 40; background: var(--tk-surface); border-bottom: 3px solid var(--tk-accent-light); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }
.tk-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.tk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.tk-brand__mark { height: 38px; width: auto; }
.tk-brand__text { height: 22px; width: auto; }
@media (max-width: 420px) { .tk-brand__text { height: 18px; } .tk-brand__mark { height: 32px; } }
.tk-header nav { display: flex; align-items: center; }
.tk-nav { display: flex; align-items: center; gap: 4px; font-family: var(--tk-nav); }
.tk .tk-nav__link, .tk .tk-nav__btn { font: 500 15px/1 var(--tk-nav); color: var(--tk-text); background: none; border: 0; padding: 10px 12px; border-radius: 10px; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.tk .tk-nav__link:hover, .tk .tk-nav__btn:hover, .tk .tk-nav__link.is-active { color: var(--tk-accent); }
.tk-nav__drop { position: absolute; left: 0; margin-top: 8px; min-width: 200px; background: var(--tk-surface); border: 1px solid var(--tk-border); border-radius: 14px; box-shadow: var(--tk-shadow); padding: 6px; z-index: 50; }
.tk .tk-nav__drop a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--tk-text); text-decoration: none; font: 500 14px var(--tk-nav); }
.tk .tk-nav__drop a:hover { background: var(--tk-surface-2); color: var(--tk-accent); }
.tk-select { font: 500 14px var(--tk-nav); color: var(--tk-text); background: var(--tk-surface); border: 1px solid var(--tk-border); border-radius: 50px; padding: 7px 30px 7px 14px; cursor: pointer; }
.tk-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--tk-border); border-radius: 12px; background: var(--tk-surface); color: var(--tk-heading); cursor: pointer; padding: 8px; }
.tk-mobile { position: fixed; inset: 0; z-index: 60; background: var(--tk-surface); padding: 20px 16px; overflow-y: auto; }
.tk-mobile__close { position: absolute; top: 16px; right: 16px; }
.tk-mobile__links { display: flex; flex-direction: column; gap: 4px; margin-top: 56px; }
.tk-mobile__links .tk-nav__link { font-size: 18px; padding: 14px 12px; }
.tk-mobile__sub { padding-left: 16px; display: flex; flex-direction: column; }

/* Buttons */
.tk .tk-btn { font: 500 15px/1 var(--tk-nav); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 50px; border: 1px solid var(--tk-border); background: var(--tk-surface); color: var(--tk-text); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; -webkit-appearance: none; appearance: none; }
.tk .tk-btn:hover { border-color: var(--tk-accent); color: var(--tk-accent); }
.tk .tk-btn--primary { background: var(--tk-accent); border-color: var(--tk-accent); color: var(--tk-on-accent) !important; }
.tk .tk-btn--primary:hover { background: var(--tk-accent-hover); border-color: var(--tk-accent-hover); color: var(--tk-on-accent) !important; }
.tk .tk-btn--ghost { background: transparent; }
.tk .tk-btn--danger { color: var(--tk-danger); border-color: var(--tk-border); }
.tk .tk-btn--danger:hover { background: var(--tk-danger-soft); border-color: var(--tk-danger); color: var(--tk-danger); }
.tk .tk-btn--sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.tk .tk-btn--block { width: 100%; }
.tk-btn:focus-visible, .tk-input:focus-visible, .tk-select:focus-visible { outline: 3px solid color-mix(in srgb, var(--tk-accent) 40%, transparent); outline-offset: 2px; }

/* Cards */
.tk-card { background: var(--tk-surface); border: 1px solid var(--tk-border); border-radius: var(--tk-radius); box-shadow: var(--tk-shadow); }
.tk-pill { display: inline-block; font: 600 12px var(--tk-nav); padding: 4px 10px; border-radius: 50px; background: var(--tk-surface-2); color: var(--tk-muted); }

/* Hero: the address */
.tk-hero { padding: 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.tk-hero h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.tk-hero__lead { color: var(--tk-muted); margin: 0 0 12px; max-width: 560px; }
.tk-actions { width: 100%; max-width: 640px; }
.tk-address { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; box-sizing: border-box; padding: 14px 18px; border-radius: 50px; background: var(--tk-surface-2); border: 1px solid var(--tk-border); cursor: pointer; font: 600 clamp(1rem, 2.4vw, 1.3rem)/1.3 var(--tk-mono); color: var(--tk-heading); text-align: left; overflow-wrap: anywhere; }
.tk-address__chev { flex: none; width: 18px; height: 18px; color: var(--tk-muted); }
.tk-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.tk-tools .tk-btn { padding: 0 12px; }
.tk-form { display: grid; gap: 12px; margin-top: 4px; text-align: left; }
.tk-input { width: 100%; box-sizing: border-box; font: 400 16px var(--tk-font); color: var(--tk-text); background: var(--tk-surface); border: 1px solid var(--tk-border); border-radius: 50px; padding: 12px 18px; min-height: 48px; }
.tk-input::placeholder { color: var(--tk-muted); }
.tk-relative { position: relative; }
.tk-chev { pointer-events: none; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--tk-muted); }
.tk-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tk-row > * { flex: 1 1 160px; }
.tk-back { margin-bottom: 12px; }
.tk .tk-dropdown a { display: block; padding: 10px 14px; font: 500 14px var(--tk-nav); color: var(--tk-text); text-decoration: none; cursor: pointer; }
.tk .tk-dropdown a:hover { background: var(--tk-surface-2); color: var(--tk-accent); }

/* Inbox */
.tk-inbox { overflow: hidden; }
.tk-inbox__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--tk-border); }
.tk-inbox__head h2 { margin: 0; font-size: 1.15rem; }
.tk-mail { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; min-height: 460px; }
.tk-mail__list { border-right: 1px solid var(--tk-border); display: flex; flex-direction: column; }
.tk-msg { padding: 14px 20px; cursor: pointer; border-bottom: 1px solid var(--tk-border); transition: background .12s; }
.tk-msg:hover { background: var(--tk-surface-2); }
.tk-msg.is-open { background: var(--tk-accent-soft); box-shadow: inset 3px 0 0 var(--tk-accent-light); }
.tk-msg__top { display: flex; justify-content: space-between; gap: 10px; }
.tk-msg__from { font-weight: 600; color: var(--tk-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-msg__email { font-size: 12px; color: var(--tk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-msg__time { font-size: 12px; color: var(--tk-muted); white-space: nowrap; }
.tk-msg__subject { font-size: 14px; color: var(--tk-text); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 20px; color: var(--tk-muted); text-align: center; }
.tk-empty__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--tk-accent-soft); color: var(--tk-accent); font-size: 22px; }
.tk-empty__title { font: 700 1.1rem var(--tk-head); color: var(--tk-heading); }
.tk-mail__reader { display: flex; flex-direction: column; min-width: 0; }
.tk-reader__placeholder { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px; color: var(--tk-muted); text-align: center; }
.tk-reader__msg { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tk-reader__head { padding: 18px 22px; border-bottom: 1px solid var(--tk-border); }
.tk-reader__subject { font: 700 1.2rem/1.3 var(--tk-head); color: var(--tk-heading); margin: 0 0 4px; overflow-wrap: anywhere; }
.tk-reader__meta { font-size: 13px; color: var(--tk-muted); overflow-wrap: anywhere; }
.tk-reader__tools { display: flex; gap: 8px; margin-top: 12px; }
.tk-reader__frame { flex: 1; width: 100%; min-height: 420px; border: 0; background: #fff; }
.tk-attach { padding: 14px 22px; border-top: 1px solid var(--tk-border); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tk-attach__label { font-size: 12px; color: var(--tk-muted); width: 100%; }

/* Pages and blog posts */
.tk-page { padding: 28px clamp(18px, 4vw, 40px); overflow-wrap: anywhere; }
.tk-page h1 { font-size: 1.8rem; margin-top: 0; }
.tk-page h2 { font-size: 1.35rem; margin-top: 1.6em; }
.tk-page p, .tk-page li { line-height: 1.7; }
.tk-page ul, .tk-page ol { padding-left: 1.4em; }
.tk-page ul { list-style: disc; }
.tk-page ol { list-style: decimal; }
.tk-page img { max-width: 100%; height: auto; border-radius: 12px; }
.tk-note { margin-bottom: 16px; border-radius: 12px; border: 1px solid #f0c36d; background: #fff8e6; color: #6b4b00; padding: 12px 16px; font-size: 14px; }
.tk-post__image { display: block; width: 100%; aspect-ratio: 1200 / 630; max-height: 360px; object-fit: cover; border-radius: var(--tk-radius); }
.tk-post__head { padding: 22px 0 6px; border-bottom: 1px solid var(--tk-border); margin-bottom: 18px; }
.tk-post__head h1 { margin: 10px 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.tk-post__date { margin: 0; color: var(--tk-muted); font-size: 14px; }
.tk-post__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-post__cats a { font: 600 12px var(--tk-nav); padding: 4px 10px; border-radius: 50px; background: var(--tk-accent); color: var(--tk-on-accent) !important; text-decoration: none; }

/* Footer */
.tk-footer { background: var(--tk-footer); color: #c9d1da; font-size: 14px; padding: 28px 0; }
.tk-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tk-footer a { color: #fff; text-decoration: none; }
.tk-footer a:hover { color: #fff; text-decoration: underline; }
.tk-footer__links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tk-footer__social { display: flex; gap: 14px; font-size: 18px; }
.tk-footer__family { width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; color: #9fb0c1; font-size: 13px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .tk-header nav .tk-nav--desktop { display: none; }
  .tk-burger { display: inline-flex; }
  .tk-mail { grid-template-columns: 1fr; min-height: 0; }
  .tk-mail__list { border-right: 0; border-bottom: 1px solid var(--tk-border); }
  .tk-mail__reader .tk-reader__placeholder { display: none; }
}
@media (max-width: 520px) {
  .tk-hero { padding: 22px 16px; }
  .tk-tools { grid-template-columns: repeat(2, 1fr); }
  .tk-footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .tk * { transition: none !important; } }

/* TekLan promo cards (the theme's own adverts), with each product's own logo on a white tile */
.tk-promo__logo { flex: none; width: 72px; height: 56px; box-sizing: border-box; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--tk-border); display: grid; place-items: center; }
.tk-promo__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.tk-family__item .tk-promo__logo { width: 64px; height: 48px; padding: 7px; }
.tk-promo { display: flex; align-items: center; gap: 18px; padding: 18px 22px; }
.tk-promo__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--tk-accent); }
.tk-promo--hosting .tk-promo__icon { background: #2d465e; }
.tk-promo--shortme .tk-promo__icon { background: #6d28d9; }
.tk-promo--cloud .tk-promo__icon { background: #0e7490; }
.tk-promo__body { flex: 1; min-width: 0; }
.tk-promo__tag { font: 600 11px var(--tk-nav); letter-spacing: .06em; text-transform: uppercase; color: var(--tk-muted); }
.tk-promo__name { display: block; font: 700 1.1rem/1.25 var(--tk-head); letter-spacing: -0.01em; color: var(--tk-heading); margin: 2px 0; }
.tk-promo__line { display: block; margin: 0; color: var(--tk-muted); font-size: 15px; }
.tk-promo__cta { flex: none; }
.tk-family__title { font-size: 1.2rem; margin: 8px 0 12px; }
.tk-family__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tk .tk-family__item { display: flex; flex-direction: column; gap: 8px; padding: 20px; text-decoration: none; color: var(--tk-text); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tk .tk-family__item:hover { transform: translateY(-2px); border-color: var(--tk-accent); color: var(--tk-text); }
.tk-family__item .tk-promo__icon { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
.tk-family__more { margin-top: auto; padding-top: 6px; font: 600 14px var(--tk-nav); color: var(--tk-accent); }
@media (max-width: 900px) { .tk-family__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .tk-promo { flex-wrap: wrap; }
  .tk-promo__cta { width: 100%; }
  .tk-family__grid { grid-template-columns: 1fr; }
}

/* Cookie consent banner */
.tk-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 16px; display: flex; justify-content: center; pointer-events: none; }
.tk-consent[hidden] { display: none; }
.tk-consent__box { pointer-events: auto; max-width: 720px; width: 100%; padding: 20px 22px; box-shadow: 0 10px 40px rgba(1, 45, 100, 0.25); }
.tk-consent__title { margin: 0 0 6px; font-size: 1.1rem; }
.tk-consent__text { margin: 0 0 12px; font-size: 14px; color: var(--tk-text); line-height: 1.55; }
.tk-consent__choices { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--tk-surface-2); }
.tk-consent__row { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.tk-consent__row input { width: 18px; height: 18px; accent-color: var(--tk-accent); }
.tk-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-consent__actions .tk-btn { flex: 1 1 140px; }
.tk-consent [hidden] { display: none !important; }

/* Icons */
.tk-sprite { display: none; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 14px; height: 14px; }
.i--lg { width: 24px; height: 24px; }
.is-spinning { animation: tk-spin .8s linear infinite; }
@keyframes tk-spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }
.tk-muted { color: var(--tk-muted) !important; }

/* Address switcher, new-address form */
.tk-switch { left: 0; right: 0; text-align: left; }
.tk .tk-switch button { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; background: none; border-radius: 10px; font: 600 15px var(--tk-mono); color: var(--tk-text); cursor: pointer; overflow-wrap: anywhere; }
.tk .tk-switch button:hover, .tk .tk-switch button.is-current { background: var(--tk-surface-2); color: var(--tk-accent); }
.tk-switch__note { padding: 8px 14px 4px; font-size: 12px; color: var(--tk-muted); }
.tk-expiry { margin: 12px 0 0; font-size: 13px; color: var(--tk-muted); }
.tk-input--static { display: flex; align-items: center; color: var(--tk-muted); background: var(--tk-surface-2); font-family: var(--tk-mono); }
.tk-form__error { margin: 0; color: var(--tk-danger); font-size: 14px; text-align: left; }
.tk-msg { position: relative; }
.tk-msg.is-unread .tk-msg__from::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--tk-accent-light); vertical-align: middle; }
.tk-msg__clip { color: var(--tk-muted); vertical-align: -2px; margin-left: 4px; }
.tk-empty__icon--center { margin: 0 auto 10px; }
.tk-reader__note { margin: 10px 0 0; font-size: 13px; color: var(--tk-muted); }
.tk-reader__tools { flex-wrap: wrap; }

/* Blog list */
.tk-posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.tk .tk-post-card { display: flex; flex-direction: column; border: 1px solid var(--tk-border); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--tk-text); background: var(--tk-surface); transition: border-color .15s, transform .15s; }
.tk .tk-post-card:hover { border-color: var(--tk-accent); transform: translateY(-2px); color: var(--tk-text); }
.tk-page .tk-post-card img { border-radius: 0; aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.tk-post-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.tk-post-card__title { font-weight: 700; color: var(--tk-heading); line-height: 1.3; }
.tk-post-card__date { font-size: 13px; color: var(--tk-muted); }
.tk-post-card__excerpt { font-size: 14px; color: var(--tk-muted); line-height: 1.5; }
@media (max-width: 600px) { .tk-posts { grid-template-columns: 1fr; } }

/* Message rows are buttons */
.tk .tk-msg { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--tk-border); }
.tk-msg__sender { min-width: 0; }

/* ---- Polish pass ---- */
.tk { -webkit-font-smoothing: antialiased; }
.tk-main { gap: 28px; padding-top: 32px; padding-bottom: 56px; }
.tk-section-title { font-size: 1.25rem; margin: 0 0 14px; }
.tk-family__title { font-size: 1.25rem; margin: 0 0 14px; }

/* Live dot */
.tk-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: tk-pulse 2s infinite; }
@keyframes tk-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* Hero */
.tk-hero { padding: 40px 28px 30px; gap: 8px; background: radial-gradient(1200px 300px at 50% -120px, var(--tk-accent-soft), transparent 70%), var(--tk-surface); }
.tk-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--tk-font); color: var(--tk-accent); background: var(--tk-accent-soft); padding: 6px 12px; border-radius: 50px; margin-bottom: 6px; }
.tk-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.tk-hero__lead { font-size: 1.05rem; margin-bottom: 18px; }
.tk-actions { max-width: 680px; }

.tk-addressbar { display: flex; align-items: stretch; gap: 0; background: var(--tk-surface); border: 2px solid var(--tk-accent-light); border-radius: 50px; padding: 5px; box-shadow: 0 6px 24px rgba(1, 85, 181, .12); }
.tk .tk-addressbar .tk-address { flex: 1; min-width: 0; background: none; border: 0; padding: 10px 14px 10px 20px; border-radius: 50px; font-size: clamp(.95rem, 2.5vw, 1.3rem); }
.tk .tk-addressbar .tk-address:hover { background: var(--tk-surface-2); }
.tk-address__text { min-width: 0; overflow-wrap: anywhere; }
.tk-address__domain { color: var(--tk-muted); font-weight: 500; }
.tk .tk-address__copy { flex: none; min-height: 50px; padding: 0 24px; font-weight: 600; }
.tk-skeleton { display: inline-block; width: min(320px, 60vw); height: 1.1em; vertical-align: middle; border-radius: 8px; background: linear-gradient(90deg, var(--tk-surface-2) 0%, #e2eaf4 50%, var(--tk-surface-2) 100%); background-size: 200% 100%; animation: tk-shimmer 1.2s infinite linear; }
@keyframes tk-shimmer { to { background-position: -200% 0; } }
.tk-switch { top: 100%; margin-top: 8px; padding: 6px; }
.tk .tk-switch button { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk .tk-switch button.is-current { color: var(--tk-accent); }
.tk-switch__note { padding: 6px 14px 8px; font: 600 11px var(--tk-font); letter-spacing: .05em; text-transform: uppercase; color: var(--tk-muted); }

.tk-tools { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tk .tk-tools .tk-btn { padding: 0 16px; }
.tk-expiry { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; }

/* New-address form */
.tk-form { gap: 10px; }
.tk-form__label { font-weight: 600; color: var(--tk-heading); }
.tk-compose { display: flex; align-items: stretch; border: 2px solid var(--tk-accent-light); border-radius: 50px; background: var(--tk-surface); overflow: hidden; box-shadow: 0 6px 24px rgba(1, 85, 181, .1); }
.tk-compose:focus-within { border-color: var(--tk-accent); }
.tk-compose__name { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 6px 14px 22px; font: 600 1.1rem var(--tk-mono); color: var(--tk-heading); background: none; text-align: right; }
.tk-compose__domain { display: flex; align-items: center; padding: 0 22px 0 2px; border: 0; background: none; font: 500 1.1rem var(--tk-mono); color: var(--tk-muted); white-space: nowrap; }
select.tk-compose__domain { cursor: pointer; }
.tk-form__hint { margin: 0; font-size: 13px; color: var(--tk-muted); }
.tk-form__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tk-form__actions .tk-btn { flex: 1 1 auto; }

/* Inbox */
.tk-inbox__head { padding: 16px 22px; }
.tk-inbox__head h2 { display: flex; align-items: center; gap: 10px; }
.tk-count { font: 600 12px var(--tk-font); padding: 3px 9px; border-radius: 50px; background: var(--tk-surface-2); color: var(--tk-muted); }
.tk-count.is-unread { background: var(--tk-accent); color: var(--tk-on-accent); }
.tk-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tk-muted); }
.tk-mail { grid-template-columns: minmax(280px, 2fr) 3fr; min-height: 480px; }
.tk-mail__list { max-height: 720px; overflow-y: auto; }

.tk .tk-msg { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-bottom: 1px solid var(--tk-border); cursor: pointer; }
.tk .tk-msg:hover { background: var(--tk-surface-2); }
.tk .tk-msg.is-open { background: var(--tk-accent-soft); box-shadow: inset 3px 0 0 var(--tk-accent); }
.tk-msg.is-new { animation: tk-in .4s ease-out; }
@keyframes tk-in { from { opacity: 0; transform: translateY(-6px); background: var(--tk-accent-soft); } to { opacity: 1; transform: none; } }
.tk-msg__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tk-msg__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tk-msg__from { font-weight: 500; color: var(--tk-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-msg.is-unread .tk-msg__from, .tk-msg.is-unread .tk-msg__subject { font-weight: 700; }
.tk-msg.is-unread .tk-msg__from::before { display: none; }
.tk-msg.is-unread .tk-msg__time { color: var(--tk-accent); font-weight: 600; }
.tk-msg__subject { margin: 0; font-size: 14px; color: var(--tk-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-msg__preview { font-size: 13px; color: var(--tk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tk-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--tk-font); color: #fff; background: var(--tk-accent); letter-spacing: .02em; }

.tk-empty { gap: 6px; }
.tk-empty p, .tk-reader__placeholder p { margin: 4px 0 0; max-width: 260px; font-size: 14px; }
.tk-empty__icon { width: 64px; height: 64px; margin-bottom: 6px; }
.tk-reader__placeholder { flex-direction: column; gap: 4px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(1, 85, 181, .025) 14px 28px); }

.tk-reader__head { padding: 20px 24px 16px; }
.tk-reader__back { display: none; margin: -6px 0 10px -10px; }
.tk-reader__subject { font-size: 1.3rem; margin: 0 0 14px; }
.tk-reader__from { display: flex; align-items: center; gap: 12px; }
.tk-reader__who { flex: 1; min-width: 0; }
.tk-reader__name { font-weight: 600; color: var(--tk-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-reader__meta { font-size: 13px; }
.tk-reader__tools { margin: 0; gap: 6px; flex-wrap: nowrap; }
.tk .tk-iconbtn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--tk-border); background: var(--tk-surface); color: var(--tk-text); cursor: pointer; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.tk .tk-iconbtn:hover { border-color: var(--tk-accent); color: var(--tk-accent); }
.tk .tk-iconbtn--danger:hover { border-color: var(--tk-danger); color: var(--tk-danger); background: var(--tk-danger-soft); }
.tk-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--tk-surface-2); font-size: 13px; color: var(--tk-muted); }
.tk .tk-link { border: 0; background: none; padding: 0; font: 600 13px var(--tk-font); color: var(--tk-accent); cursor: pointer; margin-left: auto; }
.tk .tk-link:hover { text-decoration: underline; }
.tk-reader__frame { min-height: 360px; border-top: 1px solid var(--tk-border); }

.tk-attach { gap: 10px; padding: 16px 24px 20px; }
.tk-attach__label { font: 600 12px var(--tk-font); letter-spacing: .05em; text-transform: uppercase; }
.tk .tk-file { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 12px 8px 8px; border: 1px solid var(--tk-border); border-radius: 12px; text-decoration: none; color: var(--tk-text); background: var(--tk-surface); transition: border-color .15s; }
.tk .tk-file:hover { border-color: var(--tk-accent); color: var(--tk-text); }
.tk-file__icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--tk-accent-soft); color: var(--tk-accent); flex: none; }
.tk-file__name { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-file__size { font-size: 12px; color: var(--tk-muted); white-space: nowrap; }
.tk-file__dl { color: var(--tk-muted); }

/* How it works */
.tk-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tk-how__item { padding: 22px; }
.tk-how__item h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.tk-how__item p { margin: 0; color: var(--tk-muted); font-size: 15px; }
.tk-how__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tk-accent-soft); color: var(--tk-accent); }

/* Toast and dialog */
.tk-toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 50px; background: var(--tk-heading); color: #fff; font: 500 14px var(--tk-font); box-shadow: 0 10px 30px rgba(15, 47, 87, .3); transform: translate(-50%, 16px); opacity: 0; transition: transform .2s, opacity .2s; }
.tk-toast.is-shown { transform: translate(-50%, 0); opacity: 1; }
.tk-toast .i { color: #6ee7a0; }
.tk-dialog { border: 0; border-radius: var(--tk-radius); padding: 0; max-width: 420px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(15, 47, 87, .35); color: var(--tk-text); font-family: var(--tk-font); }
.tk-dialog::backdrop { background: rgba(11, 37, 69, .45); }
.tk-dialog form { padding: 24px; }
.tk-dialog__title { margin: 0 0 8px; font-size: 1.2rem; color: var(--tk-heading); }
.tk-dialog__text { margin: 0 0 20px; color: var(--tk-muted); overflow-wrap: anywhere; }
.tk-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; }
.tk-dialog .tk-btn { font: 500 15px/1 var(--tk-font); min-height: 42px; padding: 0 20px; border-radius: 50px; border: 1px solid var(--tk-border); background: var(--tk-surface); color: var(--tk-text); cursor: pointer; }
.tk-dialog .tk-btn--danger-solid { background: var(--tk-danger); border-color: var(--tk-danger); color: #fff; }

/* Footer */
.tk-footer { padding: 44px 0 24px; font-size: 14px; }
.tk-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.tk-footer__brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.1rem var(--tk-font); color: #fff; }
.tk-footer__brand img { filter: brightness(0) invert(1); height: 26px; width: auto; }
.tk-footer__about p { margin: 12px 0 18px; max-width: 360px; color: #9fb0c1; line-height: 1.6; }
.tk-footer__col { display: flex; flex-direction: column; gap: 9px; }
.tk-footer__col h2 { margin: 0 0 4px; font: 600 12px var(--tk-font); letter-spacing: .06em; text-transform: uppercase; color: #9fb0c1; }
.tk .tk-footer__col a { color: #e2e8f0; }
.tk-footer__social { display: flex; flex-wrap: wrap; gap: 8px; font-size: inherit; }
.tk .tk-footer__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #e2e8f0; transition: background .15s, color .15s; }
.tk .tk-footer__social a:hover { background: var(--tk-accent-light); color: #fff; text-decoration: none; }
.i-brand { width: 16px; height: 16px; fill: currentColor; }
.i--brand { width: 16px; height: 16px; }
.tk-footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: #9fb0c1; font-size: 13px; }

/* Reading pages */
.tk-page { padding: clamp(24px, 5vw, 48px); }
.tk-prose { max-width: 720px; margin: 0 auto; font-size: 17px; }
.tk-prose h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 0 0 16px; }
.tk-prose h2 { font-size: 1.4rem; margin: 1.8em 0 .5em; }
.tk-prose p, .tk-prose li { line-height: 1.75; }
.tk-prose li + li { margin-top: 6px; }
.tk-prose a { text-underline-offset: 3px; }
.tk-backlink { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--tk-font); text-decoration: none; margin-bottom: 18px; }
.tk-post__head { border: 0; padding: 0 0 8px; margin: 0; }
.tk-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--tk-muted); font-size: 14px; margin: 0 0 22px; }
.tk-post__image { margin: 0 0 28px; max-height: 380px; }
.tk-pagehead { max-width: 720px; margin: 0 auto 8px; }
.tk-pagehead h1 { margin: 0 0 8px; }
.tk-pagehead p { margin: 0; color: var(--tk-muted); font-size: 1.05rem; }
.tk-pill--accent { background: var(--tk-accent-soft); color: var(--tk-accent); text-decoration: none; }
.tk-posts { grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0 8px; }
.tk .tk-post-card { border-radius: 16px; box-shadow: var(--tk-shadow); }
.tk-post-card__body { padding: 16px 18px 18px; gap: 6px; }
.tk-post-card__title { font-size: 1.05rem; }
.tk-post-card__cats { display: flex; gap: 6px; }
.tk-more { max-width: 1000px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--tk-border); }
.tk-more h2 { margin: 0; font-size: 1.2rem; }

/* Phones and tablets */
@media (max-width: 900px) {
  .tk-mail { grid-template-columns: 1fr; }
  .tk-mail.is-reading .tk-mail__list { display: none; }
  .tk-mail:not(.is-reading) .tk-mail__reader { display: none; }
  .tk-mail__list { max-height: none; border-bottom: 0; }
  .tk-reader__back { display: inline-flex; }
  .tk-how__grid { grid-template-columns: 1fr; }
  .tk-posts { grid-template-columns: repeat(2, 1fr); }
  .tk-footer__grid { grid-template-columns: 1fr 1fr; }
  .tk-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .tk-hero { padding: 28px 16px 22px; }
  .tk-addressbar { flex-direction: column; border-radius: 22px; padding: 6px; gap: 6px; }
  .tk .tk-addressbar .tk-address { justify-content: center; text-align: center; padding: 12px 10px; border-radius: 16px; }
  .tk .tk-address__copy { width: 100%; min-height: 46px; border-radius: 16px; }
  .tk-tools .tk-btn { flex: 1 1 0; }
  .tk-tools .tk-btn span { white-space: nowrap; }
  .tk-compose { flex-direction: column; border-radius: 22px; }
  .tk-compose__name { text-align: center; padding: 14px 12px 4px; }
  .tk-compose__domain { justify-content: center; padding: 0 12px 14px; }
  .tk-inbox__head { flex-wrap: wrap; gap: 6px; }
  .tk-posts { grid-template-columns: 1fr; }
  .tk-footer__grid { grid-template-columns: 1fr; }
  .tk-prose { font-size: 16px; }
}
.tk-pagehead--wide { max-width: none; }
.tk .tk-reader__back { display: none; }
.tk-notice span { flex: 1 1 200px; }
@media (max-width: 900px) { .tk .tk-reader__back { display: inline-flex; } }
@media (max-width: 600px) {
  .tk-tools { display: grid; grid-template-columns: repeat(3, 1fr); }
  .tk .tk-tools .tk-btn { padding: 0 8px; }
  .tk-hide-sm { display: none; }
  .tk-expiry { display: block; text-align: center; }
  .tk-expiry .i { vertical-align: -2px; margin-right: 4px; }
}
.tk-reader__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-reader__frame { min-height: 200px; }
.tk-prose--wide { max-width: none; }
.tk-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tk-footer__family { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; }

/* Latest posts row */
.tk-family__title a { color: inherit; text-decoration: none; }
.tk-family__title a:hover { color: var(--tk-accent); }
.tk .tk-latest { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--tk-text); transition: transform .15s, border-color .15s; }
.tk .tk-latest:hover { transform: translateY(-2px); border-color: var(--tk-accent); color: var(--tk-text); }
.tk-latest img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.tk-latest__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.tk-latest__title { font-weight: 700; color: var(--tk-heading); line-height: 1.3; }
.tk-latest__date { font-size: 13px; color: var(--tk-muted); }
.tk .tk-post-card img { height: auto; }

/* Promo slider */
.tk-slider { padding: 0 0 12px; overflow: hidden; }
.tk-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tk-slider__track::-webkit-scrollbar { display: none; }
.tk-slider__slide { flex: 0 0 100%; box-sizing: border-box; scroll-snap-align: start; scroll-snap-stop: always; }
.tk-slider__dots { display: flex; justify-content: center; gap: 6px; }
.tk .tk-slider__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--tk-border); cursor: pointer; transition: width .2s, background .2s; }
.tk .tk-slider__dot.is-on { width: 20px; background: var(--tk-accent); }
@media (prefers-reduced-motion: reduce) { .tk-slider__track { scroll-behavior: auto; } }
