{
  "identity": {
    "name": "Periodwise",
    "site": "https://periodwise.org",
    "domain": "periodwise.org",
    "tagline": "Science-backed, judgment-free guidance on period pain, your cycle, and your options.",
    "contact": "info@periodwise.org",
    "instagramHandle": "periodwisehq",
    "instagramUrl": "https://www.instagram.com/periodwisehq/",
    "boilerplate": "Periodwise is a free health resource about period pain, the menstrual cycle and birth control options. It explains what is normal, what is worth an appointment and what the options are, in plain language, with quizzes and side-by-side comparisons that help people walk into a doctor's office prepared. The medical content is reviewed by an OB-GYN."
  },
  "colors": [
    {
      "token": "brand-plum",
      "name": "Plum",
      "group": "core",
      "use": "The ink. Headings, body copy, links, primary buttons, the footer and dark bands. Grays are Plum at 75% and 65%.",
      "hex": "#2d0040",
      "rgb": "rgb(45, 0, 64)",
      "cssVar": "--color-brand-plum"
    },
    {
      "token": "brand",
      "name": "Rose",
      "group": "core",
      "use": "The accent, on White and on Plum. The italic line of a headline, icons, active states, hover borders. Display sizes only: it is too light for small text.",
      "hex": "#c4849a",
      "rgb": "rgb(196, 132, 154)",
      "cssVar": "--color-brand"
    },
    {
      "token": "surface",
      "name": "White",
      "group": "core",
      "use": "The page and the cards. Every screen starts on White.",
      "hex": "#ffffff",
      "rgb": "rgb(255, 255, 255)",
      "cssVar": "--color-surface"
    },
    {
      "token": "brand-pale",
      "name": "Blush",
      "group": "support",
      "use": "Rose at 12%. Soft panels, insets inside a card, icon chips and tag backgrounds.",
      "tint": {
        "of": "brand",
        "percent": 12
      },
      "hex": "#f8f0f3",
      "rgb": "rgb(248, 240, 243)",
      "cssVar": "--color-brand-pale"
    },
    {
      "token": "brand-petal",
      "name": "Petal",
      "group": "support",
      "use": "Rose at 45%. Every border and divider, and the underline under a hero word. 1px, or 3px for the underline.",
      "tint": {
        "of": "brand",
        "percent": 45
      },
      "hex": "#e4c8d2",
      "rgb": "rgb(228, 200, 210)",
      "cssVar": "--color-brand-petal"
    },
    {
      "token": "caution",
      "name": "Caution",
      "group": "support",
      "use": "A warm yellow for medical cautions and form errors only. It is a surface, never a text color: a 20% tint behind Plum text. Never decoration.",
      "hex": "#f2c14e",
      "rgb": "rgb(242, 193, 78)",
      "cssVar": "--color-caution"
    },
    {
      "token": "logoPink",
      "name": "Logo Pink",
      "group": "logo",
      "use": "The disc of the mark, and the period in The Periodical's nameplate. Only ever in the logo files.",
      "hex": "#f272ab",
      "rgb": "rgb(242, 114, 171)",
      "cssVar": null
    },
    {
      "token": "logoRose",
      "name": "Wordmark Rose",
      "group": "logo",
      "use": "The wordmark on light backgrounds. Only ever in the logo.",
      "hex": "#cb7f8a",
      "rgb": "rgb(203, 127, 138)",
      "cssVar": null
    }
  ],
  "contrast": [
    {
      "text": "Plum",
      "on": "White",
      "textHex": "#2d0040",
      "onHex": "#ffffff",
      "ratio": 17.7,
      "grade": "AA",
      "note": "Body copy and headings"
    },
    {
      "text": "White",
      "on": "Plum",
      "textHex": "#ffffff",
      "onHex": "#2d0040",
      "ratio": 17.7,
      "grade": "AA",
      "note": "Text on a dark band or a primary button"
    },
    {
      "text": "Plum",
      "on": "Blush",
      "textHex": "#2d0040",
      "onHex": "#f8f0f3",
      "ratio": 15.8,
      "grade": "AA",
      "note": "Text on a soft panel or a pill"
    },
    {
      "text": "Plum",
      "on": "Rose",
      "textHex": "#2d0040",
      "onHex": "#c4849a",
      "ratio": 6,
      "grade": "AA",
      "note": "Text on Rose. Never white"
    },
    {
      "text": "Rose",
      "on": "White",
      "textHex": "#c4849a",
      "onHex": "#ffffff",
      "ratio": 3,
      "grade": "Fails",
      "note": "The accent line of a headline only"
    },
    {
      "text": "Rose",
      "on": "Plum",
      "textHex": "#c4849a",
      "onHex": "#2d0040",
      "ratio": 6,
      "grade": "AA",
      "note": "The accent on a dark band, at any size"
    },
    {
      "text": "Plum",
      "on": "Caution",
      "textHex": "#2d0040",
      "onHex": "#f2c14e",
      "ratio": 10.6,
      "grade": "AA",
      "note": "Text on the caution yellow"
    }
  ],
  "scopedPalettes": [
    {
      "prefix": "track-",
      "scope": "Periodwise Log",
      "where": "pages/log and components/Track",
      "note": "The /log app has its own warmer plum and rose scheme and its own type pair (Lora and Karla). Those tokens are used nowhere else, and master-brand tokens are not used inside it."
    }
  ],
  "periodical": {
    "name": "The Periodical",
    "where": "pages/newsletter and components/Newsletter",
    "nameplate": "/newsletter/the-periodical.svg",
    "fontToken": "font-periodical",
    "rules": [
      "The nameplate is a logo file: \"The Periodical.\" in Plum, with the period in Logo Pink. Use the file. Never retype it, and rebuild it with newsletter/make-nameplate-svg.py.",
      "Apart from the Periodwise mark in the corner, that period is the only pink on the page. Nothing else on a newsletter page is pink.",
      "font-periodical is Fraunces at its largest optical size, the same font with thinner thin strokes. It sets the one line that says what the newsletter covers (\"Science, tech and policy.\") and nothing else. Body copy, labels and buttons stay DM Sans, and other headings stay font-display.",
      "The three beats are science, tech and policy, in that order and in those words. The policy line names laws.",
      "Neither the nameplate nor font-periodical is used anywhere else on the site."
    ]
  },
  "fonts": {
    "display": {
      "family": "Fraunces",
      "token": "font-display",
      "weights": [
        400
      ],
      "italic": true,
      "use": "Headlines. Set in italic, in Plum. The signature move is a two-line headline whose first line is Rose and second line is Plum.",
      "source": "Google Fonts, SIL Open Font License"
    },
    "body": {
      "family": "DM Sans",
      "token": "font-sans",
      "weights": [
        400,
        500,
        600,
        700
      ],
      "italic": false,
      "use": "Everything that is not a headline: body copy, buttons, labels, navigation.",
      "source": "Google Fonts, SIL Open Font License"
    }
  },
  "googleFontsUrl": "https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;1,400&family=DM+Sans:wght@400;500;600;700&display=swap",
  "typeScale": [
    {
      "role": "Display",
      "spec": "Fraunces Italic, 48 / 52. The page hero, one per page.",
      "classes": "font-display text-4xl sm:text-5xl italic leading-[1.08] text-brand-plum",
      "accent": "Your pain is real.",
      "sample": "So are your options."
    },
    {
      "role": "Heading",
      "spec": "Fraunces Italic, 36 / 40. Section heads.",
      "classes": "font-display text-2xl sm:text-4xl italic leading-[1.1] text-brand-plum",
      "sample": "Where do you want to start?"
    },
    {
      "role": "Body",
      "spec": "DM Sans Regular, 16 / 26, Plum at 75%.",
      "classes": "text-base leading-relaxed text-brand-plum/75",
      "sample": "From heat and magnesium to the right painkiller timing to birth control: understand what actually helps, and build a plan that fits your body."
    },
    {
      "role": "Label",
      "spec": "DM Sans Bold, 11, 0.18em, uppercase, Plum at 65%.",
      "classes": "text-[11px] font-bold uppercase tracking-[0.18em] text-brand-plum/65",
      "sample": "Reviewed by an OB-GYN"
    }
  ],
  "logos": [
    {
      "id": "periodwise-logo",
      "name": "Logo",
      "use": "The primary logo: mark and wordmark. Use on White and other light backgrounds.",
      "backdrop": "white",
      "formats": [
        "svg",
        "png"
      ],
      "pngSizes": [
        512,
        1024,
        2048
      ],
      "aspect": 5.65,
      "files": [
        "/brand/logos/periodwise-logo.svg",
        "/brand/logos/periodwise-logo-512.png",
        "/brand/logos/periodwise-logo-1024.png",
        "/brand/logos/periodwise-logo-2048.png"
      ]
    },
    {
      "id": "periodwise-logo-reversed",
      "name": "Logo, reversed",
      "use": "For Plum, dark backgrounds and photography.",
      "backdrop": "plum",
      "formats": [
        "svg",
        "png"
      ],
      "pngSizes": [
        512,
        1024,
        2048
      ],
      "aspect": 5.65,
      "files": [
        "/brand/logos/periodwise-logo-reversed.svg",
        "/brand/logos/periodwise-logo-reversed-512.png",
        "/brand/logos/periodwise-logo-reversed-1024.png",
        "/brand/logos/periodwise-logo-reversed-2048.png"
      ]
    },
    {
      "id": "periodwise-mark",
      "name": "Mark",
      "use": "The crescent disc on its own. Favicons, profile pictures and tight spaces.",
      "backdrop": "white",
      "formats": [
        "svg",
        "png"
      ],
      "pngSizes": [
        512,
        1024,
        2048
      ],
      "aspect": 1,
      "files": [
        "/brand/logos/periodwise-mark.svg",
        "/brand/logos/periodwise-mark-512.png",
        "/brand/logos/periodwise-mark-1024.png",
        "/brand/logos/periodwise-mark-2048.png"
      ]
    },
    {
      "id": "periodwise-mark-reversed",
      "name": "Mark, reversed",
      "use": "A white disc with the crescent in Logo Pink. For Plum, Logo Pink and dark photography.",
      "backdrop": "plum",
      "formats": [
        "svg",
        "png"
      ],
      "pngSizes": [
        512,
        1024,
        2048
      ],
      "aspect": 1,
      "files": [
        "/brand/logos/periodwise-mark-reversed.svg",
        "/brand/logos/periodwise-mark-reversed-512.png",
        "/brand/logos/periodwise-mark-reversed-1024.png",
        "/brand/logos/periodwise-mark-reversed-2048.png"
      ]
    },
    {
      "id": "periodwise-wordmark",
      "name": "Wordmark",
      "use": "The lettering alone, when the mark already appears nearby.",
      "backdrop": "white",
      "formats": [
        "svg",
        "png"
      ],
      "pngSizes": [
        512,
        1024,
        2048
      ],
      "aspect": 5.09,
      "files": [
        "/brand/logos/periodwise-wordmark.svg",
        "/brand/logos/periodwise-wordmark-512.png",
        "/brand/logos/periodwise-wordmark-1024.png",
        "/brand/logos/periodwise-wordmark-2048.png"
      ]
    },
    {
      "id": "periodwise-wordmark-reversed",
      "name": "Wordmark, reversed",
      "use": "The lettering in white, for Plum and dark images.",
      "backdrop": "plum",
      "formats": [
        "svg",
        "png"
      ],
      "pngSizes": [
        512,
        1024,
        2048
      ],
      "aspect": 5.09,
      "files": [
        "/brand/logos/periodwise-wordmark-reversed.svg",
        "/brand/logos/periodwise-wordmark-reversed-512.png",
        "/brand/logos/periodwise-wordmark-reversed-1024.png",
        "/brand/logos/periodwise-wordmark-reversed-2048.png"
      ]
    },
    {
      "id": "periodwise-app-icon",
      "name": "App icon",
      "use": "The crescent on a Logo Pink square: the iOS app icon. For app listings and platforms that round the corners for you.",
      "backdrop": "blush",
      "formats": [
        "png"
      ],
      "pngSizes": [
        512,
        1024
      ],
      "aspect": 1,
      "files": [
        "/brand/logos/periodwise-app-icon-512.png",
        "/brand/logos/periodwise-app-icon-1024.png"
      ]
    }
  ],
  "name": {
    "write": [
      "Periodwise",
      "Periodwise Log",
      "Periodwise Plus",
      "periodwise.org",
      "@periodwisehq"
    ],
    "not": [
      "PeriodWise",
      "Period Wise",
      "PERIODWISE",
      "periodwise (in a sentence)",
      "Periodwise Track",
      "a period tracker"
    ],
    "rules": [
      "Write it Periodwise: one word, capital P, in every sentence, heading and button.",
      "The wordmark is lowercase. That is the logo, not the spelling. Never type periodwise in a font and call it the logo: the wordmark is custom lettering.",
      "Lowercase only in URLs and handles: periodwise.org, @periodwisehq.",
      "The check-in app is Periodwise Log. Periodwise is not a period tracker and does not predict cycles, so never call it one."
    ]
  },
  "voice": {
    "summary": "A friend who happens to know the research. Plain, warm and specific, with no shame and no hype.",
    "pairs": [
      {
        "write": "Your pain is real. So are your options.",
        "avoid": "Unlock your ultimate cycle-syncing glow up!"
      },
      {
        "write": "Pain that keeps you home from school or work is worth an appointment.",
        "avoid": "Abnormal periods? You should really get that checked."
      },
      {
        "write": "Reviewed by an OB-GYN. Free. No signup.",
        "avoid": "The revolutionary AI-powered women's health platform."
      }
    ],
    "rules": [
      "Talk to \"you\", as an organization. Not \"I wish I'd known\".",
      "Explain every medical restriction: say why, not only what.",
      "Say how strong the evidence is in plain words, and name the study.",
      "No emojis. Use the line-art icons.",
      "Keep em dashes to a minimum. Use a comma, a colon or a new sentence.",
      "Write over-the-counter (OTC) in full the first time.",
      "Sentence case in headings and buttons."
    ]
  },
  "usage": {
    "do": [
      "Give the logo clear space equal to the height of the mark's crescent on every side.",
      "Use the logo on White or Blush, and the reversed logo on Plum or dark photography.",
      "Use the mark, not the wordmark, for square and round avatars.",
      "Link periodwise.org when you mention Periodwise online."
    ],
    "dont": [
      "Recolor, stretch, rotate, outline or add shadows to the logo.",
      "Retype the wordmark in Fraunces or any other font.",
      "Put the rose wordmark on Plum or on a busy photo. Use the reversed one.",
      "Imply that Periodwise endorses a product or a brand.",
      "Describe Periodwise as medical advice. It is education."
    ]
  },
  "shape": {
    "radii": [
      {
        "name": "Pill",
        "value": "rounded-full",
        "use": "Buttons, badges, the header"
      },
      {
        "name": "Card",
        "value": "rounded-2xl / rounded-3xl",
        "use": "Cards and panels"
      },
      {
        "name": "Band",
        "value": "square",
        "use": "Full-bleed dark bands run edge to edge with square corners"
      }
    ],
    "shadows": [
      {
        "name": "Soft",
        "value": "0 4px 24px rgba(45,0,64,0.07)",
        "use": "The floating header and a raised card. Most cards have a Petal border and no shadow."
      }
    ],
    "rules": [
      "Shadows are tinted with Plum, never neutral gray.",
      "Focus is a change of border color and nothing else: the border keeps its width. No ring-* utilities and no focus outline, on fields, buttons or anything else.",
      "Motion is a fade and a short rise. Nothing scales, bounces or spins.",
      "Light mode only. There are no dark: variants."
    ]
  },
  "clutter": {
    "summary": "Decoration that carries no information comes out. Every pattern below has been removed from the site once already.",
    "rules": [
      "No dot separators: no middot, no bullet character, no tiny round span between two items. Use a comma, a colon, a new sentence, a line break, or a change of weight.",
      "No zero-padded numbers. Write 1, not 01.",
      "Numbers are DM Sans bold. Never Fraunces, never italic.",
      "A number has to mean order or count. Steps in a real sequence keep theirs, and so does \"phase 2 of 4\". Cards, feature lists, reference lists and section heads that are in no order get none: no index in the corner of a card, no chapter numeral above a heading.",
      "No hairline beside a label. An eyebrow is the label alone: no rule to its left, no rule on both sides, no \"Period health\" prefix in front of the page name.",
      "A link has to look like a link: underlined, or carrying an arrow, or shaped like a button. Muted text with only a hover color does not read as clickable.",
      "No share prompt on a reading page: not in a hero, not in a trust row, not at the foot of a blog post or a method page (\"Send this to someone\"). A reading page ends in the tool that fits its reader. Sharing belongs where there is something of the reader's own to send: a result, a Periodwise Log report, the For Him guides.",
      "The trust line is a sentence, and the review claim in it is a link to /medical-review: \"Reviewed by an OB-GYN, with cited sources. Free. No signup.\""
    ]
  },
  "recipes": [
    {
      "key": "buttonPrimary",
      "name": "Primary button",
      "use": "One per view. Plum, white text.",
      "classes": "inline-flex items-center justify-center gap-2 rounded-full bg-brand-plum px-6 py-3 text-sm font-bold text-white transition-colors hover:bg-brand-plum/85"
    },
    {
      "key": "buttonSecondary",
      "name": "Secondary button",
      "use": "White with a Petal border. Sits beside a primary.",
      "classes": "inline-flex items-center justify-center gap-2 rounded-full border border-brand-petal bg-white px-6 py-3 text-sm font-semibold text-brand-plum/75 transition-colors hover:border-brand hover:text-brand-plum"
    },
    {
      "key": "card",
      "name": "Card",
      "use": "White, Petal border, no shadow. Add p-6, or p-6 sm:p-8 for a feature card.",
      "classes": "rounded-3xl border border-brand-petal bg-white"
    },
    {
      "key": "pill",
      "name": "Pill",
      "use": "Tags and small status labels.",
      "classes": "inline-flex items-center rounded-full bg-brand-pale px-2.5 py-0.5 text-[11px] font-bold text-brand-plum"
    },
    {
      "key": "label",
      "name": "Label",
      "use": "Names a card or a column. Never stacked on top of every heading.",
      "classes": "text-[11px] font-bold uppercase tracking-[0.18em] text-brand-plum/65"
    },
    {
      "key": "caution",
      "name": "Caution box",
      "use": "A medical caution. The yellow is the surface; the label, icon and body copy are all Plum.",
      "classes": "rounded-2xl border border-caution/60 bg-caution/20 px-4 py-3.5"
    },
    {
      "key": "field",
      "name": "Field",
      "use": "Inputs, selects and text areas. On focus the border turns Plum at the same width. No ring, no outline.",
      "classes": "w-full rounded-2xl border border-brand-petal bg-white px-4 py-3 text-base text-brand-plum outline-none transition-colors focus:border-brand-plum"
    },
    {
      "key": "focus",
      "name": "Focus",
      "use": "Add to every control that has a border. The border changes color and keeps its width.",
      "classes": "focus-visible:outline-none focus-visible:border-brand-plum"
    },
    {
      "key": "focusFilled",
      "name": "Focus, filled button",
      "use": "A Plum button carries a Plum border that turns Rose on keyboard focus.",
      "classes": "border border-brand-plum focus-visible:outline-none focus-visible:border-brand"
    },
    {
      "key": "focusText",
      "name": "Focus, text link",
      "use": "A link with no border takes a Rose underline on keyboard focus.",
      "classes": "focus-visible:outline-none focus-visible:underline focus-visible:decoration-brand focus-visible:decoration-2 focus-visible:underline-offset-4"
    }
  ],
  "pdf": {
    "summary": "A one-pager, a proposal, a handout: a Periodwise PDF starts from one template, so every document comes out looking like ours.",
    "steps": [
      "Copy the document template and replace its content, using only the blocks it already has.",
      "Print it to PDF from Chrome. The guide has the exact command.",
      "Open the PDF and look at every page. A block cut in two or a heading stranded at the bottom of a page is a bug.",
      "Fix the break (never by shrinking type or margins), print again, look again."
    ],
    "page": [
      {
        "setting": "Paper",
        "value": "US Letter, portrait. A4 for readers outside North America."
      },
      {
        "setting": "Margins",
        "value": "0.6in top, 0.7in sides and bottom"
      },
      {
        "setting": "Background",
        "value": "White, like the site."
      },
      {
        "setting": "Logo",
        "value": "The primary logo, once, top left of page one. 22px tall."
      },
      {
        "setting": "Footer",
        "value": "periodwise.org on the left, page / total on the right, 7.5px"
      }
    ]
  },
  "files": {
    "zip": "/brand/periodwise-brand-kit.zip",
    "brandMd": "/brand.md",
    "brandJson": "/brand.json",
    "pdfMd": "/brand/PDF.md",
    "tokensCss": "/brand/tokens/periodwise-tokens.css",
    "tailwindTheme": "/brand/tokens/tailwind-theme.css",
    "template": "/brand/templates/document.html",
    "templatePdf": "/brand/templates/document.pdf",
    "templatePreview": "/brand/templates/document-preview.png"
  }
}
