/* Homepage certificate and a self-contained public enquiry dialog. */
.fsn-gift { padding:48px 0 64px; }
.fsn-gift .fsn-section-heading { max-width:none; min-width:0; }
.fsn-gift__intro { grid-area:intro; align-self:end; }
.fsn-gift .fsn-section-heading h2 { margin:0 0 18px; font-size:clamp(28px,2.5vw,36px); }
.fsn-gift .fsn-section-heading strong { color:#263850; font-weight:650; }
.fsn-gift__panel { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); grid-template-areas:"intro media" "copy media"; gap:24px 44px; align-items:start; padding:36px; border:1px solid #e4e9f3; border-radius:24px; background:#fff; box-shadow:0 14px 40px #152b4c06; }
.fsn-gift__media { grid-area:media; align-self:center; min-width:0; width:100%; display:grid; place-items:center; }
.fsn-gift__image { display:block; width:100%; height:auto; max-height:none; object-fit:contain; border-radius:16px; }
.fsn-gift__art { position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; width:100%; aspect-ratio:1; padding:36px; border:1px solid #6b92a2; border-radius:18px; background:radial-gradient(ellipse at 100% 100%,#2d6065,transparent 75%),#123a3d; color:#fff; box-shadow:0 18px 32px #123a3d21; }
.fsn-gift__art::after { content:""; position:absolute; z-index:-1; inset:14px; border:1px solid #ffffff24; border-radius:10px; }
.fsn-gift__brand { font-size:12px; font-weight:650; letter-spacing:.12em; }
.fsn-gift__art svg { width:58px; height:58px; margin:20px 0 14px; color:#ffb54f; }
.fsn-gift__art strong { font-size:clamp(24px,2.6vw,36px); line-height:1.18; font-weight:650; }
.fsn-gift__art > span:last-child { margin-top:14px; font-size:14px; color:#cbdddd; }
.fsn-gift__copy { grid-area:copy; align-self:start; min-width:0; color:#647187; font-size:16px; line-height:1.8; }
.fsn-gift__copy p + p { margin-top:16px; }
.fsn-gift__copy strong { color:#14263c; font-size:20px; line-height:1.5; font-weight:650; }
.fsn-gift__copy .fsg-button { margin-top:28px; gap:24px; }
.fsg-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:52px; padding:14px 22px; border:1px solid transparent; border-radius:12px; background:#4d65ff; color:#fff; font:600 15px/1.5 "Onest",system-ui,sans-serif; cursor:pointer; text-align:center; text-decoration:none; transition:background .15s; }
.fsg-button:hover:not(:disabled) { background:#3b52e1; }
.fsg-button:disabled { background:#e4e8f3; color:#727d93; cursor:not-allowed; }
.fsg-button:focus-visible, .fsg-dialog :focus-visible { outline:2px solid #8b9beb; outline-offset:3px; }
.fsg-dialog { box-sizing:border-box; width:min(580px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 40px); margin:auto; padding:36px; border:1px solid #e4e9f3; border-radius:22px; color:#15213a; background:#fff; box-shadow:0 30px 100px #111b3a30; font:400 15px/1.6 "Onest",system-ui,sans-serif; overflow:auto; overscroll-behavior:contain; }
.fsg-dialog *, .fsg-dialog *::before, .fsg-dialog *::after { box-sizing:border-box; }
.fsg-dialog [hidden], [data-gift-image-editor] [hidden] { display:none!important; }
.fsg-dialog::backdrop { background:#17233d80; backdrop-filter:blur(2px); }
.fsg-dialog h2 { margin:0; padding-right:20px; font-size:27px; font-weight:700; line-height:1.25; letter-spacing:normal; overflow-wrap:anywhere; }
.fsg-dialog h2:focus { outline:none; }
.fsg-dialog p { margin:14px 0 0; }
.fsg-dialog a { color:#3b56dc; text-decoration:underline; text-underline-offset:3px; }
.fsg-dialog .fsg-muted { color:#6b788e; }
.fsg-dialog form { display:grid; gap:18px; margin-top:26px; }
.fsg-dialog .fsg-close { position:absolute; top:10px; right:10px; display:grid; place-items:center; width:40px; height:40px; padding:0; border:0; border-radius:50%; background:#f3f5f9; color:#68758c; font:26px/1 system-ui; cursor:pointer; }
.fsg-field { display:grid; gap:7px; min-width:0; font-weight:550; }
.fsg-field small, .fsg-recipient small { display:block; color:#7b8699; font-size:12px; font-weight:400; }
.fsg-field input { display:block; width:100%; min-height:50px; padding:12px 14px; border:1px solid #dce3f0; border-radius:11px; color:#15213a; background:#fff; font:400 16px/1.5 "Onest",system-ui,sans-serif; box-shadow:none; }
.fsg-field input:focus { outline:1px solid #8b9beb; border-color:#8b9beb; }
.fsg-field input::placeholder { color:#909bad; }
.fsg-recipient { min-width:0; margin:0; padding:0; border:0; }
.fsg-recipient legend { margin-bottom:8px; font-weight:550; }
.fsg-recipient > div { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.fsg-recipient label { position:relative; cursor:pointer; }
.fsg-recipient input { position:absolute; opacity:0; width:1px; height:1px; }
.fsg-recipient label span { display:block; padding:10px 19px; border:1px solid #dce3f0; border-radius:10px; color:#66748a; }
.fsg-recipient input:checked + span { color:#3c56dd; background:#edf0ff; border-color:#8b9beb; }
.fsg-recipient input:focus-visible + span { outline:2px solid #8b9beb; outline-offset:2px; }
.fsg-recipient button { border:0; padding:8px; color:#647187; background:transparent; font:inherit; font-size:12px; text-decoration:underline; cursor:pointer; }
.fsg-consent { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.6; color:#67758c; cursor:pointer; }
.fsg-consent input { flex:0 0 18px; width:18px; height:18px; margin:3px 0 0; accent-color:#4d65ff; }
.fsg-dialog form > .fsg-button { width:100%; }
.fsg-dialog .fsg-error { color:#b53745; font-size:14px; margin:0; }
.fsg-honeypot { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.fsg-success { text-align:center; padding:18px 0; }
.fsg-success h2 { padding:0; }
.fsg-success__icon { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 22px; border-radius:50%; color:#128363; background:#e4f6ee; font-size:32px; }
.fsg-success .fsg-button { width:100%; margin-top:28px; }
@media(max-width:760px) {
 .fsn-gift { padding:30px 0 42px; }
 .fsn-gift__panel { grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "media" "copy"; gap:24px; padding:20px; border-radius:20px; }
 .fsn-gift__art { padding:28px; }
 .fsn-gift .fsn-section-heading h2 { font-size:28px; }
 .fsn-gift .fsn-section-heading > p:last-child { font-size:15px; line-height:1.7; }
 .fsn-gift__copy { font-size:15px; line-height:1.7; }
 .fsn-gift__copy strong { font-size:18px; }
 .fsn-gift__copy .fsg-button { width:100%; margin-top:24px; }
 .fsg-dialog { position:fixed; inset:auto 0 0; width:100%; max-height:calc(100dvh - 16px); margin:0; padding:32px 22px calc(24px + env(safe-area-inset-bottom,0px)); border-bottom:0; border-radius:22px 22px 0 0; }
 .fsg-dialog h2 { font-size:24px; }
 .fsg-dialog form { margin-top:22px; }
}
@media(prefers-reduced-motion:reduce) { .fsg-button { transition:none; } }
