/* Shared website controls and surfaces. Device mockups keep their hardware shape. */
:root {
  --radius-control: 12px;
  --radius-surface: 20px;
  --radius-icon: 22%;
  --motion-fast: 160ms;
  --motion-enter: 260ms;
  --ease-touch: cubic-bezier(.2,.75,.25,1);
}
html, body { max-width: 100%; overflow-x: clip; }
.button, .example-controls button, .mobile-navigation > summary,
.language-switch > summary, .language-options a, .skip-link {
  border-radius: var(--radius-control);
}
.draft-preview, .plan, .store-callout, .support-note, .legal-card,
.mobile-nav-panel, .language-options { border-radius: var(--radius-surface); }
:where(a, button, summary) {
  touch-action: manipulation;
  transition: color var(--motion-fast), background-color var(--motion-fast),
    border-color var(--motion-fast), box-shadow var(--motion-fast),
    transform var(--motion-fast) var(--ease-touch), opacity var(--motion-fast);
}
.example-controls button { min-height: 44px; }
:where(.button, .example-controls button, .mobile-navigation > summary, .language-switch > summary):active {
  transform: scale(.97);
}
.language-chevron, .legal-index summary svg, .mobile-navigation summary svg,
.contact-submit .icon { transition: transform var(--motion-enter) var(--ease-touch); }
.contact-submit:not(:disabled):hover .icon { transform: translateX(3px); }
.faq-list summary { transition: color var(--motion-fast); }
.faq-list summary:hover, .faq-list details[open] summary { color: #1c708b; }
.faq-list details[open] p, .legal-index[open] nav,
.language-switch[open] .language-options, .mobile-navigation[open] .mobile-nav-panel {
  animation: surface-enter var(--motion-enter) var(--ease-touch) both;
}
@keyframes surface-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (hover: hover) {
  .button:hover, .example-controls button:hover { transform: translateY(-2px); }
  .language-switch > summary:hover, .mobile-navigation > summary:hover { border-color: var(--cyan); background: #14232d; }
}
.talori-app-icon { width: 64px; height: 64px; flex: 0 0 64px; border-radius: var(--radius-icon); border: 1px solid #ffffff26; box-shadow: 0 6px 18px #0003; }
.footer-identity { display: flex; gap: 20px; align-items: center; }
.footer-identity .talori-app-icon { width: 52px; height: 52px; flex-basis: 52px; }
.footer-identity .brand { width: 145px; }
.store-callout .talori-app-icon { width: 60px; height: 60px; flex-basis: 60px; }
.contact-app-identity { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 16px; font-weight: 650; }
.contact-app-identity > span > span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.email-reveal { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--cyan); text-align: left; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.email-reveal:hover { color: var(--white); }
.revealed-email { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; animation: surface-enter var(--motion-enter) var(--ease-touch); }
@media (max-width: 800px) {
  .contact-app-identity { margin-bottom: 20px; }
  .contact-app-identity .talori-app-icon { width: 48px; height: 48px; flex-basis: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
