/* Famgram gateway — palette: black ground, purple flow, yellow sparks.
   Same visual family as Joseph's family sites. */
:root{
 --deep:#7c3aed;
 --deep2:#8b5cf6;
 --gold:#ffd60a;
 --teal:#c4b5fd;
 --cream:#0a0714;
 --card:#171126;
 --ink:#f5f2ff;
 --muted:#b7a8e0;
 --line:#342664;
 --deep3:#0a0714;
 --gold-deep:#ffd60a;
 --deeptext:#c4b5fd;
 --shadow-card:0 1px 2px rgba(0,0,0,.35),0 10px 28px rgba(0,0,0,.4);
 --shadow-lift:0 2px 4px rgba(0,0,0,.4),0 18px 42px rgba(0,0,0,.5);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
 background:var(--cream);
 color:var(--ink);
}
.hero{
 position:relative;
 overflow:hidden;
 background:linear-gradient(165deg,var(--deep3) 0%,var(--deep) 46%,var(--deep2) 100%);
 color:var(--cream);
 text-align:center;
 padding:2.6rem 1.2rem 2.2rem;
 border-bottom:4px solid var(--gold);
}
.topnav{
 max-width:64rem;
 margin:0 auto 1.6rem;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:1rem;
 flex-wrap:wrap;
}
.topnav a{color:var(--cream);text-decoration:none}
@media (hover: hover) and (pointer: fine){.topnav a:hover{color:var(--gold)}
}
.topnav .brand{
 font-family:Georgia,"Times New Roman",serif;
 font-weight:700;
 font-size:1.15rem;
 color:var(--gold);
}
.nav-links{display:flex;gap:1.1rem;flex-wrap:wrap}
.nav-links a{font-size:.95rem;font-weight:600}
.crest{width:64px;height:73px}
.hero h1{
 font-family:Georgia,"Times New Roman",serif;
 font-size:2.6rem;
 letter-spacing:.02em;
 margin:.5rem 0 .3rem;
 color:#fff;
 text-shadow:0 2px 18px rgba(0,0,0,.5);
}
.tagline{max-width:34rem;margin:0 auto;color:var(--teal);font-size:1.05rem;line-height:1.5;text-shadow:0 1px 10px rgba(0,0,0,.55)}
main{max-width:42rem;margin:0 auto;padding:1.4rem 1rem 2.5rem}
.door{
 background:var(--card);
 border:1px solid #342664;
 border-radius:14px;
 padding:1.4rem 1.3rem 1.5rem;
 margin-bottom:1.3rem;
 box-shadow:var(--shadow-card);
}
.door h2{
 font-family:Georgia,"Times New Roman",serif;
 color:var(--deeptext);
 font-size:1.35rem;
 margin:.1rem 0 .4rem;
}
.hint{color:var(--muted);font-size:.94rem;line-height:1.5;margin:.2rem 0 .9rem}
label{display:block;font-weight:600;font-size:.9rem;margin:.7rem 0 .3rem;color:var(--deeptext)}
input{
 width:100%;
 font-size:1rem;
 padding:.68rem .8rem;
 border:1px solid var(--line);
 border-radius:9px;
 background:#120c22;
 color:var(--ink);
}
input:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal);box-shadow:0 0 0 3px rgba(196,181,253,.35)}
input[readonly]{background:var(--cream);font-weight:600}
.row{display:flex;gap:.6rem}
.row input{flex:1}
button{
 font-size:1rem;
 font-weight:600;
 padding:.68rem 1.1rem;
 border:0;
 border-radius:9px;
 background:linear-gradient(180deg,var(--deep2),var(--deep));
 box-shadow:0 1px 3px rgba(12,56,51,.28),inset 0 1px 0 rgba(233,196,119,.35);
 color:#fff;
 cursor:pointer;
 white-space:nowrap;
}
@media (hover: hover) and (pointer: fine){button:hover{background:var(--deep2)}
}
button.suggestion{
 background:var(--cream);
 color:var(--deeptext);
 border:1px solid var(--gold);
 margin:0 .4rem .4rem 0;
}
.results{margin-top:.8rem}
.msg{color:var(--muted);line-height:1.5;margin:.4rem 0}
.msg.ok{color:#a78bfa;font-weight:600}
.family-link{
 display:flex;
 flex-direction:column;
 gap:.15rem;
 text-decoration:none;
 background:var(--cream);
 border:1px solid var(--gold);
 border-radius:10px;
 padding:.8rem 1rem;
 margin-bottom:.55rem;
}
@media (hover: hover) and (pointer: fine){.family-link:hover{border-color:var(--deeptext)}
}
.family-name{font-family:Georgia,"Times New Roman",serif;font-size:1.12rem;color:var(--deeptext);font-weight:700}
.family-meta{color:var(--muted);font-size:.88rem}
.escape{margin:.9rem 0 0;font-size:.92rem}
.escape a{color:#a78bfa}
.hidden{display:none!important}
.features{
 padding:1.9rem .2rem .4rem;
 margin-bottom:1.3rem;
}
.features h2{
 font-family:Georgia,"Times New Roman",serif;
 color:var(--deeptext);
 font-size:1.35rem;
 margin:.1rem 0 .7rem;
}
.features a{color:#a78bfa}
.feature-grid{
 display:grid;
 grid-template-columns:repeat(3,1fr);
 gap:.8rem;
}
.slot{
 border:1.5px dashed var(--gold);
 border-radius:12px;
 background:var(--card);
 color:var(--muted);
 padding:1.1rem 1rem;
 min-height:6.5rem;
 display:flex;
 align-items:center;
 text-align:center;
}
.slot p{margin:0;line-height:1.5}
.slot-line{
 border:1.5px dashed var(--gold);
 border-radius:12px;
 background:var(--card);
 color:var(--muted);
 padding:1rem 1.1rem;
 line-height:1.55;
 margin:0;
}
footer{
 max-width:42rem;
 margin:0 auto;
 border-top:1px solid var(--line);
 padding:1.4rem 1rem 2.4rem;
 color:var(--muted);
 font-size:.9rem;
 line-height:1.55;
 text-align:center;
}
@media (max-width:34rem){
 .row{flex-direction:column}
 .row button{width:100%}
 .hero h1{font-size:2.1rem}
 .feature-grid{grid-template-columns:1fr}
 .topnav{justify-content:center;text-align:center}
 .nav-links{justify-content:center}
}

/* --- Marketing sections (2026-10-20 build): features, screenshots,
   safety scenarios, privacy, pricing, FAQ. New classes only; the door
   styles above are untouched. --- */
.section-lede{color:var(--muted);line-height:1.55;margin:.2rem 0 1rem}
.feature-card{
 border:1px solid var(--line);
 border-top:3px solid var(--gold);
 border-radius:12px;
 background:var(--card);
 padding:1.1rem 1rem;
 box-shadow:var(--shadow-card);
 transition:transform .18s ease,box-shadow .18s ease;
}
.feature-card h3{
 font-family:Georgia,"Times New Roman",serif;
 color:var(--deeptext);
 font-size:1.05rem;
 margin:.1rem 0 .4rem;
}
.feature-card p{margin:0;color:var(--muted);line-height:1.55;font-size:.95rem}
.screen-strip{
 display:flex;
 gap:1rem;
 overflow-x:auto;
 padding:.4rem .1rem .8rem;
}
.phone{flex:0 0 11rem;margin:0;text-align:center}
.phone img{
 width:100%;
 display:block;
 background:#120c22;
 border:3px solid var(--deep);
 border-radius:26px;
}
.phone figcaption{color:var(--muted);font-size:.85rem;line-height:1.45;margin-top:.5rem}
.scenario-grid{
 display:grid;
 grid-template-columns:repeat(2,1fr);
 gap:.8rem;
}
.scenario{
 border:1px solid var(--line);
 border-left:4px solid var(--gold);
 border-radius:12px;
 background:var(--card);
 padding:1rem 1.05rem;
 box-shadow:var(--shadow-card);
}
.scenario h3{
 font-family:Georgia,"Times New Roman",serif;
 color:var(--deeptext);
 font-size:1.05rem;
 margin:.1rem 0 .4rem;
}
.scenario p{margin:0;color:var(--muted);line-height:1.55;font-size:.95rem}
.privacy-list{margin:.4rem 0 1rem;padding-left:1.2rem;line-height:1.6;color:var(--ink)}
.privacy-list strong{color:var(--deeptext)}
.tier-grid{
 display:grid;
 grid-template-columns:repeat(2,1fr);
 gap:.9rem;
 margin-top:1rem;
}
.tier{
 position:relative;
 border:1px solid var(--line);
 border-radius:14px;
 background:var(--card);
 padding:1.2rem 1.15rem 1.3rem;
 box-shadow:var(--shadow-card);
}
.tier.popular{
 border:2px solid var(--gold);
 background:linear-gradient(180deg,#241748 0%,var(--card) 55%);
 box-shadow:0 14px 38px rgba(169,127,46,.22),0 2px 6px rgba(12,56,51,.08);
}
.tier .badge{
 position:absolute;
 top:-.75rem;
 right:1rem;
 background:linear-gradient(180deg,#ffe066,var(--gold));
 box-shadow:0 2px 8px rgba(169,127,46,.45);
 color:var(--deeptext);
 font-weight:700;
 font-size:.78rem;
 letter-spacing:.06em;
 text-transform:uppercase;
 padding:.2rem .6rem;
 border-radius:999px;
 margin:0;
}
.tier h3{
 font-family:Georgia,"Times New Roman",serif;
 color:var(--deeptext);
 font-size:1.2rem;
 margin:.1rem 0 .3rem;
}
.tier .price{font-family:Georgia,"Times New Roman",serif;font-size:1.45rem;font-weight:700;color:var(--deeptext);margin:.2rem 0}
.tier .price .per{font-size:.9rem;font-weight:600;color:var(--muted)}
.tier-alt{color:var(--muted);font-size:.9rem;margin:.1rem 0 .6rem}
.tier-tag{color:var(--muted);line-height:1.5;margin:.2rem 0 .6rem}
.tier ul{margin:.4rem 0 .8rem;padding-left:1.15rem;line-height:1.55;color:var(--ink)}
.tier-note{color:var(--muted);font-size:.9rem;line-height:1.5}
.tier-cta{
 display:inline-block;
 background:linear-gradient(180deg,var(--deep2),var(--deep));
 box-shadow:0 1px 3px rgba(12,56,51,.28),inset 0 1px 0 rgba(233,196,119,.35);
 color:#fff;
 text-decoration:none;
 font-weight:600;
 padding:.6rem 1rem;
 border-radius:9px;
 margin-top:.4rem;
}
@media (hover: hover) and (pointer: fine){.tier-cta:hover{background:var(--deep2)}
}
/* The pricing tiers live inside a .features section, whose link rule
   (.features a, specificity 0,1,1) would otherwise beat .tier-cta
   (0,1,0) and paint the label deep2 — the button gradient's own start
   color. Caught by Joseph 2026-10-21 (dark-on-dark labels). */
.features a.tier-cta{color:#fff}
.anchor-line{
 background:linear-gradient(120deg,var(--deep) 0%,var(--deep2) 100%);
 border-left:5px solid var(--gold);
 color:var(--cream);
 border-radius:12px;
 padding:1rem 1.15rem;
 line-height:1.6;
 margin:1.1rem 0 .8rem;
}
.anchor-line strong{color:var(--gold)}
.plan-notes{color:var(--muted);font-size:.9rem;line-height:1.6}
.faq-q{
 border:1px solid var(--line);
 border-radius:12px;
 background:var(--card);
 padding:.9rem 1.05rem;
 margin-bottom:.7rem;
 box-shadow:0 1px 2px rgba(12,56,51,.04),0 8px 22px rgba(12,56,51,.05);
}
.faq-q summary{
 font-family:Georgia,"Times New Roman",serif;
 font-weight:700;
 color:var(--deeptext);
 cursor:pointer;
 font-size:1.02rem;
}
.faq-q p{color:var(--muted);line-height:1.6;margin:.6rem 0 .2rem}
@media (max-width:34rem){
 .scenario-grid,.tier-grid{grid-template-columns:1fr}
 .phone{flex-basis:9.5rem}
}

/* --- Design upgrade (2026-10-20): photo hero, security banner, family
   moments band, richer accents. New classes + hero layering only; the
   door rules above are untouched. Order inside this block matters:
   .hero>* lifts all hero content, then .hero-photo (same specificity
   class count, later in the file) pins the photo beneath it. --- */
.hero>*{position:relative;z-index:2}
.hero::after{
 content:"";
 position:absolute;
 inset:0;
 z-index:1;
 pointer-events:none;
 background:linear-gradient(168deg,rgba(6,35,30,.92) 0%,rgba(12,56,51,.80) 52%,rgba(17,81,69,.68) 100%);
}
.hero-photo{
 position:absolute;
 inset:0;
 z-index:0;
 width:100%;
 height:100%;
 object-fit:cover;
 object-position:center 36%;
 pointer-events:none;
}
.hero-banner{
 margin:0;
 background:linear-gradient(90deg,#ffd60a 0%,var(--gold) 45%,#ffd60a 100%);
 border-bottom:1px solid rgba(12,56,51,.20);
 color:var(--deeptext);
 font-family:Georgia,"Times New Roman",serif;
 font-size:1.02rem;
 font-weight:700;
 letter-spacing:.01em;
 text-align:center;
 padding:.62rem 1rem;
}
.features h2::after{
 content:"";
 display:block;
 width:2.6rem;
 height:3px;
 border-radius:2px;
 background:linear-gradient(90deg,var(--gold),var(--gold-deep));
 margin-top:.5rem;
}
@media (hover: hover) and (pointer: fine){.feature-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift)}
}
.moments{margin:0 0 1.3rem}
.moments-fig{
 margin:0;
 position:relative;
 border:1px solid var(--line);
 border-radius:16px;
 overflow:hidden;
 background:var(--card);
 box-shadow:var(--shadow-lift);
}
.moments-photo{
 display:block;
 width:100%;
 height:13rem;
 object-fit:cover;
 object-position:50% 30%;
}
.moments-crest{
 position:absolute;
 top:.8rem;
 left:.8rem;
 width:52px;
 height:59px;
 padding:4px;
 background:var(--cream);
 border:2px solid var(--gold);
 border-radius:12px;
 box-shadow:0 4px 14px rgba(6,35,30,.35);
}
.moments-fig figcaption{
 background:linear-gradient(120deg,var(--deep) 0%,var(--deep2) 100%);
 color:var(--cream);
 padding:.85rem 1.05rem;
 line-height:1.55;
 font-size:.95rem;
}
.moments-fig figcaption strong{font-family:Georgia,"Times New Roman",serif;color:var(--gold);font-size:1.02rem}
@media (min-width:34rem){
 .tier.popular{transform:scale(1.02)}
}
@media (max-width:34rem){
 .moments-photo{height:10.5rem}
 .hero-banner{font-size:.95rem}
}

/* --- Apple-design polish layer (2026-11-11, re-based on the Nov 6 theme).
   Emil Kowalski's apple-design skill: WWDC design talks translated for the
   web. Presentation only — no content, copy, links, or palette changes.
   One appended superseding layer, the pattern this file already uses. --- */
:root{
 /* 12 Materials/craft: softer, layered shadows — three diffuse layers at
    low alpha replace the two denser drops, everywhere the vars are used. */
 --shadow-card:0 1px 2px rgba(0,0,0,.18),0 6px 18px rgba(0,0,0,.16),0 16px 40px rgba(0,0,0,.14);
 --shadow-lift:0 2px 4px rgba(0,0,0,.20),0 10px 28px rgba(0,0,0,.18),0 24px 56px rgba(0,0,0,.16);
}
/* 15 Typography: optical sizing on (the stack is already the platform
   system font, the skill's default; the Georgia display face stays). */
body{font-optical-sizing:auto}
/* 15 Typography: tracking is size-specific. The hero is the page's display
   text — it grows, its tracking tightens from +.02em to negative, and its
   leading pulls in. */
.hero h1{font-size:2.9rem;letter-spacing:-.025em;line-height:1.08}
/* 15 Typography: hierarchy from weight+size+leading — tight leading and a
   touch of negative tracking on every heading below display size. */
.door h2,.features h2{line-height:1.2;letter-spacing:-.01em}
.feature-card h3,.scenario h3,.tier h3,.faq-q summary{line-height:1.25;letter-spacing:-.01em}
.family-name{line-height:1.25;letter-spacing:-.01em}
.tier .price{line-height:1.15;letter-spacing:-.01em}
/* 15 Typography: small text gets slightly positive tracking. */
label{letter-spacing:.01em}
/* 16 Craft: generous whitespace, one spacing rhythm. */
.hero{padding:3rem 1.2rem 2.5rem}
main{padding:1.75rem 1rem 3.5rem}
.door{margin-bottom:1.5rem}
.features{padding:2.25rem .2rem .4rem}
.feature-grid,.scenario-grid{gap:1rem}
.tier-grid{gap:1rem}
.moments{margin-bottom:1.5rem}
/* 16 Craft: one corner-radius scale — 16px tiles/cards, 12px controls.
   (The phone frame's 26px and the badge's 999px pill are shapes, not
   cards, and stay.) */
.door,.tier{border-radius:16px}
.feature-card,.scenario,.faq-q,.anchor-line,.slot,.slot-line{border-radius:16px}
input,button,.tier-cta,.family-link{border-radius:12px}
/* The FAQ cards carried their own lighter shadow; bring them onto the
   shared card shadow so depth reads as one system. */
.faq-q{box-shadow:var(--shadow-card)}
/* 3/4 Interruptible, spring-like motion: transitions name exact
   properties and ride spring-approximating curves. A CSS transition
   reverses from the live on-screen value, so a hover-off or re-press
   never jumps — the honest CSS approximation of a critically damped
   spring. */
button,.tier-cta,.family-link{
 transition:transform .18s cubic-bezier(.22,1,.36,1),box-shadow .18s cubic-bezier(.22,1,.36,1),background-color .18s ease,border-color .18s ease;
}
.feature-card{transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s cubic-bezier(.22,1,.36,1)}
@media (hover: hover) and (pointer: fine){.feature-card:hover{transform:translateY(-3px)}
}
.nav-links a{transition:color .18s ease,transform .18s cubic-bezier(.22,1,.36,1)}
input{transition:border-color .18s ease,box-shadow .18s ease}
/* 1 Response: feedback on press, not release — the skill's exact
   pattern, scale(0.97) at 100ms ease-out. */
button:active,.tier-cta:active,.family-link:active,.nav-links a:active{
 transform:scale(.97);
 transition-duration:.1s;
 transition-timing-function:ease-out;
}
/* 14 Reduced motion: no press scale, no hover lift — opacity/color
   changes only. */
@media (prefers-reduced-motion: reduce){
 button,.tier-cta,.family-link,.feature-card,.nav-links a,input{transition:none}
 button:active,.tier-cta:active,.family-link:active,.nav-links a:active{transform:none}
 @media (hover: hover) and (pointer: fine){.feature-card:hover{transform:none}
 }
}
/* 14 Reduced transparency: the hero veil goes near-solid, in the theme's
   own colors. */
@media (prefers-reduced-transparency: reduce){
 .hero::after{background:linear-gradient(168deg,rgba(10,7,20,.98) 0%,rgba(124,58,237,.97) 52%,rgba(139,92,246,.96) 100%)}
}
/* 15 Typography on small screens: the hero still grows vs the old 2.1rem
   and keeps negative tracking. */
@media (max-width:34rem){
 .hero h1{font-size:2.35rem;letter-spacing:-.02em}
}
/* Hero veil recolor (2026-11-11, Joseph's call): the base veil was a dark
   green-teal gradient (rgba(6,35,30) → rgba(17,81,69)) laid over the hero
   photo at .92/.80/.68 alpha — it tinted ANY hero picture green, including
   the new violet-dusk photo Joseph ordered to replace the green park shot.
   Same angle, same alpha ramp, same role — recolored into the theme's own
   deep purple family (the hues the reduced-transparency veil above already
   uses), so the picture Joseph picked is the picture visitors see. */
.hero::after{
 background:linear-gradient(168deg,rgba(10,7,20,.92) 0%,rgba(38,16,84,.80) 52%,rgba(76,29,149,.68) 100%);
}
/* Mobile-native platform layer (2026-11-14): kill the tap flash, stop the
   tap delay, keep form fields from triggering iOS focus-zoom (the !important
   beats class-level input rules like .signin-card input{font:inherit},
   which otherwise re-shrink the field and bring the zoom back), and keep
   control labels from being long-press selected. Hover styles are gated
   behind @media (hover: hover) and (pointer: fine) so they cannot stick
   after a tap. */
html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}
button,a,[role="button"]{touch-action:manipulation}
button,[role="button"]{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
@media (pointer:coarse){input,textarea,select{font-size:16px!important}}
