/* ==========================================================================
   Kalendra — main stylesheet
   Clean Modern Hero · local fonts only · no external dependencies
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-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: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--teal: #146C78;
	--teal-700: #0E5F6B;
	--teal-900: #075463;
	--aqua: #49B7C3;
	--aqua-50: #EAF8FA;
	--aqua-100: #D3F0F4;
	--coral: #FF7A59;
	--coral-text: #CC4A28;   /* coral for small text on white (AA) */
	--coral-hl: #E85A35;     /* coral for large headings (AA large) */
	--coral-50: #FFF0EB;
	--bg: #F7FAFB;
	--white: #FFFFFF;
	--ink: #1F2A37;
	--muted: #6B7280;
	--line: #E3ECEF;
	--radius-sm: 12px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 2px 6px rgba(20, 108, 120, .06), 0 1px 2px rgba(31, 42, 55, .04);
	--shadow: 0 14px 34px -12px rgba(14, 95, 107, .18), 0 4px 10px -4px rgba(31, 42, 55, .06);
	--shadow-lg: 0 30px 60px -24px rgba(14, 95, 107, .28), 0 10px 24px -12px rgba(31, 42, 55, .10);
	--font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kd-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--teal); color: #fff;
	padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s;
}
.kd-skip:focus { top: 12px; color: #fff; }
.kd-main:focus { outline: none; }

.kd-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.kd-container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.kd-section { padding-block: clamp(56px, 7vw, 96px); position: relative; }
.kd-section--tight { padding-block: clamp(28px, 4vw, 48px); }
.kd-center { text-align: center; }
.kd-h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; }
.kd-h3 { font-size: 1.3rem; font-weight: 800; }
.kd-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }
.kd-lead { font-size: 1.08rem; color: #4B5563; }
.kd-section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.kd-section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.kd-section-head--row .kd-sub { margin: 0; }
.kd-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .12em;
	color: var(--teal); background: var(--aqua-50); border: 1px solid var(--aqua-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.kd-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.kd-btn {
	--btn-bg: var(--teal); --btn-fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
	background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: .98rem; line-height: 1.2;
	text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
	white-space: nowrap;
}
.kd-btn .kd-icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.kd-btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.kd-btn:hover .kd-icon:last-child { transform: translateX(3px); }
.kd-btn--primary { --btn-bg: var(--coral); --btn-fg: var(--ink); box-shadow: 0 12px 24px -10px rgba(255, 122, 89, .65); }
.kd-btn--primary:hover { --btn-bg: #FF8C70; box-shadow: 0 16px 28px -10px rgba(255, 122, 89, .75); }
.kd-btn--teal { --btn-bg: var(--teal); --btn-fg: #fff; }
.kd-btn--teal:hover { --btn-bg: var(--teal-900); }
.kd-btn--outline { --btn-bg: #fff; --btn-fg: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.kd-btn--outline:hover { border-color: var(--aqua); }
.kd-btn--ghost { --btn-bg: transparent; --btn-fg: var(--teal); border-color: var(--aqua); }
.kd-btn--ghost:hover { --btn-bg: var(--aqua-50); }
.kd-btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.kd-btn--sm { padding: 9px 16px; font-size: .9rem; }
.kd-btn--block { width: 100%; }
.kd-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--coral-text); text-decoration: none; }
.kd-link .kd-icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.kd-link:hover { color: var(--coral-text); }
.kd-link:hover .kd-icon { transform: translateX(4px); }
.kd-chip { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--teal); background: var(--aqua-50); padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.kd-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--teal); color: #fff; border: 0; transition: background .2s, transform .2s;
}
.kd-iconbtn:hover { background: var(--teal-900); transform: translateY(-1px); }
.kd-iconbtn--soft { background: var(--aqua-50); color: var(--teal); }
.kd-iconbtn--soft:hover { background: var(--aqua-100); }

/* ---------- Header ---------- */
.kd-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(227, 236, 239, .7);
	transition: box-shadow .3s;
}
.kd-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(14, 95, 107, .35); }
.kd-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.kd-logo { display: block; flex: none; }
.kd-logo img { width: 150px; height: auto; }
.kd-nav { margin-left: auto; }
.kd-menu { list-style: none; display: flex; gap: 6px; align-items: center; }
.kd-menu a {
	position: relative; display: block; padding: 10px 12px; font-size: .9rem; font-weight: 600;
	color: var(--ink); text-decoration: none; border-radius: 10px;
}
.kd-menu a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
	background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.kd-menu a:hover { color: var(--teal); }
.kd-menu a:hover::after, .kd-menu .current-menu-item > a::after, .kd-menu .current_page_item > a::after { transform: scaleX(1); }
.kd-menu .current-menu-item > a, .kd-menu .current_page_item > a { color: var(--teal); font-weight: 800; }
.kd-header__actions { display: flex; gap: 8px; align-items: center; }
.kd-menu-toggle { display: none; }
.kd-menu-toggle .kd-i-close { display: none; }
.kd-menu-toggle[aria-expanded="true"] .kd-i-open { display: none; }
.kd-menu-toggle[aria-expanded="true"] .kd-i-close { display: block; }

.kd-search { border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.kd-search__form {
	display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line);
	border-radius: 999px; padding: 6px 6px 6px 16px; max-width: 720px; margin-inline: auto;
}
.kd-search__form > .kd-icon { color: var(--muted); }
.kd-search__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 4px; }
.kd-search__form input:focus { outline: none; }
.kd-search__form:focus-within { border-color: var(--aqua); box-shadow: 0 0 0 3px var(--aqua-50); }
.kd-search__form--page { margin: 0 0 32px; background: #fff; }

/* ---------- Hero ---------- */
.kd-hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(120px, 12vw, 150px); overflow: hidden; }
.kd-hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 70% at 85% 30%, rgba(73, 183, 195, .22), transparent 70%),
		radial-gradient(40% 50% at 10% 10%, rgba(73, 183, 195, .12), transparent 70%),
		radial-gradient(30% 40% at 60% 100%, rgba(255, 122, 89, .08), transparent 70%),
		linear-gradient(180deg, #F2FBFC 0%, var(--bg) 100%);
}
.kd-hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.kd-hero__title { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 20px; }
.kd-hl { color: var(--coral-hl); }
.kd-hero__desc { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: #4B5563; max-width: 34em; margin-bottom: 30px; }
.kd-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.kd-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; font-weight: 600; color: #4B5563; }
.kd-trust li { display: inline-flex; align-items: center; gap: 7px; }
.kd-trust .kd-icon { color: var(--teal); width: 18px; height: 18px; }
.kd-hero__art { position: relative; }
.kd-illus--hero { width: 100%; max-width: 620px; margin-inline: auto; animation: kd-float 7s ease-in-out infinite; }
@keyframes kd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Calculator ---------- */
.kd-calc-wrap { margin-top: clamp(-110px, -9vw, -80px); position: relative; z-index: 2; }
.kd-calc {
	background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	border: 1px solid rgba(227, 236, 239, .8); overflow: hidden;
}
.kd-calc__tabs-wrap { position: relative; border-bottom: 1px solid var(--line); background: #FBFDFD; }
.kd-calc__tabs-wrap::after {
	content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40px; pointer-events: none;
	background: linear-gradient(90deg, rgba(251, 253, 253, 0), #FBFDFD); opacity: 0; transition: opacity .2s;
}
.kd-calc__tabs-wrap.has-more::after { opacity: 1; }
.kd-calc__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.kd-calc__tab {
	display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 16px;
	background: transparent; border: 0; border-bottom: 3px solid transparent; font-weight: 700; font-size: .93rem;
	color: var(--muted); white-space: nowrap; scroll-snap-align: start; transition: color .2s, background .2s;
}
.kd-calc__tab .kd-icon { width: 18px; height: 18px; }
.kd-calc__tab:hover { color: var(--teal); background: var(--aqua-50); }
.kd-calc__tab[aria-selected="true"] { color: #fff; background: var(--teal); border-bottom-color: var(--coral); }
.kd-calc__panel { padding: clamp(20px, 3vw, 34px); }
.kd-calc__form { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.kd-calc__inputs { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.kd-date-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.kd-date-pair--plain { grid-template-columns: 1fr 1fr; }
.kd-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.kd-field label, .kd-seg legend, .kd-cal__form label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.kd-field input, .kd-field select, .kd-field textarea, .kd-cal__form textarea, .kd-cal__selects select, .kd-cal__selects input {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.kd-field textarea { min-height: 120px; resize: vertical; }
.kd-field input:focus, .kd-field select:focus, .kd-field textarea:focus, .kd-cal__form textarea:focus, .kd-cal__selects select:focus, .kd-cal__selects input:focus {
	outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px var(--aqua-50);
}
.kd-field input[aria-invalid="true"] { border-color: var(--coral-text); box-shadow: 0 0 0 4px var(--coral-50); }
.kd-field input[type="date"] { color-scheme: light; }
.kd-swap {
	width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--teal); color: #fff;
	display: grid; place-items: center; transition: transform .35s var(--ease), background .2s;
}
.kd-swap:hover { background: var(--teal-900); transform: rotate(180deg); }
.kd-hint { font-size: .82rem; color: var(--muted); margin: 0; }
.kd-options { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.kd-seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kd-seg legend { margin-bottom: 8px; width: 100%; }
.kd-seg label { position: relative; }
.kd-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kd-seg span {
	display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line);
	font-weight: 600; font-size: .9rem; background: #fff; transition: all .2s;
}
.kd-seg small { color: var(--muted); font-weight: 500; }
.kd-seg input:checked + span { background: var(--aqua-50); border-color: var(--teal); color: var(--teal); }
.kd-seg input:checked + span small { color: var(--teal); }
.kd-seg input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.kd-check { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; font-size: .92rem; cursor: pointer; }
.kd-check input { width: 20px; height: 20px; accent-color: var(--teal); }
.kd-tambah-row { display: grid; grid-template-columns: auto 1fr 1fr; gap: 14px; align-items: end; }
.kd-seg--inline legend { margin-bottom: 7px; }
.kd-error {
	margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--coral-50); color: #9A3412;
	font-weight: 600; font-size: .9rem; border: 1px solid #FFD5C8;
}
.kd-result {
	background: linear-gradient(160deg, var(--aqua-50) 0%, #F4FBFC 100%); border-radius: var(--radius);
	padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; text-align: center;
	border: 1px solid var(--aqua-100); min-height: 200px;
}
.kd-result__label { font-size: .85rem; font-weight: 700; color: var(--teal); margin: 0 0 4px; }
.kd-result__big { margin: 0; line-height: 1; }
.kd-result__big [data-out="main"] { font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.kd-result__unit { display: block; font-weight: 700; color: var(--muted); font-size: 1rem; margin-top: 6px; }
.kd-result__day { margin: 6px 0 0; font-weight: 700; color: var(--teal); }
.kd-result__date { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 800; margin: 2px 0 0; line-height: 1.25; }
.kd-result__list { list-style: none; margin-top: 14px; display: grid; gap: 6px; font-size: .92rem; color: #374151; }
.kd-result__list li { display: flex; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .75); padding: 7px 12px; border-radius: 10px; text-align: left; }
.kd-result__list b { color: var(--ink); text-align: right; }
.kd-result__note { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.kd-result__note:empty { display: none; }
.kd-result.is-updated { animation: kd-pop .45s var(--ease); }
@keyframes kd-pop { 0% { transform: scale(.98); } 60% { transform: scale(1.01); } 100% { transform: scale(1); } }
.kd-noscript { padding: 16px 24px; margin: 0; background: var(--coral-50); }

/* ---------- Feature cards ---------- */
.kd-features { padding-top: clamp(40px, 5vw, 64px); }
.kd-feature-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kd-feature {
	position: relative; background: #fff; border-radius: var(--radius); padding: 28px 22px 24px; text-align: center;
	border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.kd-feature:hover, .kd-feature:focus-within { transform: translateY(-6px); box-shadow: var(--shadow); }
.kd-feature__icon {
	display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; margin-bottom: 16px;
	background: var(--tone-bg); color: var(--tone-fg);
}
.kd-feature__icon .kd-icon { width: 30px; height: 30px; }
.kd-feature__title { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.kd-feature__title a { color: var(--ink); text-decoration: none; }
.kd-feature p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.kd-feature__go { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--coral-text); }
.kd-feature__go .kd-icon { width: 1em; height: 1em; transition: transform .25s; }
.kd-feature:hover .kd-feature__go .kd-icon { transform: translateX(4px); }
.kd-stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.kd-tone--coral { --tone-bg: var(--coral-50); --tone-fg: #D9502C; }
.kd-tone--aqua { --tone-bg: var(--aqua-50); --tone-fg: var(--teal); }
.kd-tone--teal { --tone-bg: var(--teal); --tone-fg: #fff; }

/* ---------- All in one ---------- */
.kd-allinone { background: linear-gradient(180deg, var(--bg) 0%, var(--aqua-50) 45%, var(--bg) 100%); overflow: hidden; }
.kd-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.kd-split__art { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.kd-split__art::before {
	content: ""; position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(73, 183, 195, .28), rgba(73, 183, 195, 0) 68%); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.kd-phone {
	position: relative; width: min(300px, 78%); aspect-ratio: 9 / 18.5; background: #11252b; border-radius: 42px; padding: 12px;
	box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b444b; transform: rotate(-4deg);
}
.kd-phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #11252b; border-radius: 0 0 14px 14px; z-index: 2; }
.kd-phone__screen { background: #fff; border-radius: 32px; height: 100%; padding: 14px 14px; overflow: hidden; }
.kd-phone__bar { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; margin-bottom: 18px; padding-inline: 8px; }
.kd-phone__sig { width: 34px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 70%, var(--line) 70%); }
.kd-phone__head { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; margin: 6px 0 14px; color: var(--ink); }
.kd-phone__head .kd-icon { width: 16px; height: 16px; color: var(--muted); }
.kd-phone__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 2px; text-align: center; font-size: .72rem; font-weight: 600; }
.kd-phone__cal span { padding: 6px 0; border-radius: 8px; }
.kd-phone__w { color: var(--muted); font-weight: 700; font-size: .62rem; }
.kd-phone__cal .is-range { background: var(--aqua-50); border-radius: 0; color: var(--teal); }
.kd-phone__cal .is-start { background: var(--coral); color: var(--ink); font-weight: 800; }
.kd-phone__cal .is-end { background: var(--teal); color: #fff; font-weight: 800; border-radius: 50%; }
.kd-float-card {
	position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 14px 18px; border: 1px solid var(--line); animation: kd-float 6s ease-in-out infinite;
}
.kd-float-card--result { right: 2%; top: 12%; text-align: center; min-width: 120px; }
.kd-float-card--result strong { display: block; font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--teal); }
.kd-float-card--result span { display: block; font-weight: 800; }
.kd-float-card--result small { color: var(--muted); font-size: .76rem; }
.kd-float-card--range { left: 0; bottom: 10%; display: flex; gap: 10px; align-items: center; font-size: .82rem; font-weight: 700; animation-delay: -3s; }
.kd-float-card--range .kd-icon { color: var(--coral-text); width: 30px; height: 30px; background: var(--coral-50); padding: 6px; border-radius: 10px; box-sizing: content-box; }
.kd-checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.kd-checklist li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.kd-checklist .kd-icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--teal); color: #fff; }
.kd-scribble {
	margin: 26px 0 0 auto; width: max-content; font-style: italic; font-weight: 700; color: var(--teal);
	transform: rotate(-6deg); font-size: 1.15rem; line-height: 1.25; position: relative; padding-left: 52px;
}
.kd-scribble::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 42px; height: 24px; border-top: 2px solid var(--teal);
	border-radius: 50% 50% 0 0; opacity: .7;
}

/* ---------- Why ---------- */
.kd-whysec { position: relative; overflow: hidden; background: radial-gradient(520px 260px at 92% 0%, var(--aqua-50), transparent 70%), radial-gradient(420px 220px at 4% 100%, var(--coral-50), transparent 70%); }
.kd-whysec .kd-container { position: relative; }
.kd-hl-dot { color: var(--ink); margin-left: -0.08em; }
.kd-why-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kd-why {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; overflow: hidden;
}
.kd-why::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--aqua-50); top: -60px; right: -40px; transition: transform .4s var(--ease); }
.kd-why:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kd-why:hover::before { transform: scale(1.4); }
.kd-why__icon { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--aqua-50); color: var(--teal); margin-bottom: 14px; }
.kd-why:nth-child(even) .kd-why__icon { background: var(--coral-50); color: #D9502C; }
.kd-why__icon .kd-icon { width: 28px; height: 28px; }
.kd-why h3 { font-size: 1.05rem; font-weight: 800; position: relative; }
.kd-why p { color: var(--muted); font-size: .92rem; margin: 0; position: relative; }

/* ---------- Steps ---------- */
.kd-steps { background: #fff; }
.kd-steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: s; }
.kd-steps__list::before {
	content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px;
	background: repeating-linear-gradient(90deg, var(--aqua) 0 8px, transparent 8px 16px); z-index: 0;
}
.kd-step {
	position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 22px 20px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.kd-step:hover { transform: translateY(-4px); border-color: var(--aqua); box-shadow: var(--shadow); }
.kd-step__num { font-size: 1.9rem; font-weight: 800; color: var(--teal); letter-spacing: -.03em; display: block; line-height: 1; }
.kd-step__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 14px auto; border-radius: 50%; background: var(--aqua-50); color: var(--teal); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--aqua-100); }
.kd-step:nth-child(even) .kd-step__icon { background: var(--coral-50); color: #D9502C; box-shadow: 0 0 0 1px #FFD5C8; }
.kd-step h3 { font-size: 1.02rem; font-weight: 800; text-align: center; margin-bottom: 6px; }
.kd-step p { font-size: .9rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- CTA ---------- */
.kd-cta {
	display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 36px); align-items: center;
	background: linear-gradient(110deg, var(--teal) 0%, #1A8794 55%, var(--aqua) 100%);
	border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 52px); color: #fff; position: relative; overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.kd-cta::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); right: -120px; top: -160px; }
.kd-cta__art { width: 130px; }
.kd-cta h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; margin-bottom: 6px; }
.kd-cta p { margin: 0; color: rgba(255, 255, 255, .92); max-width: 560px; }
.kd-cta .kd-btn { position: relative; z-index: 1; }

/* ---------- Bento ---------- */
.kd-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kd-bento__item {
	background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.kd-bento__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.kd-bento__media { aspect-ratio: 16 / 9.5; overflow: hidden; }
.kd-bento__media svg { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.kd-bento__item:hover .kd-bento__media svg { transform: scale(1.05); }
.kd-bento__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.kd-bento__body h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; }
.kd-bento__body p { font-size: .9rem; color: var(--muted); flex: 1; }

/* ---------- Prose ---------- */
.kd-prose { font-size: 1.02rem; color: #374151; }
.kd-prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); font-weight: 800; margin-top: 1.6em; }
.kd-prose h2:first-child { margin-top: 0; }
.kd-prose h3 { font-size: 1.15rem; font-weight: 800; margin-top: 1.4em; color: var(--teal-900); }
.kd-prose ul, .kd-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.kd-prose li { margin-bottom: .45em; }
.kd-prose li::marker { color: var(--teal); font-weight: 700; }
.kd-prose strong { color: var(--ink); }
.kd-prose a { font-weight: 600; }
.kd-prose code { background: var(--aqua-50); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.kd-prose img { border-radius: var(--radius); }
.kd-card-prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.kd-home-prose .kd-prose { text-align: center; }
.kd-home-prose .kd-prose h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }

/* ---------- FAQ ---------- */
.kd-faq { background: linear-gradient(180deg, var(--bg), #fff); }
.kd-faq__intro {
	display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
	background: linear-gradient(120deg, var(--aqua-50), #F3FBFC); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 48px);
	margin-bottom: clamp(40px, 5vw, 64px); border: 1px solid var(--aqua-100);
}
.kd-faq__art svg { width: 100%; max-width: 300px; }
.kd-faq__kicker { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.kd-faq__lead { color: #4B5563; max-width: 560px; }
.kd-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
.kd-faq__col { display: grid; gap: 14px; }
.kd-acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.kd-acc:hover { border-color: var(--aqua-100); }
.kd-acc.is-open { border-color: var(--aqua); box-shadow: var(--shadow-sm); }
.kd-acc__h { margin: 0; font-size: 1rem; }
.kd-acc__btn {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left;
	padding: 16px 18px; background: transparent; border: 0; font-weight: 700; font-size: .96rem; color: var(--ink); border-radius: var(--radius-sm);
}
.kd-acc__btn .kd-icon { color: var(--teal); transition: transform .3s var(--ease); }
.kd-acc__btn[aria-expanded="true"] .kd-icon { transform: rotate(180deg); }
.kd-acc__panel { padding: 0 18px 16px; color: #4B5563; font-size: .95rem; }
.kd-acc__panel p { margin: 0; }

/* ---------- Articles ---------- */
.kd-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kd-post-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.kd-post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.kd-post-card__media { display: block; aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--aqua-50); }
.kd-post-card__media img, .kd-post-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kd-post-card:hover .kd-post-card__media img, .kd-post-card:hover .kd-post-card__media svg { transform: scale(1.05); }
.kd-post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; align-items: flex-start; }
.kd-post-card__title { font-size: 1.05rem; font-weight: 800; margin: 0; }
.kd-post-card__title a { color: var(--ink); text-decoration: none; }
.kd-post-card__title a:hover { color: var(--teal); }
.kd-post-card__excerpt { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.kd-empty { color: var(--muted); }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.page-numbers.current { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- Internal page hero ---------- */
.kd-phero {
	position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 60px); overflow: hidden;
	background: radial-gradient(50% 80% at 90% 20%, rgba(73, 183, 195, .2), transparent 70%), linear-gradient(180deg, #F0FAFB, var(--bg));
}
.kd-phero.kd-tone--coral { background: radial-gradient(50% 80% at 90% 20%, rgba(255, 122, 89, .14), transparent 70%), linear-gradient(180deg, #FFF7F4, var(--bg)); }
.kd-phero__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.kd-phero__text { max-width: 760px; }
.kd-phero__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.kd-phero__desc { color: #4B5563; font-size: 1.05rem; margin: 0; max-width: 640px; }
.kd-phero__badge { position: relative; flex: none; width: 140px; height: 140px; display: grid; place-items: center; border-radius: 40px; background: #fff; box-shadow: var(--shadow); color: var(--tone-fg, var(--teal)); transform: rotate(6deg); }
.kd-phero__badge .kd-icon { width: 64px; height: 64px; }
.kd-tone--teal .kd-phero__badge { color: var(--teal); }
.kd-phero__ring { position: absolute; inset: -16px; border-radius: 52px; border: 2px dashed var(--aqua); opacity: .6; animation: kd-spin 30s linear infinite; }
@keyframes kd-spin { to { transform: rotate(360deg); } }
.kd-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 16px; color: var(--muted); }
.kd-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #A0AEC0; }
.kd-breadcrumb a { color: var(--muted); text-decoration: none; }
.kd-breadcrumb a:hover { color: var(--teal); text-decoration: underline; }
.kd-breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Tool pages ---------- */
.kd-tool-box { margin-top: -10px; position: relative; z-index: 2; }
.kd-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.kd-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.kd-aside__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.kd-aside__title { font-size: 1rem; font-weight: 800; display: flex; gap: 8px; align-items: center; color: var(--teal); }
.kd-aside__list { list-style: none; display: grid; gap: 10px; font-size: .92rem; color: #4B5563; }
.kd-aside__list li { padding-left: 20px; position: relative; }
.kd-aside__list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.kd-aside__tools { list-style: none; display: grid; gap: 6px; }
.kd-aside__tools a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); font-size: .92rem; }
.kd-aside__tools a:hover { background: var(--aqua-50); color: var(--teal); }
.kd-aside__tools .kd-icon { color: var(--teal); }
.kd-aside__cta {
	display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); text-decoration: none;
	background: linear-gradient(120deg, var(--teal), var(--aqua)); color: #fff;
}
.kd-aside__cta:hover { color: #fff; filter: brightness(1.05); }
.kd-aside__cta .kd-icon { width: 34px; height: 34px; }
.kd-aside__cta strong, .kd-aside__cta small { display: block; }
.kd-aside__cta small { opacity: .9; }
.kd-toolnav { background: #fff; padding-block: clamp(40px, 5vw, 64px); }
.kd-toolnav__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kd-toolnav__item {
	display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink); background: var(--bg); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; height: 100%;
}
.kd-toolnav__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--aqua); color: var(--ink); }
.kd-toolnav__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--tone-bg); color: var(--tone-fg); }
.kd-toolnav__item strong { display: block; font-size: .98rem; }
.kd-toolnav__item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.kd-toolnav__arrow { margin-left: auto; color: var(--coral-text); transition: transform .25s; }
.kd-toolnav__item:hover .kd-toolnav__arrow { transform: translateX(4px); }
.kd-archive-cta { display: flex; gap: 10px; align-items: center; background: var(--aqua-50); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; margin-bottom: 28px; }
.kd-archive-cta .kd-icon { color: var(--teal); }

/* ---------- Calendar ---------- */
.kd-cal { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.kd-cal__main { padding: clamp(18px, 3vw, 32px); }
.kd-cal__toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.kd-cal__selects { display: flex; gap: 8px; flex: 1; min-width: 200px; }
.kd-cal__selects select { flex: 1.4; }
.kd-cal__selects input { flex: 1; max-width: 120px; }
.kd-cal__caption { font-weight: 800; font-size: 1.2rem; margin: 0 0 12px; color: var(--teal); }
.kd-cal__table { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.kd-cal__table th { font-size: .78rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.kd-cal__table th.is-weekend { color: #D9502C; }
.kd-cal__table td { padding: 0; }
.kd-cal__day {
	position: relative; width: 100%; aspect-ratio: 1 / .9; min-height: 40px; border-radius: 14px; border: 1.5px solid transparent;
	background: var(--bg); font-weight: 700; font-size: .95rem; color: var(--ink); transition: all .2s;
}
.kd-cal__day:hover { border-color: var(--aqua); background: var(--aqua-50); }
.kd-cal__day.is-weekend { color: #B4431F; background: #FFF8F5; }
.kd-cal__day.is-out { opacity: .38; }
.kd-cal__day.is-today { background: var(--teal); color: #fff; }
.kd-cal__day.is-selected { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-50); }
.kd-cal__day.has-note::after { content: ""; position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.kd-cal__day.is-today.has-note::after { background: #fff; }
.kd-cal__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.kd-cal__legend li { display: inline-flex; gap: 6px; align-items: center; }
.kd-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.kd-dot--today { background: var(--teal); }
.kd-dot--sel { border: 2px solid var(--coral); }
.kd-dot--note { background: var(--coral); border-radius: 50%; }
.kd-dot--weekend { background: #FFE6DD; }
.kd-cal__side { background: linear-gradient(180deg, var(--aqua-50), #F6FCFD); padding: clamp(18px, 3vw, 28px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.kd-cal__side-title { font-size: 1.1rem; font-weight: 800; margin: 0; }
.kd-cal__selected { margin: 0; font-weight: 700; color: var(--teal); }
.kd-cal__form { display: grid; gap: 10px; }
.kd-cal__form textarea { min-height: 90px; resize: vertical; }
.kd-cal__list-title { font-size: .95rem; font-weight: 800; margin: 8px 0 0; }
.kd-cal__notes { list-style: none; display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.kd-cal__notes li { display: flex; gap: 10px; align-items: flex-start; background: #fff; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: .9rem; }
.kd-cal__notes time { font-weight: 800; color: var(--teal); white-space: nowrap; }
.kd-cal__notes p { margin: 0; flex: 1; word-break: break-word; }
.kd-cal__notes button { border: 0; background: transparent; color: #9A3412; padding: 2px; border-radius: 6px; }
.kd-cal__notes .kd-empty-note { color: var(--muted); background: transparent; border: 1px dashed var(--line); }
.kd-cal__privacy { display: flex; gap: 8px; font-size: .8rem; color: var(--muted); margin: auto 0 0; }
.kd-cal__privacy .kd-icon { color: var(--teal); }

/* ---------- Contact ---------- */
.kd-contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.kd-contact { display: grid; gap: 16px; }
.kd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kd-optional { color: var(--muted); font-weight: 500; }
.kd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kd-form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.kd-alert { padding: 12px 16px; border-radius: 12px; font-weight: 600; margin: 0; }
.kd-alert--ok { background: #E7F7EE; color: #14532D; }
.kd-alert--err { background: var(--coral-50); color: #9A3412; }
.kd-contact-tips { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin-top: 20px !important; }
.kd-contact-tips li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 !important; }
.kd-contact-tips .kd-icon { color: var(--teal); margin-top: 3px; }

/* ---------- Search list / 404 ---------- */
.kd-search-list { list-style: none; display: grid; gap: 14px; }
.kd-search-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.kd-search-list a { text-decoration: none; font-size: 1.05rem; }
.kd-search-list p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.kd-404 { padding: clamp(56px, 8vw, 110px) 0; text-align: center; }
.kd-404__num { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -.05em; margin-bottom: 12px; }
.kd-404__num span { color: var(--coral-hl); }
.kd-404__cta { justify-content: center; }
.kd-404 .kd-lead { max-width: 560px; margin-inline: auto; }

/* ---------- Footer ---------- */
.kd-footer { position: relative; background: var(--teal-900); color: rgba(255, 255, 255, .86); margin-top: 40px; padding-top: clamp(48px, 6vw, 72px); }
.kd-footer__wave { position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: var(--teal-900); clip-path: ellipse(60% 100% at 50% 100%); }
.kd-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 40px; }
.kd-footer .kd-logo img { width: 160px; margin-bottom: 14px; }
.kd-footer__brand p { font-size: .92rem; max-width: 340px; }
.kd-footer__title { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
.kd-footer__list { list-style: none; display: grid; gap: 9px; }
.kd-footer__list a { color: rgba(255, 255, 255, .86); text-decoration: none; font-size: .92rem; }
.kd-footer__list a:hover { color: #fff; text-decoration: underline; }
.kd-social { list-style: none; display: flex; gap: 10px; margin-top: 8px; }
.kd-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s, transform .2s; }
.kd-social a:hover { background: var(--coral); color: var(--ink); transform: translateY(-2px); }
.kd-social .kd-icon { width: 20px; height: 20px; }
.kd-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 20px; font-size: .86rem; }
.kd-footer__bottom p { margin: 0; }
.kd-footer__tag { font-style: italic; }
.kd-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center; background: var(--coral); color: var(--ink); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.kd-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.kd-totop:hover { color: var(--ink); background: #FF8C70; }

/* ---------- Reveal ---------- */
.kd-js .kd-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.kd-js .kd-reveal.is-in { opacity: 1; transform: none; }

/* WP core helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
.kd-single__thumb { margin: 0 0 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.kd-menu a { padding: 10px 8px; font-size: .84rem; }
	.kd-logo img { width: 132px; }
}
@media (max-width: 1023px) {
	:root { --header-h: 68px; }
	.kd-menu-toggle { display: inline-grid; }
	.kd-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -20px rgba(14, 95, 107, .35); padding: 8px var(--gutter) 20px;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease);
	}
	.kd-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.kd-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.kd-menu a { padding: 14px 12px; font-size: 1rem; }
	.kd-menu a::after { left: 12px; right: auto; width: 28px; bottom: 6px; }
	.kd-header__actions { margin-left: auto; }
	.kd-hero__inner { grid-template-columns: 1fr; }
	.kd-hero__art { max-width: 520px; margin-inline: auto; width: 100%; }
	.kd-calc__form { grid-template-columns: 1fr; }
	.kd-feature-grid, .kd-why-grid, .kd-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kd-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kd-steps__list::before { display: none; }
	.kd-split { grid-template-columns: 1fr; }
	.kd-split__art { max-width: 480px; margin-inline: auto; width: 100%; }
	.kd-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kd-content-layout { grid-template-columns: 1fr; }
	.kd-aside { position: static; grid-template-columns: 1fr 1fr; }
	.kd-toolnav__list { grid-template-columns: 1fr; }
	.kd-cal { grid-template-columns: 1fr; }
	.kd-cal__side { border-left: 0; border-top: 1px solid var(--line); }
	.kd-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.kd-footer__brand { grid-column: 1 / -1; }
	.kd-contact-layout { grid-template-columns: 1fr; }
	.kd-faq__intro { grid-template-columns: 220px 1fr; }
}
@media (max-width: 767px) {
	.kd-section { padding-block: 52px; }
	.kd-logo img { width: 124px; }
	.kd-hero { padding-bottom: 110px; }
	.kd-hero__cta .kd-btn { flex: 1 1 auto; }
	.kd-calc__tabs { display: flex; }
	.kd-calc__tab { flex: 0 0 auto; padding: 15px 16px; }
	.kd-date-pair { grid-template-columns: 1fr; }
	.kd-swap { justify-self: center; transform: rotate(90deg); width: 44px; height: 44px; }
	.kd-swap:hover { transform: rotate(270deg); }
	.kd-date-pair--plain { grid-template-columns: 1fr; }
	.kd-tambah-row { grid-template-columns: 1fr 1fr; }
	.kd-tambah-row .kd-seg { grid-column: 1 / -1; }
	.kd-feature-grid, .kd-why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.kd-feature { padding: 20px 14px; }
	.kd-feature__icon { width: 52px; height: 52px; }
	.kd-feature p { font-size: .84rem; }
	.kd-steps__list { grid-template-columns: 1fr; gap: 14px; padding-left: 22px; }
	.kd-steps__list::before { display: block; top: 20px; bottom: 20px; left: 8px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--aqua) 0 8px, transparent 8px 16px); }
	.kd-step { display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "num icon title" "num icon text"; column-gap: 14px; align-items: center; }
	.kd-step__num { grid-area: num; font-size: 1.4rem; }
	.kd-step__icon { grid-area: icon; margin: 0; width: 48px; height: 48px; }
	.kd-step h3 { grid-area: title; text-align: left; margin: 0; }
	.kd-step p { grid-area: text; text-align: left; }
	.kd-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.kd-cta__art { width: 100px; }
	.kd-bento { grid-template-columns: 1fr; }
	.kd-post-grid { grid-template-columns: 1fr; }
	.kd-faq__grid { grid-template-columns: 1fr; }
	.kd-faq__intro { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.kd-faq__art svg { max-width: 220px; }
	.kd-phero__inner { flex-direction: column; align-items: flex-start; }
	.kd-phero__badge { display: none; }
	.kd-aside { grid-template-columns: 1fr; }
	.kd-footer__grid { grid-template-columns: 1fr 1fr; }
	.kd-field-row { grid-template-columns: 1fr; }
	.kd-float-card--result { right: 0; top: 4%; padding: 10px 14px; min-width: 96px; }
	.kd-float-card--result strong { font-size: 2rem; }
	.kd-float-card--range { left: 0; bottom: 4%; font-size: .74rem; }
	.kd-scribble { display: none; }
	.kd-cal__table { border-spacing: 3px; }
	.kd-cal__day { border-radius: 10px; font-size: .88rem; min-height: 36px; }
	.kd-section-head--row { align-items: flex-start; }
}
@media (max-width: 420px) {
	.kd-feature-grid, .kd-why-grid { grid-template-columns: 1fr; }
	.kd-footer__grid { grid-template-columns: 1fr; }
	.kd-tambah-row { grid-template-columns: 1fr; }
	.kd-trust { gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.kd-js .kd-reveal { opacity: 1; transform: none; }
}
@media print {
	.kd-header, .kd-footer, .kd-totop, .kd-cta, .kd-toolnav { display: none !important; }
}

[data-result].is-stale { opacity: .35; filter: grayscale(.6); transition: opacity .2s; }

/* ==========================================================
   One-page tool sections (#kalkulator-selisih-tanggal/ …)
   ========================================================== */
.kd-tsec { position: relative; overflow-x: clip; padding: clamp(56px, 7vw, 96px) 0; }
.kd-tsec .kd-h2 { margin-bottom: 12px; }
.kd-tsec__rules { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.kd-tsec__rules li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #374151; }
.kd-tsec__rules .kd-icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 2.6; margin-top: 1px; }
.kd-tone--coral .kd-tsec__rules .kd-icon { background: var(--coral); }

/* wide: panel overlaps hero (mockup composition) */
.kd-tsec--wide { padding-top: 0; }
.kd-tsec--wide .kd-tsec__panel { margin-top: clamp(-110px, -9vw, -80px); position: relative; z-index: 2; }
.kd-tsec--wide .kd-tsec__below { margin-top: clamp(36px, 5vw, 56px); }
.kd-tsec--wide .kd-tsec__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 64px); align-items: start; }
.kd-tsec--wide .kd-tsec__text > * { grid-column: 1; }
.kd-tsec--wide .kd-tsec__text > .kd-tsec__rules { margin-top: 6px; }
.kd-tsec--wide .kd-tsec__text > .kd-more { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }

/* split layouts */
.kd-tsec__split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.kd-tsec--text-right .kd-tsec__split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.kd-tsec__split .kd-calc__form { grid-template-columns: 1fr; }
.kd-tsec--text-left { background: linear-gradient(180deg, rgba(234, 248, 250, .75), rgba(234, 248, 250, 0)); }
.kd-tsec--text-left::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -120px; top: 40px; background: radial-gradient(circle, rgba(73, 183, 195, .18), transparent 70%); pointer-events: none; }
.kd-tsec--text-right .kd-tsec__panel { position: relative; }
.kd-tsec--text-right .kd-tsec__panel::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: var(--radius-lg); background: var(--coral-50); z-index: -1; }
.kd-tsec__split .kd-calc__tabs { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }

/* full (calendar) */
.kd-tsec--full { background: radial-gradient(600px 300px at 10% 0%, var(--coral-50), transparent 70%), radial-gradient(600px 320px at 100% 100%, var(--aqua-50), transparent 70%); }
.kd-tsec--full .kd-tsec__head .kd-tsec__text { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(28px, 5vw, 64px); align-items: end; margin-bottom: clamp(24px, 4vw, 40px); }
.kd-tsec--full .kd-tsec__text > * { grid-column: 1; }
.kd-tsec--full .kd-tsec__text > .kd-tsec__rules { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kd-tsec--full .kd-tsec__text > .kd-more { grid-column: 1 / -1; }

/* expandable explanation */
.kd-more { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kd-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 700; color: var(--teal); }
.kd-more summary::-webkit-details-marker { display: none; }
.kd-more summary:hover { background: var(--aqua-50); }
.kd-more summary:focus-visible { outline: 3px solid var(--aqua); outline-offset: -3px; }
.kd-more summary span { flex: 1; }
.kd-more__chev { transition: transform .25s var(--ease); }
.kd-more[open] .kd-more__chev { transform: rotate(180deg); }
.kd-more__body { padding: 4px 20px 18px; font-size: .96rem; border-top: 1px solid var(--line); max-height: 520px; overflow-y: auto; }
.kd-more__body h3 { font-size: 1.12rem; margin-top: 1.2em; }
.kd-more__body h4 { font-size: 1rem; margin-top: 1em; }

@media (max-width: 1023px) {
	.kd-tsec__split, .kd-tsec--text-right .kd-tsec__split { grid-template-columns: 1fr; }
	.kd-tsec--text-right .kd-tsec__panel { order: 2; }
	.kd-tsec--wide .kd-tsec__text, .kd-tsec--full .kd-tsec__head .kd-tsec__text { grid-template-columns: 1fr; }
	.kd-tsec--wide .kd-tsec__text > .kd-more, .kd-tsec--full .kd-tsec__text > .kd-tsec__rules { grid-column: 1; grid-row: auto; }
	.kd-tsec--full .kd-tsec__text > .kd-tsec__rules { margin-top: 16px; }
	.kd-tsec--text-right .kd-tsec__panel::before { display: none; }
}
.kd-tsec__text > .kd-eyebrow { justify-self: start; }
