/* TaniTerm product page. Loaded only on that page; builds on the Tanicom theme's tokens. */

.taniterm-landing .wp-block-post-title { display: none; }
.taniterm-landing main.tc-main { padding-top: 0 !important; }
.taniterm-landing main.tc-main > .alignfull:first-child { margin-top: 0; }

/* ---------- Hero ---------- */
.tt-hero {
	position: relative;
	padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 40px) 0 !important;
	text-align: center;
	background:
		radial-gradient(60% 55% at 50% 0%, rgba(201, 162, 39, .18), transparent 70%),
		radial-gradient(45% 40% at 85% 35%, rgba(79, 227, 154, .10), transparent 70%),
		linear-gradient(180deg, var(--tc-ink, #0E141B) 0%, var(--tc-navy, #16202B) 100%) !important;
	overflow: visible !important;
}
.tt-hero .tc-kicker { justify-content: center; }
.tt-hero h1 {
	max-width: 18ch;
	margin: 0 auto 20px !important;
	font-size: clamp(2.4rem, 5.2vw, 4.2rem);
	line-height: 1.05;
	letter-spacing: -.02em;
}
.tt-hero h1 mark { background: none; color: var(--tc-gold, #C9A227); }
.tt-hero .tc-lede { margin: 0 auto 30px !important; color: #B9C3CD; }
.tt-hero .wp-block-buttons { justify-content: center; gap: 12px; }
.tt-hero .tc-muted { color: #8D99A6 !important; text-align: center; }
.tt-hero .tt-shot { max-width: 1120px; margin: 44px auto -110px !important; position: relative; z-index: 2; }

/* Screenshots */
.tt-shot { margin: 0; }
.tt-shot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 2px 6px rgba(14, 20, 27, .12), 0 40px 90px -30px rgba(14, 20, 27, .55);
}

/* ---------- Highlights under the hero ---------- */
.tt-after-hero { padding-top: calc(110px + clamp(48px, 6vw, 80px)) !important; }
.tt-pills { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 auto !important; }
.tt-pills > * { margin: 0 !important; }
.tt-pill {
	padding: 18px 20px !important;
	border: 1px solid var(--tc-line, #E4E1D8);
	border-radius: 14px;
	background: #fff;
}
.tt-pill strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; color: var(--tc-ink, #0E141B); }
.tt-pill span { color: var(--tc-muted, #5D6671); font-size: .92rem; }

/* ---------- Alternating feature rows ---------- */
.tt-row { gap: clamp(28px, 5vw, 64px) !important; align-items: center !important; margin-block: clamp(56px, 8vw, 104px) !important; }
.tt-row h2 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; letter-spacing: -.01em; }
.tt-row p { color: var(--tc-muted, #5D6671); font-size: 1.05rem; }
.tt-row ul { list-style: none; padding: 0; margin: 18px 0 0; }
.tt-row li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--tc-text, #28303A); }
.tt-row li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
	background: var(--tc-gold, #C9A227) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230E141B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Pricing ---------- */
.tt-price {
	max-width: 560px;
	margin: 0 auto !important;
	padding: clamp(28px, 4vw, 44px) !important;
	text-align: center;
	background: #fff;
	border: 1px solid var(--tc-line, #E4E1D8);
	border-radius: 20px;
	box-shadow: var(--tc-shadow-lg, 0 28px 60px -20px rgba(14, 20, 27, .35));
}
.tt-price .tt-amount { font-family: var(--wp--preset--font-family--heading); font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; color: var(--tc-ink, #0E141B); margin: 6px 0 2px !important; line-height: 1; }
.tt-price .tt-amount-note { color: var(--tc-muted, #5D6671); margin: 0 0 20px !important; }
.tt-price ul { list-style: none; padding: 0; margin: 0 auto 26px; display: inline-block; text-align: left; }
.tt-price li { position: relative; padding-left: 26px; margin: 7px 0; }
.tt-price li::before { content: "✓"; position: absolute; left: 0; color: var(--tc-gold-deep, #8F7212); font-weight: 800; }
.tt-price .wp-block-buttons { justify-content: center; }

/* Sale */
.tt-price .tt-sale-tag { display: inline-block; margin: 0 0 10px !important; padding: 5px 12px; border-radius: 999px; background: #C8312B; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tt-price .tt-amount--sale del { font-size: .5em; font-weight: 600; color: var(--tc-muted, #5D6671); text-decoration-thickness: 2px; text-decoration-color: #C8312B; margin-right: 8px; vertical-align: middle; }
.tt-price .tt-amount--sale ins { text-decoration: none; color: #C8312B; }
.tt-price .tt-sale-ends { color: #C8312B; font-weight: 600; font-size: .92rem; margin: 6px 0 0 !important; }
.wp-block-button__link .tt-was { opacity: .7; font-weight: 500; text-decoration-thickness: 2px; }
.tt-price .tt-final-sale { font-size: .9rem; color: var(--tc-muted, #5D6671); max-width: 44ch; margin: 22px auto 0 !important; }
.tt-price .tt-legal { font-size: .82rem; margin: 10px 0 0 !important; }
.tt-price .tt-legal a { color: var(--tc-muted, #5D6671); }

/* ---------- Final call to action ---------- */
.tt-final { text-align: center; }
.tt-final h2 { margin: 0 auto 12px; max-width: 20ch; }
.tt-final .wp-block-buttons { justify-content: center; }
.tt-final .tc-muted { text-align: center; }

.taniterm-landing .wp-block-details { border-bottom: 1px solid var(--tc-line, #E4E1D8); padding: 14px 0; }
.taniterm-landing .wp-block-details summary { font-family: var(--wp--preset--font-family--heading); font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
	.tt-pills { grid-template-columns: repeat(2, 1fr); }
	.tt-hero .tt-shot { margin-bottom: -60px !important; }
	.tt-after-hero { padding-top: calc(60px + 48px) !important; }
}
@media (max-width: 560px) {
	.tt-pills { grid-template-columns: 1fr; }
}

/* Platform badge at the top of each page ("TaniTerm for Mac" / "TaniTerm for Windows") */
.tt-hero .tt-platform, .tt-hero p.tc-kicker:first-child {
	display: inline-flex !important; align-items: center; gap: 10px;
	padding: 8px 18px !important; margin-bottom: 22px !important;
	border: 1.5px solid var(--tc-gold, #C9A227); border-radius: 999px;
	background: rgba(201, 162, 39, .12);
	color: #F1D36B !important; font-size: 1rem !important; font-weight: 800 !important; letter-spacing: .14em !important;
	box-shadow: 0 0 0 6px rgba(201, 162, 39, .06), 0 8px 24px -10px rgba(201, 162, 39, .55);
}
.tt-hero .tt-platform::before, .tt-hero p.tc-kicker:first-child::before { display: none !important; }

/* Short header on the TaniTerm pages: logo (full website), Mac | Windows, Buy. */
.tt-mini-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid rgba(14,20,27,.08); }
.tt-mini-inner { max-width: 1280px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px); box-sizing: border-box; display: flex; align-items: center; gap: 20px; }
.tt-mini-logo img { height: 40px; width: auto; display: block; }
.tt-mini-switch { margin: 0 auto; display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: #f1f3f5; }
.tt-mini-switch a { padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: #3b4652; text-decoration: none; white-space: nowrap; }
.tt-mini-switch a:hover { color: #0e141b; }
.tt-mini-switch a.is-current { background: #0e141b; color: #fff; }
.tt-mini-buy { padding: 9px 20px; border-radius: 999px; background: #22c55e; color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tt-mini-buy:hover { filter: brightness(.95); }
@media (max-width: 640px) {
	.tt-mini-inner { flex-wrap: wrap; gap: 10px; }
	.tt-mini-logo img { height: 32px; }
	.tt-mini-switch { order: 3; width: 100%; justify-content: center; margin: 0; }
	.tt-mini-switch a { padding: 6px 12px; font-size: .85rem; }
	.tt-mini-buy { margin-left: auto; }
}

/* How-to videos: 2 x 2, one column on phones */
.tt-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin: 8px 0 64px; }
.tt-videos .tt-video { margin: 0; }
.tt-videos video { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; background: #0e141b; box-shadow: 0 18px 40px -22px rgba(14,20,27,.55); }
.tt-videos figcaption { text-align: left; margin-top: 10px; font-size: .95rem; color: var(--tc-muted, #55606c); }
.tt-videos figcaption strong { display: block; color: inherit; font-size: 1.02rem; color: var(--tc-ink, #0e141b); }
@media (max-width: 640px) { .tt-videos { grid-template-columns: 1fr; } }

/* Short footer on the TaniTerm pages: TaniTerm links and legal links only. */
.tt-mini-footer { background: #0e141b; color: #9aa7b4; font-size: .9rem; margin-top: 0; }
.tt-mini-footer .tt-mini-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 28px; padding-bottom: 28px; }
.tt-mini-foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tt-mini-foot-links a { color: #e8edf2; text-decoration: none; font-weight: 600; }
.tt-mini-foot-links a:hover { color: #22c55e; }
.tt-mini-foot-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.tt-mini-foot-legal a, .tt-mini-foot-legal button { color: #9aa7b4; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.tt-mini-foot-legal a:hover, .tt-mini-foot-legal button:hover { color: #fff; }

/* Support page */
.tt-support { max-width: 720px; margin: 0 auto; padding: 56px 0 72px; }
.tt-support h1 { margin: 0 0 6px; }
.tt-support-lede { color: var(--tc-muted, #55606c); margin: 0 0 18px; }
.tt-support-form { margin-top: 36px; border: 1px solid var(--tc-line, #E4E1D8); border-radius: 12px; padding: 14px 18px; }
.tt-support-form summary { font-weight: 700; cursor: pointer; }
.tt-support-form label { display: block; font-weight: 600; font-size: .95rem; }
.tt-support-form input, .tt-support-form select, .tt-support-form textarea { width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 12px; border: 1px solid #cfd5db; border-radius: 8px; font: inherit; font-weight: 400; }
.tt-support-send { padding: 11px 22px; border: 0; border-radius: 999px; background: #0e141b; color: #fff; font-weight: 700; cursor: pointer; }
.tt-support-note { border-radius: 10px; padding: 12px 14px; }
.tt-support-ok { background: #e7f6ec; }
.tt-support-err { background: #fdecec; }
.tt-hp { position: absolute !important; left: -9999px !important; }

/* TaniTerm for IT page (the IT guide) */
.tt-it { max-width: 820px; }
.tt-it .lede { color: var(--tc-muted, #55606c); }
.tt-it h2 { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--tc-line, #E4E1D8); font-size: 1.35rem; }
.tt-it table { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: .95rem; }
.tt-it th, .tt-it td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--tc-line, #E4E1D8); vertical-align: top; }
.tt-it th { color: var(--tc-muted, #55606c); font-weight: 600; }
.tt-it pre, .tt-it code { font: 13px ui-monospace, Menlo, Consolas, monospace; background: #f3f5f7; border-radius: 6px; }
.tt-it code { padding: 1px 5px; overflow-wrap: anywhere; }
.tt-it pre { padding: 12px 14px; overflow-x: auto; }
.tt-it .box { border: 1px solid var(--tc-line, #E4E1D8); border-radius: 10px; padding: 12px 16px; margin: 14px 0; }
.tt-it-download { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 8px; }
.tt-it-download a { text-decoration: none; display: inline-block; }
.tt-it-download span { color: var(--tc-muted, #55606c); font-size: .92rem; }
@media (max-width: 640px) { .tt-it table { display: block; overflow-x: auto; } }
