body.template-seaglass {
    --sg-header-height: 63px;
    --ink: #1d1d1f;
    --muted: #525b66;
    --blue: #0066cc;
    --line: #dce3ec;
    --surface: #f5f7fa;
    margin: 0;
    background: #f8fafc;
    color: var(--ink);
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    overflow-wrap: anywhere;
}

.template-seaglass *, .template-seaglass *::before, .template-seaglass *::after { box-sizing: border-box; }
.template-seaglass :where(h1, h2, h3, p, dl, dd, ul) { margin: 0; }
.template-seaglass h1 { font-size: 36px; line-height: 1.2; letter-spacing: -.035em; }
.template-seaglass h2 { font-size: 28px; line-height: 1.28; letter-spacing: -.025em; }
.template-seaglass h3 { font-size: 20px; line-height: 1.4; }
.template-seaglass a { color: var(--blue); text-decoration: none; }
.template-seaglass a:focus-visible, .template-seaglass summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.template-seaglass img { max-width: 100%; height: auto; }
.template-seaglass [id] { scroll-margin-top: 100px; }
.sg-shell { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.sg-skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 8px 16px; background: #fff; transform: translateY(-200%); }
.sg-skip:focus { transform: none; }

.sg-header {
    position: sticky;
    top: 0;
    z-index: 3;
    border-bottom: 1px solid #e6e9ed;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(24px) saturate(150%);
}
.sg-menubar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 22px; min-height: calc(var(--sg-header-height) - 1px); }
.sg-brand { display: inline-flex; align-items: center; justify-self: start; min-width: 0; font-size: 18px; font-weight: 750; letter-spacing: -.025em; }
.sg-menubar .sg-brand { color: var(--ink); }
.sg-menubar ul, .sg-footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; list-style: none; }
.sg-menubar nav a, .sg-footer nav a { display: inline-block; padding: 5px 0; color: var(--muted); font-size: 14px; }
.sg-menubar nav a:hover, .sg-footer nav a:hover, .sg-menubar nav a[aria-current] { color: var(--blue); }
.sg-intro a:focus-visible { outline-color: #fff; }
.template-seaglass .sg-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: background-color .2s;
}
.template-seaglass .sg-button:hover { background: #004f9f; }
.template-seaglass .sg-button-small { justify-self: end; padding: 6px 15px; font-size: 14px; }
.sg-text-link { font-weight: 600; }
.sg-text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.sg-notice { padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #ffffffba; text-align: center; }
.sg-notice a { text-decoration: underline; }

.sg-intro { min-width: 0; color: #fff; }
.sg-intro h1 { text-wrap: balance; text-shadow: 0 2px 20px #061829b3; }
.sg-intro-subtitle { max-width: 510px; margin-top: 18px; font-size: 22px; color: #f4f8ff; text-wrap: pretty; }
.sg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.sg-actions .sg-button { background: #fff; color: #07355f; }
.sg-actions > a { min-height: 48px; }
.sg-actions .sg-button:hover { background: #e2f1ff; }
.sg-actions .sg-text-link { display: inline-block; padding: 9px 18px; border: 1px solid #ffffff85; border-radius: 999px; color: #fff; background: #071f3950; }
.sg-actions .sg-text-link:hover { background: #071f3980; }
.sg-wallpaper {
    display: grid;
    place-items: center;
    min-height: calc(100vh - var(--sg-header-height));
    min-height: calc(100svh - var(--sg-header-height));
    padding: clamp(52px, 10vh, 112px) 0;
    background: linear-gradient(100deg, #061a2ef2, #0b2943ba 34%, #123a5100 72%),
        linear-gradient(0deg, #08263c90, #08263c00 32%),
        #1c5682 url("coast.webp") 64% 56% / cover no-repeat;
}
.sg-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(34px, 6vw, 88px);
}
.sg-start-panel {
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid #ffffff95;
    border-radius: 30px;
    background: #f5f9ffef;
    box-shadow: 0 18px 55px #061a2e3b;
    backdrop-filter: blur(20px);
}
.template-seaglass .sg-start-panel h2 { margin-bottom: 16px; font-size: 24px; }
.sg-start-links { display: grid; gap: 8px; }
.sg-start-links a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #fff;
    border-radius: 14px;
    background: #ffffffb8;
    color: var(--ink);
    transition: background-color .2s;
}
.sg-start-links a:hover { background: #fff; }
.sg-start-links strong, .sg-start-links small { display: block; }
.sg-start-links small { margin-top: 2px; color: var(--muted); font-size: 14px; }
.sg-start-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e1eeff; color: #005bb6; }
.sg-start-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sg-start-arrow { padding-inline: 4px; color: var(--blue); font-size: 22px; }
.sg-service, .sg-plan-section, .sg-download-section, .sg-conversations { padding-block: clamp(54px, 8vw, 116px); }
.sg-service { background: radial-gradient(ellipse at top, #e8f2ff, #f8fafc 78%); }
.sg-plan-section { background: #fff; }
.sg-download-section { background: #eff5fb; }
.sg-conversations { background: linear-gradient(155deg, #fff 34%, #f1f6fc); }
.sg-showcase { max-width: 1140px; }
.sg-section-heading { max-width: 640px; margin: 0 auto clamp(26px, 4vw, 48px); text-align: center; }
.template-seaglass .sg-section-heading h2 { font-size: clamp(28px, 3.2vw, 36px); }
.sg-section-heading p { margin-top: 10px; color: var(--muted); }
.sg-service .sg-notice { margin-bottom: 20px; }
.sg-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.sg-metrics > div { min-width: 0; padding: clamp(24px, 3.2vw, 40px); border: 1px solid #e5edf7; border-radius: 26px; background: #fff; }
.sg-metrics > div:nth-child(2) { background: #f4f8ff; }
.sg-metrics dt, .sg-plan-specs dt, .sg-details dt { font-size: 20px; line-height: 1.35; font-weight: 700; }
.sg-metrics dd, .sg-plan-specs dd, .sg-details dd { margin-top: 4px; color: var(--muted); font-size: 16px; white-space: pre-line; }
.sg-metrics dd { margin-top: 10px; }
.sg-plan-specs dd *, .sg-price * { font-size: 16px !important; }

.sg-section { margin-block: 62px; }
.sg-section > h2 { margin-bottom: 20px; }
.sg-home .sg-section { margin-block: clamp(48px, 7vw, 104px); }
.sg-home .sg-section > h2 { margin-bottom: 30px; text-align: center; }
.sg-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 40px;
    margin-top: clamp(20px, 3vw, 36px);
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #e5edf7;
    border-radius: 26px;
    background: #fff;
}
.sg-highlight p { max-width: 760px; margin-top: 8px; color: var(--muted); }
.sg-highlight .sg-text-link { flex: 0 0 auto; }
.sg-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(228px, 100%), 1fr)); gap: 16px; }
.sg-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 6px 18px #263c5310; }
.sg-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sg-plan-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sg-plan .sg-button { margin-top: auto; }
.sg-plan-recommended { border-color: #89bbf1; background: #f6faff; }
.sg-recommended { padding: 2px 8px; border-radius: 999px; background: #e0eeff; color: #0058ac; font-size: 14px; font-weight: 600; }
.sg-price { color: var(--muted); font-size: 16px; }
.sg-price strong { color: var(--ink); }
.sg-plan-specs { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.sg-plan-section .sg-plans { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 20px; }
.sg-plan-section .sg-plan { gap: 18px; padding: clamp(24px, 3vw, 38px); border-radius: 28px; background: #f5f7fa; box-shadow: none; }
.sg-plan-section .sg-plan-recommended { border-color: #93bdec; background: #edf5ff; }
.sg-plan-section .sg-plan-heading h3 { font-size: 24px; letter-spacing: -.02em; }
.sg-plan-section .sg-plan-specs { width: 100%; padding-top: 18px; border-top: 1px solid var(--line); }
.sg-plan-section .sg-prose { color: var(--muted); }
.sg-plan-section .sg-button { margin-top: auto; }
.sg-downloads { padding: 0; list-style: none; }
.sg-client { display: flex; align-items: center; gap: 12px; height: 100%; color: var(--ink) !important; transition: border-color .2s, background-color .2s; }
.sg-client:hover { border-color: #89bbf1; background: #f6faff; }
.sg-client-icon { display: grid; flex: 0 0 40px; place-items: center; height: 40px; border-radius: 11px; background: #eaf3ff; color: var(--blue); }
.sg-client-icon svg { width: 22px; height: 22px; }
.sg-client small { display: block; font-size: 14px; color: var(--muted); }
.sg-client-arrow { margin-left: auto; color: var(--blue); }
.sg-download-section .sg-downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sg-download-section .sg-downloads > li:only-child { grid-column: 1 / -1; width: min(100%, 512px); justify-self: center; }
.sg-download-section .sg-client { padding: clamp(16px, 2.5vw, 28px); border-color: #fff; border-radius: 26px; box-shadow: none; }
.sg-download-section .sg-client:hover { border-color: #89bbf1; }
.sg-download-section .sg-client-icon { flex-basis: 52px; height: 52px; border-radius: 15px; }
.sg-download-section .sg-client strong { font-size: 20px; }
.sg-download-section .sg-client small { font-size: 16px; }
.sg-download-section .sg-client-arrow { flex-shrink: 0; font-size: 14px; font-weight: 650; }
.sg-install-link { display: table; margin: 24px auto 0; font-weight: 600; }
.sg-install-link:hover { text-decoration: underline; }
.sg-empty { padding: 20px; border-radius: 16px; color: var(--muted); background: var(--surface); }
.sg-conversation-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 24px clamp(32px, 5vw, 72px);
}
.sg-conversation-layout > section {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    align-items: start;
    min-width: 0;
}
.sg-conversation-layout .sg-section-heading { max-width: none; margin: 0; text-align: start; }
.sg-reviews { display: grid; grid-auto-rows: 1fr; align-self: stretch; gap: 16px; }
.sg-reviews > .sg-card { padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: #fff; box-shadow: 0 12px 30px #203d5d08; }
.sg-reviews > .sg-card:first-child { background: #edf5ff; border-color: #dbe9fa; }
.sg-reviews article p { margin-top: 12px; color: var(--muted); line-height: 1.75; }
.sg-faq {
    --sg-faq-inset: clamp(18px, 2.6vw, 32px);
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding-top: 10px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
}
.sg-faq > details + details { border-top: 1px solid var(--line); }
.sg-answer > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    list-style: none;
    cursor: pointer;
}
.sg-faq summary {
    min-height: 66px;
    padding: 18px var(--sg-faq-inset);
    font-size: 18px;
    font-weight: 650;
}
.sg-answer > summary::-webkit-details-marker { display: none; }
.sg-answer > summary:hover, .sg-answer[open] > summary { color: var(--blue); }
.sg-answer > summary:focus-visible { outline-offset: -4px; border-radius: 12px; }
.sg-answer > summary::after {
    content: "";
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin: -5px 6px 0 0;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(45deg);
    transition: transform .18s;
}
.sg-answer[open] > summary::after { transform: translateY(5px) rotate(225deg); }
.sg-faq details > p { max-width: 68ch; padding: 0 var(--sg-faq-inset) 22px; color: var(--muted); font-size: 16px; }
.sg-faq-footer { margin-top: auto; padding: 18px var(--sg-faq-inset); border-top: 1px solid var(--line); }
.sg-faq-footer a { font-weight: 650; }
.sg-faq-footer a:hover { text-decoration: underline; }

body.template-seaglass.sg-inner {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
}
.sg-inner-main { flex: 1; }
.sg-inner-hero {
    padding-block: clamp(48px, 6vw, 84px);
    text-align: center;
    background: radial-gradient(ellipse at top, #dfefff, #f3f7fc 72%);
}
.sg-inner-hero h1 { text-wrap: balance; }
.sg-inner-hero p { max-width: 620px; margin: 14px auto 0; color: var(--muted); font-size: 18px; text-wrap: balance; }
.sg-section-nav { border-block: 1px solid var(--line); }
.sg-section-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    padding: 13px 0;
    list-style: none;
}
.sg-section-nav a { display: block; padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; }
.sg-section-nav a:hover, .sg-section-nav a[aria-current] { background: #eaf3ff; color: #0058ac; }
.sg-inner-content { padding-block: clamp(44px, 7vw, 88px); }
.sg-prose.sg-reading-sheet { line-height: 1.8; }
.sg-reading-sheet > :where(h2, h3, h4, section):not(:first-child) { margin-top: 28px; }
.sg-reading-sheet > hr { margin-block: 24px; border: 0; border-top: 1px solid var(--line); }
.sg-reading-sheet + .sg-details { margin-top: 24px; }
.sg-reading-sheet > .sg-reading-answer { margin-top: 8px; padding: 0; border-radius: 16px; background: #f4f7fb; }
.sg-reading-answer summary { padding: 14px 18px; }
.sg-reading-sheet .sg-reading-answer > div { margin-top: 0; padding: 0 18px 16px; color: var(--muted); }
.sg-reading-answer > div > * + * { margin-top: 8px; }
.sg-inner .sg-download-section .sg-client-arrow { font-size: 18px; }
.sg-prose { min-width: 0; line-height: 1.7; }
.sg-prose > * + *, .sg-prose details > div { margin-top: 12px; }
.sg-prose :where(ul, ol) { padding-inline-start: 1.4em; }
.sg-prose :where(h4, h5, h6) { font-size: 16px; }
.sg-prose :where(pre, table) { display: block; max-width: 100%; overflow: auto; }
.sg-prose :where(details, blockquote) { margin-inline: 0; padding: 14px 18px; border-radius: 12px; background: var(--surface); }
.sg-prose summary { font-weight: 650; cursor: pointer; }
.sg-prose :is(font, [style]), .sg-notice *, .sg-plan h3 *, .template-seaglass .site-footer-links :is(font, [style]) {
    font-size: clamp(0px, 1em, 36px) !important;
}
.sg-prose :where(section > h2) { margin-bottom: 8px; }
.sg-prose :where(.resource-faq-item, .resource-guide-item) { padding-block: 14px; border-bottom: 1px solid var(--line); }

.sg-footer { border-top: 1px solid #e7ebf0; background: var(--surface); color: var(--muted); }
.sg-footer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px 36px; padding-block: 36px 24px; font-size: 14px; }
.sg-footer-brand > a { color: var(--ink); font-size: 18px; font-weight: 700; }
.sg-footer-contact { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-style: normal; }
.sg-footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sg-footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sg-footer-contact span { margin-inline-end: 3px; color: var(--muted); }
.sg-footer nav ul { justify-content: end; }
.sg-footer-copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }
.sg-quick-actions {
    position: fixed;
    right: max(clamp(12px, 2vw, 30px), env(safe-area-inset-right));
    bottom: max(clamp(16px, 3vw, 38px), env(safe-area-inset-bottom));
    z-index: 4;
    display: grid;
    justify-items: end;
    gap: 8px;
}
.sg-quick-actions a {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #dce5f0;
    border-radius: 50%;
    background: #f9fbfff5;
    color: #183653;
    box-shadow: 0 5px 18px #163f6626;
    transition: background-color .2s, color .2s;
}
.sg-quick-actions a:hover { background: #e5effa; }
.sg-quick-actions .sg-quick-experience {
    border-color: #ffffff85;
    background: #0066cc;
    color: #fff;
}
.sg-quick-actions .sg-quick-experience:hover { background: #004f9f; }
.sg-quick-actions svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
    body.template-seaglass { --sg-header-height: 88px; }
    .sg-menubar { grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; padding-top: 8px; }
    .sg-menubar nav { grid-column: 1 / -1; grid-row: 2; }
    .sg-menubar nav ul { gap: 2px 16px; padding: 5px 3px; }
    .sg-menubar nav a { white-space: nowrap; }
    .sg-wallpaper { padding: 48px 0 68px; background-image: linear-gradient(155deg, #061a2ef0 8%, #0b2943ad 45%, #061a2e20 78%), linear-gradient(0deg, #061a2ec9, transparent 40%), url("coast.webp"); }
    .sg-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; width: min(560px, calc(100% - 48px)); }
    .sg-conversation-layout { grid-template-columns: minmax(0, 1fr); row-gap: 52px; }
    .sg-conversation-layout > section { grid-row: auto; grid-template-rows: none; gap: 20px; }
    .sg-conversation-layout .sg-section-heading { text-align: center; }
    .sg-reviews { grid-auto-rows: auto; }
}
@media (max-width: 640px) {
    .sg-shell { width: calc(100% - 32px); }
    .template-seaglass h1 { font-size: 32px; }
    .template-seaglass h2 { font-size: 24px; }
    .sg-wallpaper { background-position: 64% center; }
    .sg-intro-subtitle { font-size: 16px; }
    .sg-hero-layout { width: calc(100% - 36px); }
    .sg-actions { margin-top: 22px; }
    .sg-start-panel { border-radius: 22px; }
    .sg-start-links a { gap: 9px; padding: 8px; }
    .sg-start-icon { width: 36px; height: 36px; border-radius: 9px; }
    .sg-metrics, .sg-plan-section .sg-plans, .sg-download-section .sg-downloads { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sg-faq, .sg-reviews > .sg-card { border-radius: 20px; }
    .sg-faq summary { padding-inline-end: 46px; font-size: 16px; }
    .sg-reading-answer summary { padding-inline-end: 46px; }
    .sg-metrics > div { padding: 22px; border-radius: 20px; }
    .sg-download-section .sg-client-icon { flex-basis: 44px; height: 44px; border-radius: 12px; }
    .sg-section { margin-block: 38px; }
    .sg-highlight { flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 20px; }
    .sg-inner-hero { padding-block: 46px; }
    .sg-inner-hero p { font-size: 16px; }
    .sg-section-nav ul { gap: 4px; }
    .sg-section-nav a { padding: 6px 9px; }
    .sg-footer-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 28px 24px; }
    .sg-footer nav ul { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
    .template-seaglass *, .template-seaglass *::before, .template-seaglass *::after { transition: none; }
}
@media (max-width:360px) {
    .sg-wallpaper { padding-block:32px 40px; }
    .template-seaglass h1 { font-size:28px; text-wrap:balance; }
}
